OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/browser/ui/views/tabs/fake_base_tab_strip_controller.h" | 5 #include "chrome/browser/ui/views/tabs/fake_base_tab_strip_controller.h" |
6 | 6 |
7 #include "chrome/browser/ui/views/tabs/tab_renderer_data.h" | 7 #include "chrome/browser/ui/views/tabs/tab_renderer_data.h" |
8 #include "chrome/browser/ui/views/tabs/tab_strip.h" | 8 #include "chrome/browser/ui/views/tabs/tab_strip.h" |
9 | 9 |
10 FakeBaseTabStripController::FakeBaseTabStripController() | 10 FakeBaseTabStripController::FakeBaseTabStripController() |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 | 72 |
73 void FakeBaseTabStripController::ToggleSelected(int index) { | 73 void FakeBaseTabStripController::ToggleSelected(int index) { |
74 } | 74 } |
75 | 75 |
76 void FakeBaseTabStripController::AddSelectionFromAnchorTo(int index) { | 76 void FakeBaseTabStripController::AddSelectionFromAnchorTo(int index) { |
77 } | 77 } |
78 | 78 |
79 void FakeBaseTabStripController::CloseTab(int index, CloseTabSource source) { | 79 void FakeBaseTabStripController::CloseTab(int index, CloseTabSource source) { |
80 } | 80 } |
81 | 81 |
| 82 void FakeBaseTabStripController::ToggleTabAudioMute(int index) { |
| 83 } |
| 84 |
82 void FakeBaseTabStripController::ShowContextMenuForTab( | 85 void FakeBaseTabStripController::ShowContextMenuForTab( |
83 Tab* tab, | 86 Tab* tab, |
84 const gfx::Point& p, | 87 const gfx::Point& p, |
85 ui::MenuSourceType source_type) { | 88 ui::MenuSourceType source_type) { |
86 } | 89 } |
87 | 90 |
88 void FakeBaseTabStripController::UpdateLoadingAnimations() { | 91 void FakeBaseTabStripController::UpdateLoadingAnimations() { |
89 } | 92 } |
90 | 93 |
91 int FakeBaseTabStripController::HasAvailableDragActions() const { | 94 int FakeBaseTabStripController::HasAvailableDragActions() const { |
(...skipping 29 matching lines...) Expand all Loading... |
121 | 124 |
122 void FakeBaseTabStripController::OnStartedDraggingTabs() { | 125 void FakeBaseTabStripController::OnStartedDraggingTabs() { |
123 } | 126 } |
124 | 127 |
125 void FakeBaseTabStripController::OnStoppedDraggingTabs() { | 128 void FakeBaseTabStripController::OnStoppedDraggingTabs() { |
126 } | 129 } |
127 | 130 |
128 void FakeBaseTabStripController::CheckFileSupported(const GURL& url) { | 131 void FakeBaseTabStripController::CheckFileSupported(const GURL& url) { |
129 tab_strip_->FileSupported(url, true); | 132 tab_strip_->FileSupported(url, true); |
130 } | 133 } |
OLD | NEW |