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

Side by Side Diff: ui/aura_shell/always_on_top_controller.h

Issue 8621003: aura: Rename OnPropertyChanged to OnWindowPropertyChanged. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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/window_unittest.cc ('k') | ui/aura_shell/always_on_top_controller.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_AURA_SHELL_ALWAYS_ON_TOP_CONTROLLER_H_ 5 #ifndef UI_AURA_SHELL_ALWAYS_ON_TOP_CONTROLLER_H_
6 #define UI_AURA_SHELL_ALWAYS_ON_TOP_CONTROLLER_H_ 6 #define UI_AURA_SHELL_ALWAYS_ON_TOP_CONTROLLER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 19 matching lines...) Expand all
30 void SetContainers(aura::Window* default_container, 30 void SetContainers(aura::Window* default_container,
31 aura::Window* always_on_top_container); 31 aura::Window* always_on_top_container);
32 32
33 // Gets container for given |window| based on its "AlwaysOnTop" property. 33 // Gets container for given |window| based on its "AlwaysOnTop" property.
34 aura::Window* GetContainer(aura::Window* window) const; 34 aura::Window* GetContainer(aura::Window* window) const;
35 35
36 private: 36 private:
37 // Overridden from aura::WindowObserver: 37 // Overridden from aura::WindowObserver:
38 virtual void OnWindowAdded(aura::Window* child) OVERRIDE; 38 virtual void OnWindowAdded(aura::Window* child) OVERRIDE;
39 virtual void OnWillRemoveWindow(aura::Window* child) OVERRIDE; 39 virtual void OnWillRemoveWindow(aura::Window* child) OVERRIDE;
40 virtual void OnPropertyChanged(aura::Window* window, 40 virtual void OnWindowPropertyChanged(aura::Window* window,
41 const char* name, 41 const char* name,
42 void* old) OVERRIDE; 42 void* old) OVERRIDE;
43 virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE; 43 virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE;
44 44
45 aura::Window* default_container_; 45 aura::Window* default_container_;
46 aura::Window* always_on_top_container_; 46 aura::Window* always_on_top_container_;
47 47
48 DISALLOW_COPY_AND_ASSIGN(AlwaysOnTopController); 48 DISALLOW_COPY_AND_ASSIGN(AlwaysOnTopController);
49 }; 49 };
50 50
51 } // namepsace aura_shell 51 } // namepsace aura_shell
52 } // namepsace internal 52 } // namepsace internal
53 53
54 #endif // UI_AURA_SHELL_ALWAYS_ON_TOP_CONTROLLER_H_ 54 #endif // UI_AURA_SHELL_ALWAYS_ON_TOP_CONTROLLER_H_
OLDNEW
« no previous file with comments | « ui/aura/window_unittest.cc ('k') | ui/aura_shell/always_on_top_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698