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

Side by Side Diff: ash/launcher/alternate_app_list_button.h

Issue 22291003: ash:Shelf Update Alternate Layout (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nl Created 7 years, 4 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/launcher/alternate_app_list_button.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_ALTERNATE_APP_LIST_BUTTON_H_ 5 #ifndef ASH_LAUNCHER_ALTERNATE_APP_LIST_BUTTON_H_
6 #define ASH_LAUNCHER_ALTERNATE_APP_LIST_BUTTON_H_ 6 #define ASH_LAUNCHER_ALTERNATE_APP_LIST_BUTTON_H_
7 7
8 #include "ui/views/controls/button/image_button.h" 8 #include "ui/views/controls/button/image_button.h"
9 9
10 namespace ash { 10 namespace ash {
(...skipping 25 matching lines...) Expand all
36 virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; 36 virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE;
37 virtual void OnMouseReleased(const ui::MouseEvent& event) OVERRIDE; 37 virtual void OnMouseReleased(const ui::MouseEvent& event) OVERRIDE;
38 virtual void OnMouseCaptureLost() OVERRIDE; 38 virtual void OnMouseCaptureLost() OVERRIDE;
39 virtual bool OnMouseDragged(const ui::MouseEvent& event) OVERRIDE; 39 virtual bool OnMouseDragged(const ui::MouseEvent& event) OVERRIDE;
40 virtual void OnMouseMoved(const ui::MouseEvent& event) OVERRIDE; 40 virtual void OnMouseMoved(const ui::MouseEvent& event) OVERRIDE;
41 virtual void OnMouseEntered(const ui::MouseEvent& event) OVERRIDE; 41 virtual void OnMouseEntered(const ui::MouseEvent& event) OVERRIDE;
42 virtual void OnMouseExited(const ui::MouseEvent& event) OVERRIDE; 42 virtual void OnMouseExited(const ui::MouseEvent& event) OVERRIDE;
43 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE; 43 virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE;
44 virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE; 44 virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE;
45 45
46 // ui::EventHandler overrides:
47 virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE;
48
49 private: 46 private:
50 LauncherButtonHost* host_; 47 LauncherButtonHost* host_;
51 // Reference to the shelf widget containing this button, owned by the 48 // Reference to the shelf widget containing this button, owned by the
52 // root window controller. 49 // root window controller.
53 ShelfWidget* shelf_widget_; 50 ShelfWidget* shelf_widget_;
54 51
55 DISALLOW_COPY_AND_ASSIGN(AlternateAppListButton); 52 DISALLOW_COPY_AND_ASSIGN(AlternateAppListButton);
56 }; 53 };
57 54
58 } // namespace internal 55 } // namespace internal
59 } // namespace ash 56 } // namespace ash
60 57
61 #endif // ASH_LAUNCHER_ALTERNATE_APP_LIST_BUTTON_H_ 58 #endif // ASH_LAUNCHER_ALTERNATE_APP_LIST_BUTTON_H_
OLDNEW
« no previous file with comments | « no previous file | ash/launcher/alternate_app_list_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698