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

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

Issue 7740003: content: Move gtk_expanded_container to ui/base/gtk/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase and retry failing windows compile 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_tests.gypi ('k') | ui/base/gtk/gtk_expanded_container.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/gtk/gtk_expanded_container.h
diff --git a/chrome/browser/ui/gtk/gtk_expanded_container.h b/ui/base/gtk/gtk_expanded_container.h
similarity index 74%
rename from chrome/browser/ui/gtk/gtk_expanded_container.h
rename to ui/base/gtk/gtk_expanded_container.h
index ffc91634fd0eb79f615dd4d8d6a58c1441084f7e..23f1d69c88d35890178f2a44148ca99fbbf98999 100644
--- a/chrome/browser/ui/gtk/gtk_expanded_container.h
+++ b/ui/base/gtk/gtk_expanded_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_EXPANDED_CONTAINER_H_
-#define CHROME_BROWSER_UI_GTK_GTK_EXPANDED_CONTAINER_H_
+#ifndef UI_BASE_GTK_GTK_EXPANDED_CONTAINER_H_
+#define UI_BASE_GTK_GTK_EXPANDED_CONTAINER_H_
#pragma once
#include <gdk/gdk.h>
#include <gtk/gtk.h>
+#include "ui/base/ui_export.h"
+
// A specialized container derived from GtkFixed, which expands the size of its
// children to fill the container, in one or both directions. The usage of this
// container is similar to GtkFixed.
@@ -56,16 +58,18 @@ struct _GtkExpandedContainerClass {
GtkFixedClass parent_class;
};
-GType gtk_expanded_container_get_type() G_GNUC_CONST;
-GtkWidget* gtk_expanded_container_new();
-void gtk_expanded_container_put(GtkExpandedContainer* container,
- GtkWidget* widget, gint x, gint y);
-void gtk_expanded_container_move(GtkExpandedContainer* container,
- GtkWidget* widget, gint x, gint y);
-void gtk_expanded_container_set_has_window(GtkExpandedContainer* container,
- gboolean has_window);
-gboolean gtk_expanded_container_get_has_window(GtkExpandedContainer* container);
+UI_EXPORT GType gtk_expanded_container_get_type() G_GNUC_CONST;
+UI_EXPORT GtkWidget* gtk_expanded_container_new();
+UI_EXPORT void gtk_expanded_container_put(GtkExpandedContainer* container,
+ GtkWidget* widget, gint x, gint y);
+UI_EXPORT void gtk_expanded_container_move(GtkExpandedContainer* container,
+ GtkWidget* widget, gint x, gint y);
+UI_EXPORT void gtk_expanded_container_set_has_window(
+ GtkExpandedContainer* container,
+ gboolean has_window);
+UI_EXPORT gboolean gtk_expanded_container_get_has_window(
+ GtkExpandedContainer* container);
G_END_DECLS
-#endif // CHROME_BROWSER_UI_GTK_GTK_EXPANDED_CONTAINER_H_
+#endif // UI_BASE_GTK_GTK_EXPANDED_CONTAINER_H_
« no previous file with comments | « chrome/chrome_tests.gypi ('k') | ui/base/gtk/gtk_expanded_container.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698