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

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

Issue 10827145: Convert Aura to use ui::Event. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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 | « 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/shelf_layout_manager.h" 9 #include "ash/wm/shelf_layout_manager.h"
10 #include "ash/wm/shelf_types.h" 10 #include "ash/wm/shelf_types.h"
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 65
66 // Stops the timer for the delayed showing |view_|. 66 // Stops the timer for the delayed showing |view_|.
67 void StopTimer(); 67 void StopTimer();
68 68
69 // Returns true if the tooltip is currently visible. 69 // Returns true if the tooltip is currently visible.
70 bool IsVisible(); 70 bool IsVisible();
71 71
72 protected: 72 protected:
73 // aura::EventFilter overrides: 73 // aura::EventFilter overrides:
74 virtual bool PreHandleKeyEvent(aura::Window* target, 74 virtual bool PreHandleKeyEvent(aura::Window* target,
75 aura::KeyEvent* event) OVERRIDE; 75 ui::KeyEvent* event) OVERRIDE;
76 virtual bool PreHandleMouseEvent(aura::Window* target, 76 virtual bool PreHandleMouseEvent(aura::Window* target,
77 aura::MouseEvent* event) OVERRIDE; 77 ui::MouseEvent* event) OVERRIDE;
78 virtual ui::TouchStatus PreHandleTouchEvent(aura::Window* target, 78 virtual ui::TouchStatus PreHandleTouchEvent(
79 aura::TouchEvent* event) OVERRIDE; 79 aura::Window* target,
80 ui::TouchEventImpl* event) OVERRIDE;
80 virtual ui::GestureStatus PreHandleGestureEvent( 81 virtual ui::GestureStatus PreHandleGestureEvent(
81 aura::Window* target, 82 aura::Window* target,
82 aura::GestureEvent* event) OVERRIDE; 83 ui::GestureEventImpl* event) OVERRIDE;
83 84
84 // ShelfLayoutManager::Observer overrides: 85 // ShelfLayoutManager::Observer overrides:
85 virtual void WillDeleteShelf() OVERRIDE; 86 virtual void WillDeleteShelf() OVERRIDE;
86 virtual void WillChangeVisibilityState( 87 virtual void WillChangeVisibilityState(
87 ShelfLayoutManager::VisibilityState new_state) OVERRIDE; 88 ShelfLayoutManager::VisibilityState new_state) OVERRIDE;
88 virtual void OnAutoHideStateChanged( 89 virtual void OnAutoHideStateChanged(
89 ShelfLayoutManager::AutoHideState new_state) OVERRIDE; 90 ShelfLayoutManager::AutoHideState new_state) OVERRIDE;
90 91
91 private: 92 private:
92 class LauncherTooltipBubble; 93 class LauncherTooltipBubble;
(...skipping 15 matching lines...) Expand all
108 ShelfLayoutManager* shelf_layout_manager_; 109 ShelfLayoutManager* shelf_layout_manager_;
109 LauncherView* launcher_view_; 110 LauncherView* launcher_view_;
110 111
111 DISALLOW_COPY_AND_ASSIGN(LauncherTooltipManager); 112 DISALLOW_COPY_AND_ASSIGN(LauncherTooltipManager);
112 }; 113 };
113 114
114 } // namespace internal 115 } // namespace internal
115 } // namespace ash 116 } // namespace ash
116 117
117 #endif // ASH_LAUNCHER_LAUNCHER_TOOLTIP_MANAGER_H_ 118 #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