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

Side by Side Diff: ui/aura/env.h

Issue 126513004: Rename RootWindowHost to WindowTreeHost (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 11 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
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 UI_AURA_ENV_H_ 5 #ifndef UI_AURA_ENV_H_
6 #define UI_AURA_ENV_H_ 6 #define UI_AURA_ENV_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
10 #include "base/observer_list.h" 10 #include "base/observer_list.h"
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 // base::RunLoop(dispatcher), or used to dispatch an event by 67 // base::RunLoop(dispatcher), or used to dispatch an event by
68 // |Dispatch(const NativeEvent&)| on it. It must never be stored. 68 // |Dispatch(const NativeEvent&)| on it. It must never be stored.
69 base::MessageLoop::Dispatcher* GetDispatcher(); 69 base::MessageLoop::Dispatcher* GetDispatcher();
70 70
71 // Invoked by RootWindow when its host is activated. 71 // Invoked by RootWindow when its host is activated.
72 void RootWindowActivated(RootWindow* root_window); 72 void RootWindowActivated(RootWindow* root_window);
73 73
74 private: 74 private:
75 friend class test::EnvTestHelper; 75 friend class test::EnvTestHelper;
76 friend class Window; 76 friend class Window;
77 friend class RootWindowHost; 77 friend class WindowTreeHost;
78 78
79 void Init(); 79 void Init();
80 80
81 // Called by the Window when it is initialized. Notifies observers. 81 // Called by the Window when it is initialized. Notifies observers.
82 void NotifyWindowInitialized(Window* window); 82 void NotifyWindowInitialized(Window* window);
83 83
84 // Called by the RootWindow when it is initialized. Notifies observers. 84 // Called by the RootWindow when it is initialized. Notifies observers.
85 void NotifyRootWindowInitialized(RootWindow* root_window); 85 void NotifyRootWindowInitialized(RootWindow* root_window);
86 86
87 // Overridden from ui::EventTarget: 87 // Overridden from ui::EventTarget:
(...skipping 16 matching lines...) Expand all
104 #endif 104 #endif
105 105
106 scoped_ptr<InputStateLookup> input_state_lookup_; 106 scoped_ptr<InputStateLookup> input_state_lookup_;
107 107
108 DISALLOW_COPY_AND_ASSIGN(Env); 108 DISALLOW_COPY_AND_ASSIGN(Env);
109 }; 109 };
110 110
111 } // namespace aura 111 } // namespace aura
112 112
113 #endif // UI_AURA_ENV_H_ 113 #endif // UI_AURA_ENV_H_
OLDNEW
« no previous file with comments | « mojo/examples/aura_demo/root_window_host_mojo.cc ('k') | ui/aura/gestures/gesture_recognizer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698