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

Unified Diff: ui/base/gtk/owned_widget_gtk.cc

Issue 7708021: content: Move render_widget_host_view_gtk to content/ try 2. (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
« no previous file with comments | « ui/base/gtk/owned_widget_gtk.h ('k') | ui/base/l10n/l10n_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/gtk/owned_widget_gtk.cc
diff --git a/chrome/browser/ui/gtk/owned_widget_gtk.cc b/ui/base/gtk/owned_widget_gtk.cc
similarity index 92%
rename from chrome/browser/ui/gtk/owned_widget_gtk.cc
rename to ui/base/gtk/owned_widget_gtk.cc
index 0d2d020c380adc9fd5900bb43cd0681ba4942d1f..6a129a21807cf63f60044089402a4de9a47a2629 100644
--- a/chrome/browser/ui/gtk/owned_widget_gtk.cc
+++ b/ui/base/gtk/owned_widget_gtk.cc
@@ -2,12 +2,14 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chrome/browser/ui/gtk/owned_widget_gtk.h"
+#include "ui/base/gtk/owned_widget_gtk.h"
#include <gtk/gtk.h>
#include "base/logging.h"
+namespace ui {
+
OwnedWidgetGtk::~OwnedWidgetGtk() {
Destroy();
}
@@ -39,3 +41,5 @@ void OwnedWidgetGtk::Destroy() {
DCHECK_EQ(G_OBJECT(widget)->ref_count, 1U);
g_object_unref(widget);
}
+
+} // namespace ui
« no previous file with comments | « ui/base/gtk/owned_widget_gtk.h ('k') | ui/base/l10n/l10n_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698