Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(133)

Side by Side Diff: chrome/browser/ui/views/tabs/fake_base_tab_strip_controller.cc

Issue 16979002: Add ContextMenuSourceType to views::ContextMenuController::ShowContextMenuForView. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: patch Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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::ShowContextMenuForTab(Tab* tab, 82 void FakeBaseTabStripController::ShowContextMenuForTab(
83 const gfx::Point& p) { 83 Tab* tab,
84 const gfx::Point& p,
85 ui::MenuSourceType source_type) {
84 } 86 }
85 87
86 void FakeBaseTabStripController::UpdateLoadingAnimations() { 88 void FakeBaseTabStripController::UpdateLoadingAnimations() {
87 } 89 }
88 90
89 int FakeBaseTabStripController::HasAvailableDragActions() const { 91 int FakeBaseTabStripController::HasAvailableDragActions() const {
90 return 0; 92 return 0;
91 } 93 }
92 94
93 void FakeBaseTabStripController::OnDropIndexUpdate(int index, 95 void FakeBaseTabStripController::OnDropIndexUpdate(int index,
(...skipping 17 matching lines...) Expand all
111 } 113 }
112 114
113 void FakeBaseTabStripController::LayoutTypeMaybeChanged() { 115 void FakeBaseTabStripController::LayoutTypeMaybeChanged() {
114 } 116 }
115 117
116 void FakeBaseTabStripController::OnStartedDraggingTabs() { 118 void FakeBaseTabStripController::OnStartedDraggingTabs() {
117 } 119 }
118 120
119 void FakeBaseTabStripController::OnStoppedDraggingTabs() { 121 void FakeBaseTabStripController::OnStoppedDraggingTabs() {
120 } 122 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/tabs/fake_base_tab_strip_controller.h ('k') | chrome/browser/ui/views/tabs/tab.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698