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

Unified Diff: ui/views/widget/tooltip_manager_gtk.h

Issue 9728002: Removing deprecated GTK-Views code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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 | « ui/views/widget/native_widget_test_utils_gtk.cc ('k') | ui/views/widget/tooltip_manager_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/widget/tooltip_manager_gtk.h
diff --git a/ui/views/widget/tooltip_manager_gtk.h b/ui/views/widget/tooltip_manager_gtk.h
deleted file mode 100644
index d1c4454179c8f9b601dc09645827fa12ef094aac..0000000000000000000000000000000000000000
--- a/ui/views/widget/tooltip_manager_gtk.h
+++ /dev/null
@@ -1,54 +0,0 @@
-// Copyright (c) 2011 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.
-
-#ifndef UI_VIEWS_WIDGET_TOOLTIP_MANAGER_GTK_H_
-#define UI_VIEWS_WIDGET_TOOLTIP_MANAGER_GTK_H_
-#pragma once
-
-#include <gtk/gtk.h>
-
-#include "base/compiler_specific.h"
-#include "ui/base/gtk/tooltip_window_gtk.h"
-#include "ui/views/widget/tooltip_manager.h"
-
-namespace views {
-
-class NativeWidgetGtk;
-
-// TooltipManager implementation for Gtk.
-class TooltipManagerGtk : public TooltipManager {
- public:
- explicit TooltipManagerGtk(NativeWidgetGtk* widget);
- virtual ~TooltipManagerGtk() {}
-
- // Shows the tooltip at the specified location. Returns true if the tooltip
- // should be shown, false otherwise.
- bool ShowTooltip(int x, int y, bool for_keyboard, GtkTooltip* gtk_tooltip);
-
- // TooltipManager.
- virtual void UpdateTooltip() OVERRIDE;
- virtual void TooltipTextChanged(View* view) OVERRIDE;
- virtual void ShowKeyboardTooltip(View* view) OVERRIDE;
- virtual void HideKeyboardTooltip() OVERRIDE;
-
- private:
- // Sends the show_help signal to widget_. This signal triggers showing the
- // keyboard tooltip if it isn't showing, or hides it if it is showing.
- bool SendShowHelpSignal();
-
- // Our owner.
- NativeWidgetGtk* widget_;
-
- // The view supplied to the last invocation of ShowKeyboardTooltip.
- View* keyboard_view_;
-
- // Customized tooltip window.
- ui::TooltipWindowGtk tooltip_window_;
-
- DISALLOW_COPY_AND_ASSIGN(TooltipManagerGtk);
-};
-
-} // namespace views
-
-#endif // UI_VIEWS_WIDGET_TOOLTIP_MANAGER_GTK_H_
« no previous file with comments | « ui/views/widget/native_widget_test_utils_gtk.cc ('k') | ui/views/widget/tooltip_manager_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698