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

Side by Side Diff: chrome/browser/ui/views/bookmarks/bookmark_bar_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: 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
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_UI_VIEWS_BOOKMARKS_BOOKMARK_BAR_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BAR_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BAR_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BAR_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
226 226
227 // MenuButtonDelegate: 227 // MenuButtonDelegate:
228 virtual void RunMenu(views::View* view, const gfx::Point& pt) OVERRIDE; 228 virtual void RunMenu(views::View* view, const gfx::Point& pt) OVERRIDE;
229 229
230 // ButtonListener: 230 // ButtonListener:
231 virtual void ButtonPressed(views::Button* sender, 231 virtual void ButtonPressed(views::Button* sender,
232 const views::Event& event) OVERRIDE; 232 const views::Event& event) OVERRIDE;
233 233
234 // ContextMenuController 234 // ContextMenuController
235 virtual void ShowContextMenuForView(views::View* source, 235 virtual void ShowContextMenuForView(views::View* source,
236 const gfx::Point& p, 236 const gfx::Point& point,
237 bool is_mouse_gesture) OVERRIDE; 237 views::GestureType gesture_type) OVERRIDE;
238 238
239 // NotificationService: 239 // NotificationService:
240 virtual void Observe(int type, 240 virtual void Observe(int type,
241 const content::NotificationSource& source, 241 const content::NotificationSource& source,
242 const content::NotificationDetails& details) OVERRIDE; 242 const content::NotificationDetails& details) OVERRIDE;
243 243
244 // If true we're running tests. This short circuits a couple of animations. 244 // If true we're running tests. This short circuits a couple of animations.
245 static bool testing_; 245 static bool testing_;
246 246
247 private: 247 private:
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
409 409
410 BookmarkBar::State bookmark_bar_state_; 410 BookmarkBar::State bookmark_bar_state_;
411 411
412 // Are we animating to or from the detached state? 412 // Are we animating to or from the detached state?
413 bool animating_detached_; 413 bool animating_detached_;
414 414
415 DISALLOW_COPY_AND_ASSIGN(BookmarkBarView); 415 DISALLOW_COPY_AND_ASSIGN(BookmarkBarView);
416 }; 416 };
417 417
418 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BAR_VIEW_H_ 418 #endif // CHROME_BROWSER_UI_VIEWS_BOOKMARKS_BOOKMARK_BAR_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698