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

Side by Side Diff: ash/app_list/app_list_item_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 | « no previous file | ash/app_list/app_list_item_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_APP_LIST_APP_LIST_ITEM_VIEW_H_ 5 #ifndef ASH_APP_LIST_APP_LIST_ITEM_VIEW_H_
6 #define ASH_APP_LIST_APP_LIST_ITEM_VIEW_H_ 6 #define ASH_APP_LIST_APP_LIST_ITEM_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include "ash/app_list/app_list_item_model_observer.h" 9 #include "ash/app_list/app_list_item_model_observer.h"
10 #include "ash/ash_export.h" 10 #include "ash/ash_export.h"
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 53
54 // views::View overrides: 54 // views::View overrides:
55 virtual std::string GetClassName() const OVERRIDE; 55 virtual std::string GetClassName() const OVERRIDE;
56 virtual gfx::Size GetPreferredSize() OVERRIDE; 56 virtual gfx::Size GetPreferredSize() OVERRIDE;
57 virtual void Layout() OVERRIDE; 57 virtual void Layout() OVERRIDE;
58 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; 58 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE;
59 59
60 private: 60 private:
61 // views::ContextMenuController overrides: 61 // views::ContextMenuController overrides:
62 virtual void ShowContextMenuForView(views::View* source, 62 virtual void ShowContextMenuForView(views::View* source,
63 const gfx::Point& p, 63 const gfx::Point& point) OVERRIDE;
64 bool is_mouse_gesture) OVERRIDE;
65 64
66 AppListItemModel* model_; 65 AppListItemModel* model_;
67 66
68 views::ImageView* icon_; 67 views::ImageView* icon_;
69 views::Label* title_; 68 views::Label* title_;
70 69
71 scoped_ptr<views::MenuRunner> context_menu_runner_; 70 scoped_ptr<views::MenuRunner> context_menu_runner_;
72 71
73 gfx::Size icon_size_; 72 gfx::Size icon_size_;
74 73
75 DISALLOW_COPY_AND_ASSIGN(AppListItemView); 74 DISALLOW_COPY_AND_ASSIGN(AppListItemView);
76 }; 75 };
77 76
78 } // namespace ash 77 } // namespace ash
79 78
80 #endif // ASH_APP_LIST_APP_LIST_ITEM_VIEW_H_ 79 #endif // ASH_APP_LIST_APP_LIST_ITEM_VIEW_H_
OLDNEW
« no previous file with comments | « no previous file | ash/app_list/app_list_item_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698