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

Side by Side Diff: ui/views/widget/tooltip_manager_aura.h

Issue 8769011: Reland change for aura tooltips that was revert due to build break: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: moved exclude to gyp file 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
« no previous file with comments | « ui/views/widget/native_widget_aura.cc ('k') | ui/views/widget/tooltip_manager_aura.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef UI_VIEWS_WIDGET_TOOLTIP_MANAGER_AURA_H_
6 #define UI_VIEWS_WIDGET_TOOLTIP_MANAGER_AURA_H_
7 #pragma once
8
9 #include "base/compiler_specific.h"
10 #include "base/string16.h"
11 #include "ui/gfx/point.h"
12 #include "ui/views/widget/tooltip_manager.h"
13
14 namespace views {
15
16 class NativeWidgetAura;
17 class View;
18
19 // TooltipManager implementation for Aura.
20 class TooltipManagerAura : public TooltipManager {
21 public:
22 explicit TooltipManagerAura(NativeWidgetAura* native_widget_aura);
23 virtual ~TooltipManagerAura();
24
25 // TooltipManager.
26 virtual void UpdateTooltip() OVERRIDE;
27 virtual void TooltipTextChanged(View* view) OVERRIDE;
28 virtual void ShowKeyboardTooltip(View* view) OVERRIDE;
29 virtual void HideKeyboardTooltip() OVERRIDE;
30
31 private:
32 View* GetViewUnderPoint(const gfx::Point& point);
33
34 NativeWidgetAura* native_widget_aura_;
35 string16 tooltip_text_;
36
37 DISALLOW_COPY_AND_ASSIGN(TooltipManagerAura);
38 };
39
40 } // namespace views
41
42 #endif // UI_VIEWS_WIDGET_TOOLTIP_MANAGER_AURA_H_
OLDNEW
« no previous file with comments | « ui/views/widget/native_widget_aura.cc ('k') | ui/views/widget/tooltip_manager_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698