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

Unified 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, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « views/widget/tooltip_manager_gtk.h ('k') | views/widget/tooltip_manager_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/widget/tooltip_manager_gtk.cc
===================================================================
--- views/widget/tooltip_manager_gtk.cc (revision 0)
+++ views/widget/tooltip_manager_gtk.cc (revision 0)
@@ -0,0 +1,51 @@
+// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "views/widget/tooltip_manager_gtk.h"
+
+#include "app/gfx/font.h"
+#include "base/logging.h"
+
+namespace views {
+
+// static
+int TooltipManager::GetTooltipHeight() {
+ NOTIMPLEMENTED();
+ return 0;
+}
+
+// static
+gfx::Font TooltipManager::GetDefaultFont() {
+ NOTIMPLEMENTED();
+ return gfx::Font();
+}
+
+// static
+const std::wstring& TooltipManager::GetLineSeparator() {
+ static std::wstring* line_separator = NULL;
+ if (!line_separator)
+ line_separator = new std::wstring(L"\n");
+ return *line_separator;
+}
+
+TooltipManagerGtk::TooltipManagerGtk(Widget* widget) : widget_(widget) {
+}
+
+void TooltipManagerGtk::UpdateTooltip() {
+ NOTIMPLEMENTED();
+}
+
+void TooltipManagerGtk::TooltipTextChanged(View* view) {
+ NOTIMPLEMENTED();
+}
+
+void TooltipManagerGtk::ShowKeyboardTooltip(View* view) {
+ NOTIMPLEMENTED();
+}
+
+void TooltipManagerGtk::HideKeyboardTooltip() {
+ NOTIMPLEMENTED();
+}
+
+} // namespace views
Property changes on: views/widget/tooltip_manager_gtk.cc
___________________________________________________________________
Name: svn:eol-style
+ LF
« 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