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

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

Issue 8490029: GTK: Move code shared by future content/ classes and chrome/ to ui/. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Remove platform_util method. Created 9 years, 1 month 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/focus_store_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/gtk/focus_store_gtk.h
diff --git a/chrome/browser/ui/gtk/focus_store_gtk.h b/ui/base/gtk/focus_store_gtk.h
similarity index 81%
rename from chrome/browser/ui/gtk/focus_store_gtk.h
rename to ui/base/gtk/focus_store_gtk.h
index 012332e48c9c297bf8f329b7d7e5a4af53494553..e237ee169bc25dec6cf28ee6c03a5e32d682d470 100644
--- a/chrome/browser/ui/gtk/focus_store_gtk.h
+++ b/ui/base/gtk/focus_store_gtk.h
@@ -2,19 +2,21 @@
// 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_FOCUS_STORE_GTK_H_
-#define CHROME_BROWSER_UI_GTK_FOCUS_STORE_GTK_H_
+#ifndef UI_BASE_GTK_FOCUS_STORE_GTK_H_
+#define UI_BASE_GTK_FOCUS_STORE_GTK_H_
#pragma once
#include "base/basictypes.h"
+#include "ui/base/ui_export.h"
typedef struct _GtkWidget GtkWidget;
-class FocusStoreGtk {
+namespace ui {
+
+class UI_EXPORT FocusStoreGtk {
public:
FocusStoreGtk();
-
- virtual ~FocusStoreGtk();
+ ~FocusStoreGtk();
GtkWidget* widget() const { return widget_; }
@@ -40,4 +42,6 @@ class FocusStoreGtk {
DISALLOW_COPY_AND_ASSIGN(FocusStoreGtk);
};
-#endif // CHROME_BROWSER_UI_GTK_FOCUS_STORE_GTK_H_
+} // namespace ui
+
+#endif // UI_BASE_GTK_FOCUS_STORE_GTK_H_
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | ui/base/gtk/focus_store_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698