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

Side by Side Diff: ash/launcher/launcher_tooltip_manager.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/launcher/launcher_button.cc ('k') | ash/launcher/launcher_tooltip_manager.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_LAUNCHER_LAUNCHER_TOOLTIP_MANAGER_H_ 5 #ifndef ASH_LAUNCHER_LAUNCHER_TOOLTIP_MANAGER_H_
6 #define ASH_LAUNCHER_LAUNCHER_TOOLTIP_MANAGER_H_ 6 #define ASH_LAUNCHER_LAUNCHER_TOOLTIP_MANAGER_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "ash/wm/session_state_observer.h" 9 #include "ash/wm/session_state_observer.h"
10 #include "ash/wm/shelf_layout_manager.h" 10 #include "ash/wm/shelf_layout_manager.h"
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 // Stops the timer for the delayed showing |view_|. 68 // Stops the timer for the delayed showing |view_|.
69 void StopTimer(); 69 void StopTimer();
70 70
71 // Returns true if the tooltip is currently visible. 71 // Returns true if the tooltip is currently visible.
72 bool IsVisible(); 72 bool IsVisible();
73 73
74 protected: 74 protected:
75 // ui::EventHandler overrides: 75 // ui::EventHandler overrides:
76 virtual ui::EventResult OnMouseEvent(ui::MouseEvent* event) OVERRIDE; 76 virtual ui::EventResult OnMouseEvent(ui::MouseEvent* event) OVERRIDE;
77 virtual ui::EventResult OnTouchEvent(ui::TouchEvent* event) OVERRIDE; 77 virtual ui::EventResult OnTouchEvent(ui::TouchEvent* event) OVERRIDE;
78 virtual ui::EventResult OnGestureEvent(ui::GestureEvent* event) OVERRIDE; 78 virtual void OnGestureEvent(ui::GestureEvent* event) OVERRIDE;
79 79
80 // SessionStateObserver override: 80 // SessionStateObserver override:
81 virtual void OnSessionStateEvent(SessionStateObserver::EventType event) 81 virtual void OnSessionStateEvent(SessionStateObserver::EventType event)
82 OVERRIDE; 82 OVERRIDE;
83 83
84 // ShelfLayoutManager::Observer overrides: 84 // ShelfLayoutManager::Observer overrides:
85 virtual void WillDeleteShelf() OVERRIDE; 85 virtual void WillDeleteShelf() OVERRIDE;
86 virtual void WillChangeVisibilityState( 86 virtual void WillChangeVisibilityState(
87 ShelfLayoutManager::VisibilityState new_state) OVERRIDE; 87 ShelfLayoutManager::VisibilityState new_state) OVERRIDE;
88 virtual void OnAutoHideStateChanged( 88 virtual void OnAutoHideStateChanged(
(...skipping 19 matching lines...) Expand all
108 ShelfLayoutManager* shelf_layout_manager_; 108 ShelfLayoutManager* shelf_layout_manager_;
109 LauncherView* launcher_view_; 109 LauncherView* launcher_view_;
110 110
111 DISALLOW_COPY_AND_ASSIGN(LauncherTooltipManager); 111 DISALLOW_COPY_AND_ASSIGN(LauncherTooltipManager);
112 }; 112 };
113 113
114 } // namespace internal 114 } // namespace internal
115 } // namespace ash 115 } // namespace ash
116 116
117 #endif // ASH_LAUNCHER_LAUNCHER_TOOLTIP_MANAGER_H_ 117 #endif // ASH_LAUNCHER_LAUNCHER_TOOLTIP_MANAGER_H_
OLDNEW
« no previous file with comments | « ash/launcher/launcher_button.cc ('k') | ash/launcher/launcher_tooltip_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698