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

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

Issue 7701012: content: Move gtk_floating_container to ui/base/gtk/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase and test on views/chromeos 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 | « chrome/chrome_browser.gypi ('k') | ui/base/gtk/gtk_floating_container.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/gtk/gtk_floating_container.h
diff --git a/chrome/browser/ui/gtk/gtk_floating_container.h b/ui/base/gtk/gtk_floating_container.h
similarity index 88%
rename from chrome/browser/ui/gtk/gtk_floating_container.h
rename to ui/base/gtk/gtk_floating_container.h
index 9b15b746808d11c0462e0123ca02082cc0c3858f..a6977df2d0dc6af08ecf7dba2e1a0b44916b4ff3 100644
--- a/chrome/browser/ui/gtk/gtk_floating_container.h
+++ b/ui/base/gtk/gtk_floating_container.h
@@ -2,13 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_UI_GTK_GTK_FLOATING_CONTAINER_H_
-#define CHROME_BROWSER_UI_GTK_GTK_FLOATING_CONTAINER_H_
+#ifndef UI_BASE_GTK_GTK_FLOATING_CONTAINER_H_
+#define UI_BASE_GTK_GTK_FLOATING_CONTAINER_H_
#pragma once
#include <gdk/gdk.h>
#include <gtk/gtk.h>
+#include "ui/base/ui_export.h"
+
// A specialized container, which is a cross between a GtkBin and a
// GtkFixed. This container dervies from GtkBin and the implementation of
// gtk_container_add() is the same: only one GtkWidget can be added through
@@ -75,13 +77,14 @@ struct _GtkFloatingContainerChild {
gint y;
};
-GType gtk_floating_container_get_type() G_GNUC_CONST;
-GtkWidget* gtk_floating_container_new();
-void gtk_floating_container_add_floating(GtkFloatingContainer* container,
- GtkWidget* widget);
+UI_EXPORT GType gtk_floating_container_get_type() G_GNUC_CONST;
+UI_EXPORT GtkWidget* gtk_floating_container_new();
+UI_EXPORT void gtk_floating_container_add_floating(
+ GtkFloatingContainer* container,
+ GtkWidget* widget);
// Use gtk_container_remove to remove all widgets; both widgets added with
// gtk_container_add() and gtk_floating_container_add_floating().
G_END_DECLS
-#endif // CHROME_BROWSER_UI_GTK_GTK_FLOATING_CONTAINER_H_
+#endif // UI_BASE_GTK_GTK_FLOATING_CONTAINER_H_
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | ui/base/gtk/gtk_floating_container.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698