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

Side by Side Diff: ash/tooltips/tooltip_controller.h

Issue 9221014: aura: Gesture event plumbing (skeleton). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: copyright Created 8 years, 11 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/ime/input_method_event_filter.cc ('k') | ash/tooltips/tooltip_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_TOOLTIPS_TOOLTIP_CONTROLLER_H_ 5 #ifndef ASH_TOOLTIPS_TOOLTIP_CONTROLLER_H_
6 #define ASH_TOOLTIPS_TOOLTIP_CONTROLLER_H_ 6 #define ASH_TOOLTIPS_TOOLTIP_CONTROLLER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/string16.h" 10 #include "base/string16.h"
(...skipping 30 matching lines...) Expand all
41 // Overridden from aura::client::TooltipClient. 41 // Overridden from aura::client::TooltipClient.
42 virtual void UpdateTooltip(aura::Window* target) OVERRIDE; 42 virtual void UpdateTooltip(aura::Window* target) OVERRIDE;
43 43
44 // Overridden from aura::EventFilter. 44 // Overridden from aura::EventFilter.
45 virtual bool PreHandleKeyEvent(aura::Window* target, 45 virtual bool PreHandleKeyEvent(aura::Window* target,
46 aura::KeyEvent* event) OVERRIDE; 46 aura::KeyEvent* event) OVERRIDE;
47 virtual bool PreHandleMouseEvent(aura::Window* target, 47 virtual bool PreHandleMouseEvent(aura::Window* target,
48 aura::MouseEvent* event) OVERRIDE; 48 aura::MouseEvent* event) OVERRIDE;
49 virtual ui::TouchStatus PreHandleTouchEvent(aura::Window* target, 49 virtual ui::TouchStatus PreHandleTouchEvent(aura::Window* target,
50 aura::TouchEvent* event) OVERRIDE; 50 aura::TouchEvent* event) OVERRIDE;
51 virtual ui::GestureStatus PreHandleGestureEvent(aura::Window* target,
52 aura::GestureEvent* event) OVERRIDE;
51 53
52 // Overridden from aura::WindowObserver. 54 // Overridden from aura::WindowObserver.
53 virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE; 55 virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE;
54 56
55 private: 57 private:
56 friend class ash::test::TooltipControllerTest; 58 friend class ash::test::TooltipControllerTest;
57 59
58 class Tooltip; 60 class Tooltip;
59 61
60 void TooltipTimerFired(); 62 void TooltipTimerFired();
(...skipping 10 matching lines...) Expand all
71 73
72 gfx::Point curr_mouse_loc_; 74 gfx::Point curr_mouse_loc_;
73 75
74 DISALLOW_COPY_AND_ASSIGN(TooltipController); 76 DISALLOW_COPY_AND_ASSIGN(TooltipController);
75 }; 77 };
76 78
77 } // namespace internal 79 } // namespace internal
78 } // namespace ash 80 } // namespace ash
79 81
80 #endif // ASH_TOOLTIPS_TOOLTIP_CONTROLLER_H_ 82 #endif // ASH_TOOLTIPS_TOOLTIP_CONTROLLER_H_
OLDNEW
« no previous file with comments | « ash/ime/input_method_event_filter.cc ('k') | ash/tooltips/tooltip_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698