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

Side by Side Diff: ash/shell.h

Issue 10911342: Add ScreenPositionClient::ConvertNativePointToScreen. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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 ASH_SHELL_H_ 5 #ifndef ASH_SHELL_H_
6 #define ASH_SHELL_H_ 6 #define ASH_SHELL_H_
7 7
8 #include <utility> 8 #include <utility>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 124
125 // Accesses private data from a Shell for testing. 125 // Accesses private data from a Shell for testing.
126 class ASH_EXPORT TestApi { 126 class ASH_EXPORT TestApi {
127 public: 127 public:
128 explicit TestApi(Shell* shell); 128 explicit TestApi(Shell* shell);
129 129
130 internal::RootWindowLayoutManager* root_window_layout(); 130 internal::RootWindowLayoutManager* root_window_layout();
131 aura::shared::InputMethodEventFilter* input_method_event_filter(); 131 aura::shared::InputMethodEventFilter* input_method_event_filter();
132 internal::SystemGestureEventFilter* system_gesture_event_filter(); 132 internal::SystemGestureEventFilter* system_gesture_event_filter();
133 internal::WorkspaceController* workspace_controller(); 133 internal::WorkspaceController* workspace_controller();
134 internal::ScreenPositionController* screen_position_controller();
134 135
135 private: 136 private:
136 Shell* shell_; // not owned 137 Shell* shell_; // not owned
137 138
138 DISALLOW_COPY_AND_ASSIGN(TestApi); 139 DISALLOW_COPY_AND_ASSIGN(TestApi);
139 }; 140 };
140 141
141 // A shell must be explicitly created so that it can call |Init()| with the 142 // A shell must be explicitly created so that it can call |Init()| with the
142 // delegate set. |delegate| can be NULL (if not required for initialization). 143 // delegate set. |delegate| can be NULL (if not required for initialization).
143 static Shell* CreateInstance(ShellDelegate* delegate); 144 static Shell* CreateInstance(ShellDelegate* delegate);
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after
484 485
485 // Used by ash/shell. 486 // Used by ash/shell.
486 content::BrowserContext* browser_context_; 487 content::BrowserContext* browser_context_;
487 488
488 DISALLOW_COPY_AND_ASSIGN(Shell); 489 DISALLOW_COPY_AND_ASSIGN(Shell);
489 }; 490 };
490 491
491 } // namespace ash 492 } // namespace ash
492 493
493 #endif // ASH_SHELL_H_ 494 #endif // ASH_SHELL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698