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

Side by Side Diff: ash/launcher/launcher_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/app_list/app_list_item_view.cc ('k') | ash/launcher/launcher_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 ASH_LAUNCHER_LAUNCHER_VIEW_H_ 5 #ifndef ASH_LAUNCHER_LAUNCHER_VIEW_H_
6 #define ASH_LAUNCHER_LAUNCHER_VIEW_H_ 6 #define ASH_LAUNCHER_LAUNCHER_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include <vector> 9 #include <vector>
10 10
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 bool canceled) OVERRIDE; 113 bool canceled) OVERRIDE;
114 virtual void MouseExitedButton(views::View* view) OVERRIDE; 114 virtual void MouseExitedButton(views::View* view) OVERRIDE;
115 virtual string16 GetAccessibleName(views::View* view) OVERRIDE; 115 virtual string16 GetAccessibleName(views::View* view) OVERRIDE;
116 116
117 // Overriden from views::ButtonListener: 117 // Overriden from views::ButtonListener:
118 virtual void ButtonPressed(views::Button* sender, 118 virtual void ButtonPressed(views::Button* sender,
119 const views::Event& event) OVERRIDE; 119 const views::Event& event) OVERRIDE;
120 120
121 // Overriden from views::ContextMenuController: 121 // Overriden from views::ContextMenuController:
122 virtual void ShowContextMenuForView(views::View* source, 122 virtual void ShowContextMenuForView(views::View* source,
123 const gfx::Point& p, 123 const gfx::Point& point) OVERRIDE;
124 bool is_mouse_gesture) OVERRIDE;
125 124
126 // The model; owned by Launcher. 125 // The model; owned by Launcher.
127 LauncherModel* model_; 126 LauncherModel* model_;
128 127
129 // Delegate; owned by Launcher. 128 // Delegate; owned by Launcher.
130 LauncherDelegate* delegate_; 129 LauncherDelegate* delegate_;
131 130
132 // Used to manage the set of active launcher buttons. There is a view per 131 // Used to manage the set of active launcher buttons. There is a view per
133 // item in |model_|. 132 // item in |model_|.
134 scoped_ptr<ViewModel> view_model_; 133 scoped_ptr<ViewModel> view_model_;
(...skipping 28 matching lines...) Expand all
163 // Used to handle cycling among windows. 162 // Used to handle cycling among windows.
164 scoped_ptr<LauncherWindowCycler> cycler_; 163 scoped_ptr<LauncherWindowCycler> cycler_;
165 164
166 DISALLOW_COPY_AND_ASSIGN(LauncherView); 165 DISALLOW_COPY_AND_ASSIGN(LauncherView);
167 }; 166 };
168 167
169 } // namespace internal 168 } // namespace internal
170 } // namespace ash 169 } // namespace ash
171 170
172 #endif // ASH_LAUNCHER_LAUNCHER_VIEW_H_ 171 #endif // ASH_LAUNCHER_LAUNCHER_VIEW_H_
OLDNEW
« no previous file with comments | « ash/app_list/app_list_item_view.cc ('k') | ash/launcher/launcher_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698