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

Side by Side Diff: ash/shell.h

Issue 10790090: Enable Virtual Screen Coordinates (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix comments Created 8 years, 5 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/screen_ash_unittest.cc ('k') | ash/shell.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_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 377 matching lines...) Expand 10 before | Expand all | Expand 10 after
388 virtual void ShowCursor(bool visible) OVERRIDE; 388 virtual void ShowCursor(bool visible) OVERRIDE;
389 389
390 static Shell* instance_; 390 static Shell* instance_;
391 391
392 // If set before the Shell is initialized, the mouse cursor will be hidden 392 // If set before the Shell is initialized, the mouse cursor will be hidden
393 // when the screen is initially created. 393 // when the screen is initially created.
394 static bool initially_hide_cursor_; 394 static bool initially_hide_cursor_;
395 395
396 ScreenAsh* screen_; 396 ScreenAsh* screen_;
397 397
398 // Active root window. Never become NULL. 398 // Active root window. Never becomes NULL during the session.
399 aura::RootWindow* active_root_window_; 399 aura::RootWindow* active_root_window_;
400 400
401 // The CompoundEventFilter owned by aura::Env object. 401 // The CompoundEventFilter owned by aura::Env object.
402 aura::shared::CompoundEventFilter* env_filter_; 402 aura::shared::CompoundEventFilter* env_filter_;
403 403
404 std::vector<WindowAndBoundsPair> to_restore_; 404 std::vector<WindowAndBoundsPair> to_restore_;
405 405
406 #if !defined(OS_MACOSX) 406 #if !defined(OS_MACOSX)
407 scoped_ptr<NestedDispatcherController> nested_dispatcher_controller_; 407 scoped_ptr<NestedDispatcherController> nested_dispatcher_controller_;
408 408
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
482 482
483 // Used by ash/shell. 483 // Used by ash/shell.
484 content::BrowserContext* browser_context_; 484 content::BrowserContext* browser_context_;
485 485
486 DISALLOW_COPY_AND_ASSIGN(Shell); 486 DISALLOW_COPY_AND_ASSIGN(Shell);
487 }; 487 };
488 488
489 } // namespace ash 489 } // namespace ash
490 490
491 #endif // ASH_SHELL_H_ 491 #endif // ASH_SHELL_H_
OLDNEW
« no previous file with comments | « ash/screen_ash_unittest.cc ('k') | ash/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698