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

Side by Side Diff: ash/shell/window_watcher.h

Issue 9808026: Layout panels on top of their launcher icons (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: CR feedback Created 8 years, 8 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 | « ash/shell.cc ('k') | ash/shell/window_watcher.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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 ASH_SHELL_WINDOW_WATCHER_H_ 5 #ifndef ASH_SHELL_WINDOW_WATCHER_H_
6 #define ASH_SHELL_WINDOW_WATCHER_H_ 6 #define ASH_SHELL_WINDOW_WATCHER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 10
(...skipping 22 matching lines...) Expand all
33 // aura::WindowObserver overrides: 33 // aura::WindowObserver overrides:
34 virtual void OnWindowAdded(aura::Window* new_window) OVERRIDE; 34 virtual void OnWindowAdded(aura::Window* new_window) OVERRIDE;
35 virtual void OnWillRemoveWindow(aura::Window* window) OVERRIDE; 35 virtual void OnWillRemoveWindow(aura::Window* window) OVERRIDE;
36 36
37 private: 37 private:
38 typedef std::map<ash::LauncherID, aura::Window*> IDToWindow; 38 typedef std::map<ash::LauncherID, aura::Window*> IDToWindow;
39 39
40 // Window watching for newly created windows to be added to. 40 // Window watching for newly created windows to be added to.
41 aura::Window* window_; 41 aura::Window* window_;
42 42
43 aura::Window* panel_container_;
44
43 // Maps from window to the id we gave it. 45 // Maps from window to the id we gave it.
44 IDToWindow id_to_window_; 46 IDToWindow id_to_window_;
45 47
46 DISALLOW_COPY_AND_ASSIGN(WindowWatcher); 48 DISALLOW_COPY_AND_ASSIGN(WindowWatcher);
47 }; 49 };
48 50
49 } // namespace shell 51 } // namespace shell
50 } // namespace ash 52 } // namespace ash
51 53
52 #endif // ASH_SHELL_WINDOW_WATCHER_H_ 54 #endif // ASH_SHELL_WINDOW_WATCHER_H_
OLDNEW
« no previous file with comments | « ash/shell.cc ('k') | ash/shell/window_watcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698