diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-22 03:47:31 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-22 03:47:31 +0000 |
commit | 66d22164c2aded1403643b52a9763f492acbbdcc (patch) | |
tree | 17f103ef313956ce3d6039663701fb52358df6cc /ui/views/widget/native_widget_gtk.h | |
parent | b233717168b03e58e2110897e96686ce7ea501f4 (diff) | |
download | chromium_src-66d22164c2aded1403643b52a9763f492acbbdcc.zip chromium_src-66d22164c2aded1403643b52a9763f492acbbdcc.tar.gz chromium_src-66d22164c2aded1403643b52a9763f492acbbdcc.tar.bz2 |
Get rid of the EnableClose() infrastructure in Widget.
Only one place was left using it (FirstRunSearchEngineView), and Brian said that didn't need to use it if it would just pick the first of the engine choices (prior to randomization) as the window was closed.
http://crbug.com/102581
TEST=unittests, and: run organic first run chrome, close the search engine selector, the Google should be the default. run organic first run Chrome, choose a non-Google engine, it should be the default.
Review URL: http://codereview.chromium.org/8618001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@111096 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/views/widget/native_widget_gtk.h')
-rw-r--r-- | ui/views/widget/native_widget_gtk.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ui/views/widget/native_widget_gtk.h b/ui/views/widget/native_widget_gtk.h index 4427aa8..51184ee 100644 --- a/ui/views/widget/native_widget_gtk.h +++ b/ui/views/widget/native_widget_gtk.h @@ -190,7 +190,6 @@ class VIEWS_EXPORT NativeWidgetGtk : public internal::NativeWidgetPrivate, virtual void SetShape(gfx::NativeRegion shape) OVERRIDE; virtual void Close() OVERRIDE; virtual void CloseNow() OVERRIDE; - virtual void EnableClose(bool enable) OVERRIDE; virtual void Show() OVERRIDE; virtual void Hide() OVERRIDE; virtual void ShowMaximizedWithBounds( |