summaryrefslogtreecommitdiffstats
path: root/views/widget/tooltip_manager_gtk.cc
blob: 702514ad185358fce58235b7df4e36732adea321 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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