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

Side by Side Diff: chrome/browser/chromeos/frame/browser_view.h

Issue 9665008: views: Nuke is_mouse_gesture parameter from ContextMenuController::ShowContextMenuForView(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nuke is_mouse_gesture parameter Created 8 years, 9 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
« no previous file with comments | « ash/shell/window_type_launcher.cc ('k') | chrome/browser/chromeos/frame/browser_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef CHROME_BROWSER_CHROMEOS_FRAME_BROWSER_VIEW_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_FRAME_BROWSER_VIEW_H_
6 #define CHROME_BROWSER_CHROMEOS_FRAME_BROWSER_VIEW_H_ 6 #define CHROME_BROWSER_CHROMEOS_FRAME_BROWSER_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include <vector> 9 #include <vector>
10 10
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 gfx::Rect* bounds, 72 gfx::Rect* bounds,
73 ui::WindowShowState* show_state) const OVERRIDE; 73 ui::WindowShowState* show_state) const OVERRIDE;
74 virtual void Cut() OVERRIDE; 74 virtual void Cut() OVERRIDE;
75 virtual void Copy() OVERRIDE; 75 virtual void Copy() OVERRIDE;
76 virtual void Paste() OVERRIDE; 76 virtual void Paste() OVERRIDE;
77 virtual WindowOpenDisposition GetDispositionForPopupBounds( 77 virtual WindowOpenDisposition GetDispositionForPopupBounds(
78 const gfx::Rect& bounds) OVERRIDE; 78 const gfx::Rect& bounds) OVERRIDE;
79 79
80 // views::ContextMenuController implementation. 80 // views::ContextMenuController implementation.
81 virtual void ShowContextMenuForView(views::View* source, 81 virtual void ShowContextMenuForView(views::View* source,
82 const gfx::Point& p, 82 const gfx::Point& point) OVERRIDE;
83 bool is_mouse_gesture) OVERRIDE;
84 83
85 // views::MenuListener implementation. 84 // views::MenuListener implementation.
86 virtual void OnMenuOpened() OVERRIDE; 85 virtual void OnMenuOpened() OVERRIDE;
87 86
88 // BrowserList::Observer implementation. 87 // BrowserList::Observer implementation.
89 virtual void OnBrowserAdded(const Browser* browser) OVERRIDE; 88 virtual void OnBrowserAdded(const Browser* browser) OVERRIDE;
90 virtual void OnBrowserRemoved(const Browser* browser) OVERRIDE; 89 virtual void OnBrowserRemoved(const Browser* browser) OVERRIDE;
91 90
92 // StatusAreaButton::Delegate overrides. 91 // StatusAreaButton::Delegate overrides.
93 virtual bool ShouldExecuteStatusAreaCommand( 92 virtual bool ShouldExecuteStatusAreaCommand(
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
154 // Should the layout mode button be shown? We only show it if there are 153 // Should the layout mode button be shown? We only show it if there are
155 // multiple browsers open. 154 // multiple browsers open.
156 bool should_show_layout_mode_button_; 155 bool should_show_layout_mode_button_;
157 156
158 DISALLOW_COPY_AND_ASSIGN(BrowserView); 157 DISALLOW_COPY_AND_ASSIGN(BrowserView);
159 }; 158 };
160 159
161 } // namespace chromeos 160 } // namespace chromeos
162 161
163 #endif // CHROME_BROWSER_CHROMEOS_FRAME_BROWSER_VIEW_H_ 162 #endif // CHROME_BROWSER_CHROMEOS_FRAME_BROWSER_VIEW_H_
OLDNEW
« no previous file with comments | « ash/shell/window_type_launcher.cc ('k') | chrome/browser/chromeos/frame/browser_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698