diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-03 15:42:46 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-03 15:42:46 +0000 |
commit | 9f2ea8764277f52936b65136322a97f1d92a7fa9 (patch) | |
tree | b2fac198048fd0b3d9f5b7a5a63870b967ed8999 /views/window/native_window_gtk.h | |
parent | 6eecccb5ea44d7a55fac158ae6b6d6dff9b33321 (diff) | |
download | chromium_src-9f2ea8764277f52936b65136322a97f1d92a7fa9.zip chromium_src-9f2ea8764277f52936b65136322a97f1d92a7fa9.tar.gz chromium_src-9f2ea8764277f52936b65136322a97f1d92a7fa9.tar.bz2 |
Re-land: Move NonClientView and FrameType logic from Window to Widget.
Also fixes leak of default WidgetDelegate by replacing it with a DefaultWidgetDelegate subclass that overrides DeleteDelegate and deletes itself. This required moving the destruction logic from Window down onto Widget.
BUG=72040
TEST=none
Review URL: http://codereview.chromium.org/7033049
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@87784 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/window/native_window_gtk.h')
-rw-r--r-- | views/window/native_window_gtk.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/views/window/native_window_gtk.h b/views/window/native_window_gtk.h index f939f97..3ea4c25 100644 --- a/views/window/native_window_gtk.h +++ b/views/window/native_window_gtk.h @@ -52,10 +52,6 @@ class NativeWindowGtk : public NativeWidgetGtk, public NativeWindow { virtual void ShowNativeWindow(ShowState state) OVERRIDE; virtual void BecomeModal() OVERRIDE; virtual void EnableClose(bool enable) OVERRIDE; - virtual NonClientFrameView* CreateFrameViewForWindow() OVERRIDE; - virtual void UpdateFrameAfterFrameChange() OVERRIDE; - virtual bool ShouldUseNativeFrame() const OVERRIDE; - virtual void FrameTypeChanged() OVERRIDE; // Overridden from NativeWidgetGtk: virtual void Restore() OVERRIDE; @@ -66,7 +62,6 @@ class NativeWindowGtk : public NativeWidgetGtk, public NativeWindow { friend class Window; virtual void OnDestroy(GtkWidget* widget); - virtual void OnDestroyed(GObject *where_the_object_was); private: static gboolean CallConfigureEvent(GtkWidget* widget, |