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

Side by Side Diff: ui/views/widget/native_widget_gtk.h

Issue 8618001: Get rid of the EnableClose() infrastructure in Widget. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ui/views/widget/native_widget_aura.cc ('k') | ui/views/widget/native_widget_gtk.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_VIEWS_WIDGET_NATIVE_WIDGET_GTK_H_ 5 #ifndef UI_VIEWS_WIDGET_NATIVE_WIDGET_GTK_H_
6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_GTK_H_ 6 #define UI_VIEWS_WIDGET_NATIVE_WIDGET_GTK_H_
7 #pragma once 7 #pragma once
8 8
9 #include <gtk/gtk.h> 9 #include <gtk/gtk.h>
10 10
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 virtual gfx::Rect GetWindowScreenBounds() const OVERRIDE; 183 virtual gfx::Rect GetWindowScreenBounds() const OVERRIDE;
184 virtual gfx::Rect GetClientAreaScreenBounds() const OVERRIDE; 184 virtual gfx::Rect GetClientAreaScreenBounds() const OVERRIDE;
185 virtual gfx::Rect GetRestoredBounds() const OVERRIDE; 185 virtual gfx::Rect GetRestoredBounds() const OVERRIDE;
186 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; 186 virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE;
187 virtual void SetSize(const gfx::Size& size) OVERRIDE; 187 virtual void SetSize(const gfx::Size& size) OVERRIDE;
188 virtual void MoveAbove(gfx::NativeView native_view) OVERRIDE; 188 virtual void MoveAbove(gfx::NativeView native_view) OVERRIDE;
189 virtual void MoveToTop() OVERRIDE; 189 virtual void MoveToTop() OVERRIDE;
190 virtual void SetShape(gfx::NativeRegion shape) OVERRIDE; 190 virtual void SetShape(gfx::NativeRegion shape) OVERRIDE;
191 virtual void Close() OVERRIDE; 191 virtual void Close() OVERRIDE;
192 virtual void CloseNow() OVERRIDE; 192 virtual void CloseNow() OVERRIDE;
193 virtual void EnableClose(bool enable) OVERRIDE;
194 virtual void Show() OVERRIDE; 193 virtual void Show() OVERRIDE;
195 virtual void Hide() OVERRIDE; 194 virtual void Hide() OVERRIDE;
196 virtual void ShowMaximizedWithBounds( 195 virtual void ShowMaximizedWithBounds(
197 const gfx::Rect& restored_bounds) OVERRIDE; 196 const gfx::Rect& restored_bounds) OVERRIDE;
198 virtual void ShowWithWindowState(ui::WindowShowState window_state) OVERRIDE; 197 virtual void ShowWithWindowState(ui::WindowShowState window_state) OVERRIDE;
199 virtual bool IsVisible() const OVERRIDE; 198 virtual bool IsVisible() const OVERRIDE;
200 virtual void Activate() OVERRIDE; 199 virtual void Activate() OVERRIDE;
201 virtual void Deactivate() OVERRIDE; 200 virtual void Deactivate() OVERRIDE;
202 virtual bool IsActive() const OVERRIDE; 201 virtual bool IsActive() const OVERRIDE;
203 virtual void SetAlwaysOnTop(bool always_on_top) OVERRIDE; 202 virtual void SetAlwaysOnTop(bool always_on_top) OVERRIDE;
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
466 bool is_menu_; 465 bool is_menu_;
467 466
468 scoped_ptr<ui::GtkSignalRegistrar> signal_registrar_; 467 scoped_ptr<ui::GtkSignalRegistrar> signal_registrar_;
469 468
470 DISALLOW_COPY_AND_ASSIGN(NativeWidgetGtk); 469 DISALLOW_COPY_AND_ASSIGN(NativeWidgetGtk);
471 }; 470 };
472 471
473 } // namespace views 472 } // namespace views
474 473
475 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_GTK_H_ 474 #endif // UI_VIEWS_WIDGET_NATIVE_WIDGET_GTK_H_
OLDNEW
« no previous file with comments | « ui/views/widget/native_widget_aura.cc ('k') | ui/views/widget/native_widget_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698