OLD | NEW |
(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 |
OLD | NEW |