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

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

Issue 6257006: Move a bunch of random other files to src/ui/base... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 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 | « ui/base/gtk/gtk_signal.h ('k') | ui/base/gtk/gtk_signal_registrar.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/gtk/gtk_signal_registrar.h
===================================================================
--- ui/base/gtk/gtk_signal_registrar.h (revision 0)
+++ ui/base/gtk/gtk_signal_registrar.h (working copy)
@@ -1,9 +1,9 @@
-// Copyright (c) 2010 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef APP_GTK_SIGNAL_REGISTRAR_H_
-#define APP_GTK_SIGNAL_REGISTRAR_H_
+#ifndef UI_BASE_GTK_GTK_SIGNAL_REGISTRAR_H_
+#define UI_BASE_GTK_GTK_SIGNAL_REGISTRAR_H_
#pragma once
#include <glib.h>
@@ -16,6 +16,8 @@
typedef struct _GObject GObject;
typedef struct _GtkWidget GtkWidget;
+namespace ui {
+
// A class that ensures that callbacks don't run on stale owner objects. Similar
// in spirit to NotificationRegistrar. Use as follows:
//
@@ -65,4 +67,6 @@
DISALLOW_COPY_AND_ASSIGN(GtkSignalRegistrar);
};
-#endif // APP_GTK_SIGNAL_REGISTRAR_H_
+} // namespace ui
+
+#endif // UI_BASE_GTK_GTK_SIGNAL_REGISTRAR_H_
« no previous file with comments | « ui/base/gtk/gtk_signal.h ('k') | ui/base/gtk/gtk_signal_registrar.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698