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

Unified Diff: ui/aura/toplevel_window_container.h

Issue 8194004: change the way windows are parented when their parent is set to NULL. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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
Index: ui/aura/toplevel_window_container.h
===================================================================
--- ui/aura/toplevel_window_container.h (revision 104542)
+++ ui/aura/toplevel_window_container.h (working copy)
@@ -10,24 +10,25 @@
#include "ui/aura/aura_export.h"
namespace aura {
-namespace internal {
-class FocusManager;
-
// A Window subclass that groups top-level windows.
class AURA_EXPORT ToplevelWindowContainer : public Window {
public:
ToplevelWindowContainer();
virtual ~ToplevelWindowContainer();
+ // Returns the topmost window to activate, ignoring |ignore|.
+ Window* GetTopmostWindowToActivate(Window* ignore) const;
+
// Overridden from Window:
- virtual bool IsToplevelWindowContainer() const OVERRIDE;
+ virtual ToplevelWindowContainer* AsToplevelWindowContainer() OVERRIDE;
+ virtual const ToplevelWindowContainer* AsToplevelWindowContainer() const
+ OVERRIDE;
sky 2011/10/07 19:59:45 nit: wrap function name to avoid dangling OVERRIDE
private:
DISALLOW_COPY_AND_ASSIGN(ToplevelWindowContainer);
};
-} // namespace internal
} // namespace aura
#endif // UI_AURA_TOPLEVEL_WINDOW_CONTAINER_H_

Powered by Google App Engine
This is Rietveld 408576698