Skip to content
This repository has been archived by the owner on Jan 4, 2019. It is now read-only.

Commit

Permalink
Fix unresolved linking errors on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
bbondy committed Aug 23, 2017
1 parent f526b9d commit 6ff739a
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 0 deletions.
6 changes: 6 additions & 0 deletions chromium_src/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -790,13 +792,17 @@ 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",
"//chrome/browser/ui/tabs/tab_strip_model_observer.cc",
"//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",
]
Expand Down
11 changes: 11 additions & 0 deletions chromium_src/chrome/browser/ui/tab_contents/core_tab_helper.cc
Original file line number Diff line number Diff line change
@@ -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();
}
28 changes: 28 additions & 0 deletions chromium_src/chrome/browser/ui/tabs/tab_utils.cc
Original file line number Diff line number Diff line change
@@ -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<int>& indices) {
NOTREACHED();
return false;
}

} // namespace chrome

0 comments on commit 6ff739a

Please sign in to comment.