diff --git a/chromium_src/BUILD.gn b/chromium_src/BUILD.gn index 9554497aec..3511ff6098 100644 --- a/chromium_src/BUILD.gn +++ b/chromium_src/BUILD.gn @@ -769,6 +769,8 @@ source_set("tab_manager") { include_dirs = [ "." ] # force this to appear before the chromium src dir sources = [ + "//chrome/browser/defaults.cc", + "//chrome/browser/defaults.h", "//chrome/browser/engagement/site_engagement_metrics.cc", "//chrome/browser/engagement/site_engagement_metrics.h", "//chrome/browser/engagement/site_engagement_score.cc", @@ -790,6 +792,8 @@ source_set("tab_manager") { "//chrome/browser/memory_details_win.cc", "//chrome/browser/ui/browser_tab_strip_tracker.cc", "//chrome/browser/ui/browser_tab_strip_tracker.h", + "chrome/browser/ui/tab_contents/core_tab_helper.cc", + "//chrome/browser/ui/tab_contents/core_tab_helper.h", "//chrome/browser/ui/tabs/tab_strip_model.cc", "//chrome/browser/ui/tabs/tab_strip_model.h", "//chrome/browser/ui/tabs/tab_strip_model_delegate.h", @@ -797,6 +801,8 @@ source_set("tab_manager") { "//chrome/browser/ui/tabs/tab_strip_model_observer.h", "//chrome/browser/ui/tabs/tab_strip_model_order_controller.cc", "//chrome/browser/ui/tabs/tab_strip_model_order_controller.h", + "chrome/browser/ui/tabs/tab_utils.cc", + "//chrome/browser/ui/tabs/tab_utils.h", "//chrome/browser/ui/tab_contents/tab_contents_iterator.cc", "//chrome/browser/ui/tab_contents/tab_contents_iterator.h", ] diff --git a/chromium_src/chrome/browser/ui/tab_contents/core_tab_helper.cc b/chromium_src/chrome/browser/ui/tab_contents/core_tab_helper.cc new file mode 100644 index 0000000000..8b962869e4 --- /dev/null +++ b/chromium_src/chrome/browser/ui/tab_contents/core_tab_helper.cc @@ -0,0 +1,11 @@ +// Copyright (c) 2012 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#include "chrome/browser/ui/tab_contents/core_tab_helper.h" + +DEFINE_WEB_CONTENTS_USER_DATA_KEY(CoreTabHelper); + +void CoreTabHelper::OnCloseStarted() { + NOTREACHED(); +} diff --git a/chromium_src/chrome/browser/ui/tabs/tab_utils.cc b/chromium_src/chrome/browser/ui/tabs/tab_utils.cc new file mode 100644 index 0000000000..25319c6564 --- /dev/null +++ b/chromium_src/chrome/browser/ui/tabs/tab_utils.cc @@ -0,0 +1,28 @@ +// Copyright (c) 2012 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +#include "chrome/browser/ui/tabs/tab_utils.h" + +namespace chrome { + +bool CanToggleAudioMute(content::WebContents* contents) { + NOTREACHED(); + return false; +} + +TabMutedResult SetTabAudioMuted(content::WebContents* contents, + bool mute, + TabMutedReason reason, + const std::string& extension_id) { + NOTREACHED(); + return TabMutedResult::FAIL_NOT_ENABLED; +} + +bool AreAllTabsMuted(const TabStripModel& tab_strip, + const std::vector& indices) { + NOTREACHED(); + return false; +} + +} // namespace chrome