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

Unified Diff: views/window/window.h

Issue 197063: Implements WindowGtk::CloseAllSecondaryWindows. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 3 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 | « no previous file | views/window/window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/window/window.h
===================================================================
--- views/window/window.h (revision 25660)
+++ views/window/window.h (working copy)
@@ -17,6 +17,7 @@
class ClientView;
class NonClientFrameView;
class NonClientView;
+class Widget;
class WindowDelegate;
// An interface implemented by an object that provides a top level window.
@@ -46,6 +47,11 @@
// is closed.
static void CloseAllSecondaryWindows();
+ // Used by |CloseAllSecondaryWindows|. If |widget|'s window is a secondary
+ // window, the window is closed. If |widget| has no window, it is closed.
+ // Does nothing if |widget| is null.
+ static void CloseSecondaryWidget(Widget* widget);
+
// Retrieves the window's bounds, including its frame.
virtual gfx::Rect GetBounds() const = 0;
« no previous file with comments | « no previous file | views/window/window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698