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

Unified Diff: views/window/window_gtk.cc

Issue 6622002: Do all OOLing in the views code. linux_views now builds clean with the clang plugin. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 10 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
« views/controls/menu/menu_host_gtk.h ('K') | « views/window/window_gtk.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/window/window_gtk.cc
diff --git a/views/window/window_gtk.cc b/views/window/window_gtk.cc
index 7e1e6343b5b7085d2362be82d310e1f9c0c37cfe..06f9d14f75a00c8ff59d562c960c1fb98c0ba620 100644
--- a/views/window/window_gtk.cc
+++ b/views/window/window_gtk.cc
@@ -269,6 +269,14 @@ void WindowGtk::FrameTypeChanged() {
ThemeChanged();
}
+Window* WindowGtk::AsWindow() {
+ return this;
+}
+
+const Window* WindowGtk::AsWindow() const {
+ return this;
+}
+
////////////////////////////////////////////////////////////////////////////////
// WindowGtk, WidgetGtk overrides:
« views/controls/menu/menu_host_gtk.h ('K') | « views/window/window_gtk.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698