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

Side by Side Diff: ui/aura_shell/shell_tooltip_manager.h

Issue 8576005: IME (input method editor) support for Aura, part 3 of 3: Use ui::InputMethod in ash. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase, review Created 9 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 UI_AURA_SHELL_SHELL_TOOLTIP_MANAGER_H_ 5 #ifndef UI_AURA_SHELL_SHELL_TOOLTIP_MANAGER_H_
6 #define UI_AURA_SHELL_SHELL_TOOLTIP_MANAGER_H_ 6 #define UI_AURA_SHELL_SHELL_TOOLTIP_MANAGER_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 20 matching lines...) Expand all
31 public: 31 public:
32 ShellTooltipManager(); 32 ShellTooltipManager();
33 virtual ~ShellTooltipManager(); 33 virtual ~ShellTooltipManager();
34 34
35 // Overridden from aura::TooltipClient. 35 // Overridden from aura::TooltipClient.
36 void UpdateTooltip(aura::Window* target); 36 void UpdateTooltip(aura::Window* target);
37 37
38 // Overridden from aura::EventFilter. 38 // Overridden from aura::EventFilter.
39 virtual bool PreHandleKeyEvent(aura::Window* target, 39 virtual bool PreHandleKeyEvent(aura::Window* target,
40 aura::KeyEvent* event) OVERRIDE; 40 aura::KeyEvent* event) OVERRIDE;
41 virtual bool PreHandleTranslatedKeyEvent(
42 aura::Window* target,
43 aura::TranslatedKeyEvent* event) OVERRIDE;
41 virtual bool PreHandleMouseEvent(aura::Window* target, 44 virtual bool PreHandleMouseEvent(aura::Window* target,
42 aura::MouseEvent* event) OVERRIDE; 45 aura::MouseEvent* event) OVERRIDE;
43 virtual ui::TouchStatus PreHandleTouchEvent(aura::Window* target, 46 virtual ui::TouchStatus PreHandleTouchEvent(aura::Window* target,
44 aura::TouchEvent* event) OVERRIDE; 47 aura::TouchEvent* event) OVERRIDE;
45 48
46 // Overridden from aura::WindowObserver. 49 // Overridden from aura::WindowObserver.
47 virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE; 50 virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE;
48 51
49 private: 52 private:
50 class Tooltip; 53 class Tooltip;
(...skipping 11 matching lines...) Expand all
62 base::RepeatingTimer<ShellTooltipManager> tooltip_timer_; 65 base::RepeatingTimer<ShellTooltipManager> tooltip_timer_;
63 66
64 gfx::Point curr_mouse_loc_; 67 gfx::Point curr_mouse_loc_;
65 68
66 DISALLOW_COPY_AND_ASSIGN(ShellTooltipManager); 69 DISALLOW_COPY_AND_ASSIGN(ShellTooltipManager);
67 }; 70 };
68 71
69 } // namespace aura_shell 72 } // namespace aura_shell
70 73
71 #endif // UI_AURA_SHELL_SHELL_TOOLTIP_MANAGER_H_ 74 #endif // UI_AURA_SHELL_SHELL_TOOLTIP_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698