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

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

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_gtk.h ('k') | views/widget/tooltip_manager_win.h » ('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 #include "views/widget/tooltip_manager_gtk.h"
6
7 #include "app/gfx/font.h"
8 #include "base/logging.h"
9
10 namespace views {
11
12 // static
13 int TooltipManager::GetTooltipHeight() {
14 NOTIMPLEMENTED();
15 return 0;
16 }
17
18 // static
19 gfx::Font TooltipManager::GetDefaultFont() {
20 NOTIMPLEMENTED();
21 return gfx::Font();
22 }
23
24 // static
25 const std::wstring& TooltipManager::GetLineSeparator() {
26 static std::wstring* line_separator = NULL;
27 if (!line_separator)
28 line_separator = new std::wstring(L"\n");
29 return *line_separator;
30 }
31
32 TooltipManagerGtk::TooltipManagerGtk(Widget* widget) : widget_(widget) {
33 }
34
35 void TooltipManagerGtk::UpdateTooltip() {
36 NOTIMPLEMENTED();
37 }
38
39 void TooltipManagerGtk::TooltipTextChanged(View* view) {
40 NOTIMPLEMENTED();
41 }
42
43 void TooltipManagerGtk::ShowKeyboardTooltip(View* view) {
44 NOTIMPLEMENTED();
45 }
46
47 void TooltipManagerGtk::HideKeyboardTooltip() {
48 NOTIMPLEMENTED();
49 }
50
51 } // namespace views
OLDNEW
« no previous file with comments | « views/widget/tooltip_manager_gtk.h ('k') | views/widget/tooltip_manager_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698