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

Unified Diff: ui/base/gtk/tooltip_window_gtk.h

Issue 7753038: Move TooltipWindowGtk from views/widget to ui/base/gtk. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address comments in #1 Created 9 years, 4 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 | « content/browser/renderer_host/render_widget_host_view_gtk.cc ('k') | ui/base/gtk/tooltip_window_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/gtk/tooltip_window_gtk.h
diff --git a/views/widget/tooltip_window_gtk.h b/ui/base/gtk/tooltip_window_gtk.h
similarity index 84%
rename from views/widget/tooltip_window_gtk.h
rename to ui/base/gtk/tooltip_window_gtk.h
index 0ca234f8dca8fa0977eb29828ca16ff8bb042836..cffda405aaf9e41db7d34ae580105e0917f1747f 100644
--- a/views/widget/tooltip_window_gtk.h
+++ b/ui/base/gtk/tooltip_window_gtk.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef VIEWS_WIDGET_TOOLTIP_WINDOW_GTK_H_
-#define VIEWS_WIDGET_TOOLTIP_WINDOW_GTK_H_
+#ifndef UI_BASE_GTK_TOOLTIP_WINDOW_GTK_H_
+#define UI_BASE_GTK_TOOLTIP_WINDOW_GTK_H_
#pragma once
#include <string>
@@ -11,19 +11,19 @@
#include "base/basictypes.h"
#include "ui/base/gtk/gtk_integers.h"
#include "ui/base/gtk/gtk_signal.h"
-#include "views/views_export.h"
+#include "ui/base/ui_export.h"
typedef struct _GdkEventExpose GdkEventExpose;
typedef struct _GtkLabel GtkLabel;
typedef struct _GtkWidget GtkWidget;
typedef struct _GtkStyle GtkStyle;
-namespace views {
+namespace ui {
// TooltipWindowGtk provides a customized tooltip window and gives us a
// chance to apply RGBA colormap on it. This enables the GTK theme engine to
// draw tooltip with nice shadow and rounded corner on ChromeOS.
-class VIEWS_EXPORT TooltipWindowGtk {
+class UI_EXPORT TooltipWindowGtk {
public:
explicit TooltipWindowGtk(GtkWidget* widget);
virtual ~TooltipWindowGtk();
@@ -53,6 +53,6 @@ class VIEWS_EXPORT TooltipWindowGtk {
DISALLOW_COPY_AND_ASSIGN(TooltipWindowGtk);
};
-} // namespace views
+} // namespace ui
-#endif // VIEWS_WIDGET_TOOLTIP_WINDOW_GTK_H_
+#endif // UI_BASE_GTK_TOOLTIP_WINDOW_GTK_H_
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_gtk.cc ('k') | ui/base/gtk/tooltip_window_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698