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

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: 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
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 86%
rename from views/widget/tooltip_window_gtk.h
rename to ui/base/gtk/tooltip_window_gtk.h
index 0ca234f8dca8fa0977eb29828ca16ff8bb042836..283acf5b065c60dbf3239705066d96b8857d468a 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();
@@ -55,4 +55,4 @@ class VIEWS_EXPORT TooltipWindowGtk {
} // namespace views
jam 2011/08/26 16:53:00 nit: ui
xiyuan 2011/08/26 16:56:41 Done.
-#endif // VIEWS_WIDGET_TOOLTIP_WINDOW_GTK_H_
+#endif // UI_BASE_GTK_TOOLTIP_WINDOW_GTK_H_

Powered by Google App Engine
This is Rietveld 408576698