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

Side by Side Diff: ash/system/tray/tray_views.h

Issue 11280290: events: Change gesture-event handler in EventHandler to not return any values. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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/system/tray/tray_notification_view.cc ('k') | ash/system/tray/tray_views.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_SYSTEM_TRAY_TRAY_VIEWS_H_ 5 #ifndef ASH_SYSTEM_TRAY_TRAY_VIEWS_H_
6 #define ASH_SYSTEM_TRAY_TRAY_VIEWS_H_ 6 #define ASH_SYSTEM_TRAY_TRAY_VIEWS_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "ash/wm/shelf_types.h" 9 #include "ash/wm/shelf_types.h"
10 #include "ui/gfx/font.h" 10 #include "ui/gfx/font.h"
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 75
76 // Overridden from views::View. 76 // Overridden from views::View.
77 virtual bool OnKeyPressed(const ui::KeyEvent& event) OVERRIDE; 77 virtual bool OnKeyPressed(const ui::KeyEvent& event) OVERRIDE;
78 virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE; 78 virtual bool OnMousePressed(const ui::MouseEvent& event) OVERRIDE;
79 virtual void OnMouseReleased(const ui::MouseEvent& event) OVERRIDE; 79 virtual void OnMouseReleased(const ui::MouseEvent& event) OVERRIDE;
80 virtual void OnMouseCaptureLost() OVERRIDE; 80 virtual void OnMouseCaptureLost() OVERRIDE;
81 virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE; 81 virtual void GetAccessibleState(ui::AccessibleViewState* state) OVERRIDE;
82 virtual void OnPaintFocusBorder(gfx::Canvas* canvas) OVERRIDE; 82 virtual void OnPaintFocusBorder(gfx::Canvas* canvas) OVERRIDE;
83 83
84 // Overridden from ui::EventHandler. 84 // Overridden from ui::EventHandler.
85 virtual ui::EventResult OnGestureEvent(ui::GestureEvent* event) OVERRIDE; 85 virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE;
86 86
87 private: 87 private:
88 string16 accessible_name_; 88 string16 accessible_name_;
89 bool has_capture_; 89 bool has_capture_;
90 90
91 DISALLOW_COPY_AND_ASSIGN(ActionableView); 91 DISALLOW_COPY_AND_ASSIGN(ActionableView);
92 }; 92 };
93 93
94 class ViewClickListener { 94 class ViewClickListener {
95 public: 95 public:
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
296 void SetTrayImageItemBorder(views::View* tray_view, ShelfAlignment alignment); 296 void SetTrayImageItemBorder(views::View* tray_view, ShelfAlignment alignment);
297 // Sets the empty border around a label tray item for adjusting the space 297 // Sets the empty border around a label tray item for adjusting the space
298 // around it. 298 // around it.
299 void SetTrayLabelItemBorder(TrayItemView* tray_view, 299 void SetTrayLabelItemBorder(TrayItemView* tray_view,
300 ShelfAlignment alignment); 300 ShelfAlignment alignment);
301 301
302 } // namespace internal 302 } // namespace internal
303 } // namespace ash 303 } // namespace ash
304 304
305 #endif // ASH_SYSTEM_TRAY_TRAY_VIEWS_H_ 305 #endif // ASH_SYSTEM_TRAY_TRAY_VIEWS_H_
OLDNEW
« no previous file with comments | « ash/system/tray/tray_notification_view.cc ('k') | ash/system/tray/tray_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698