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

Side by Side Diff: views/widget/tooltip_manager_gtk.h

Issue 114054: Splits TooltipManager so that it can be ported and stubs out the GTK... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 6 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 | « views/widget/tooltip_manager.cc ('k') | views/widget/tooltip_manager_gtk.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Name: svn:eol-style
+ LF
OLDNEW
(Empty)
1 // Copyright (c) 2009 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 VIEWS_WIDGET_TOOLTIP_MANAGER_GTK_H_
6 #define VIEWS_WIDGET_TOOLTIP_MANAGER_GTK_H_
7
8 #include "views/widget/tooltip_manager.h"
9
10 namespace views {
11
12 class Widget;
13
14 // TooltipManager takes care of the wiring to support tooltips for Views. You
15 // almost never need to interact directly with TooltipManager, rather look to
16 // the various tooltip methods on View.
17 class TooltipManagerGtk : public TooltipManager {
18 public:
19 explicit TooltipManagerGtk(Widget* widget);
20 virtual ~TooltipManagerGtk() {}
21
22 // TooltipManager.
23 virtual void UpdateTooltip();
24 virtual void TooltipTextChanged(View* view);
25 virtual void ShowKeyboardTooltip(View* view);
26 virtual void HideKeyboardTooltip();
27
28 private:
29 // Our owner.
30 Widget* widget_;
31
32 DISALLOW_COPY_AND_ASSIGN(TooltipManagerGtk);
33 };
34
35 } // namespace views
36
37 #endif // VIEWS_WIDGET_TOOLTIP_MANAGER_GTK_H_
OLDNEW
« no previous file with comments | « views/widget/tooltip_manager.cc ('k') | views/widget/tooltip_manager_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698