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

Side by Side Diff: ash/wm/app_list_controller.h

Issue 11592011: events: Update mouse-event handlers to not return EventResult. (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/wm/activation_controller.cc ('k') | ash/wm/app_list_controller.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_WM_APP_LIST_CONTROLLER_H_ 5 #ifndef ASH_WM_APP_LIST_CONTROLLER_H_
6 #define ASH_WM_APP_LIST_CONTROLLER_H_ 6 #define ASH_WM_APP_LIST_CONTROLLER_H_
7 7
8 #include "ash/launcher/launcher_icon_observer.h" 8 #include "ash/launcher/launcher_icon_observer.h"
9 #include "ash/shell_observer.h" 9 #include "ash/shell_observer.h"
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 70
71 // Starts show/hide animation. 71 // Starts show/hide animation.
72 void ScheduleAnimation(); 72 void ScheduleAnimation();
73 73
74 void ProcessLocatedEvent(ui::LocatedEvent* event); 74 void ProcessLocatedEvent(ui::LocatedEvent* event);
75 75
76 // Makes app list bubble update its bounds. 76 // Makes app list bubble update its bounds.
77 void UpdateBounds(); 77 void UpdateBounds();
78 78
79 // ui::EventHandler overrides: 79 // ui::EventHandler overrides:
80 virtual ui::EventResult OnMouseEvent(ui::MouseEvent* event) OVERRIDE; 80 virtual void OnMouseEvent(ui::MouseEvent* event) OVERRIDE;
81 virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE; 81 virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE;
82 82
83 // aura::client::FocusChangeObserver overrides: 83 // aura::client::FocusChangeObserver overrides:
84 virtual void OnWindowFocused(aura::Window* gained_focus, 84 virtual void OnWindowFocused(aura::Window* gained_focus,
85 aura::Window* lost_focus) OVERRIDE; 85 aura::Window* lost_focus) OVERRIDE;
86 86
87 // aura::RootWindowObserver overrides: 87 // aura::RootWindowObserver overrides:
88 virtual void OnRootWindowResized(const aura::RootWindow* root, 88 virtual void OnRootWindowResized(const aura::RootWindow* root,
89 const gfx::Size& old_size) OVERRIDE; 89 const gfx::Size& old_size) OVERRIDE;
90 90
(...skipping 28 matching lines...) Expand all
119 // Whether should schedule snap back animation. 119 // Whether should schedule snap back animation.
120 bool should_snap_back_; 120 bool should_snap_back_;
121 121
122 DISALLOW_COPY_AND_ASSIGN(AppListController); 122 DISALLOW_COPY_AND_ASSIGN(AppListController);
123 }; 123 };
124 124
125 } // namespace internal 125 } // namespace internal
126 } // namespace ash 126 } // namespace ash
127 127
128 #endif // ASH_WM_APP_LIST_CONTROLLER_H_ 128 #endif // ASH_WM_APP_LIST_CONTROLLER_H_
OLDNEW
« no previous file with comments | « ash/wm/activation_controller.cc ('k') | ash/wm/app_list_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698