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

Side by Side Diff: ui/aura_shell/shell.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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ui/aura_shell/launcher/launcher_view.cc ('k') | ui/aura_shell/shell.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef UI_AURA_SHELL_SHELL_H_
6 #define UI_AURA_SHELL_SHELL_H_
7 #pragma once
8
9 #include "base/basictypes.h"
10 #include "base/compiler_specific.h"
11 #include "ui/aura/desktop_delegate.h"
12
13 namespace aura {
14 class Window;
15 }
16
17 namespace aura_shell {
18
19 class Shell : public aura::DesktopDelegate {
20 public:
21 Shell();
22 virtual ~Shell();
23
24 void Init();
25
26 private:
27 aura::Window* GetContainer(int container_id);
28 const aura::Window* GetContainer(int container_id) const;
29
30 // Overridden from aura::DesktopDelegate:
31 virtual void AddChildToDefaultParent(aura::Window* window) OVERRIDE;
32 virtual aura::Window* GetTopmostWindowToActivate(
33 aura::Window* ignore) const OVERRIDE;
34
35 DISALLOW_COPY_AND_ASSIGN(Shell);
36 };
37
38 } // namespace aura_shell
39
40 #endif // UI_AURA_SHELL_SHELL_H_
OLDNEW
« no previous file with comments | « ui/aura_shell/launcher/launcher_view.cc ('k') | ui/aura_shell/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698