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

Side by Side Diff: ash/shell.h

Issue 11419013: Add desktop vs. ash context to ui_controls Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: mac typo Created 8 years, 1 month 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 } 43 }
44 44
45 namespace gfx { 45 namespace gfx {
46 class ImageSkia; 46 class ImageSkia;
47 class Point; 47 class Point;
48 class Rect; 48 class Rect;
49 } 49 }
50 namespace ui { 50 namespace ui {
51 class Layer; 51 class Layer;
52 } 52 }
53 namespace ui_controls {
54 class UIControls;
55 }
53 namespace views { 56 namespace views {
54 class NonClientFrameView; 57 class NonClientFrameView;
55 class Widget; 58 class Widget;
56 namespace corewm { 59 namespace corewm {
57 class CompoundEventFilter; 60 class CompoundEventFilter;
58 class InputMethodEventFilter; 61 class InputMethodEventFilter;
59 class ShadowController; 62 class ShadowController;
60 } 63 }
61 } 64 }
62 65
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after
452 virtual EventTarget* GetParentTarget() OVERRIDE; 455 virtual EventTarget* GetParentTarget() OVERRIDE;
453 456
454 static Shell* instance_; 457 static Shell* instance_;
455 458
456 // If set before the Shell is initialized, the mouse cursor will be hidden 459 // If set before the Shell is initialized, the mouse cursor will be hidden
457 // when the screen is initially created. 460 // when the screen is initially created.
458 static bool initially_hide_cursor_; 461 static bool initially_hide_cursor_;
459 462
460 ScreenAsh* screen_; 463 ScreenAsh* screen_;
461 464
465 scoped_ptr<ui_controls::UIControls> ui_controls_;
466
462 // Active root window. Never becomes NULL during the session. 467 // Active root window. Never becomes NULL during the session.
463 aura::RootWindow* active_root_window_; 468 aura::RootWindow* active_root_window_;
464 469
465 // The CompoundEventFilter owned by aura::Env object. 470 // The CompoundEventFilter owned by aura::Env object.
466 scoped_ptr<views::corewm::CompoundEventFilter> env_filter_; 471 scoped_ptr<views::corewm::CompoundEventFilter> env_filter_;
467 472
468 std::vector<WindowAndBoundsPair> to_restore_; 473 std::vector<WindowAndBoundsPair> to_restore_;
469 474
470 #if !defined(OS_MACOSX) 475 #if !defined(OS_MACOSX)
471 scoped_ptr<NestedDispatcherController> nested_dispatcher_controller_; 476 scoped_ptr<NestedDispatcherController> nested_dispatcher_controller_;
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
551 556
552 // For testing only: simulate that a modal window is open 557 // For testing only: simulate that a modal window is open
553 bool simulate_modal_window_open_for_testing_; 558 bool simulate_modal_window_open_for_testing_;
554 559
555 DISALLOW_COPY_AND_ASSIGN(Shell); 560 DISALLOW_COPY_AND_ASSIGN(Shell);
556 }; 561 };
557 562
558 } // namespace ash 563 } // namespace ash
559 564
560 #endif // ASH_SHELL_H_ 565 #endif // ASH_SHELL_H_
OLDNEW
« no previous file with comments | « no previous file | ash/shell.cc » ('j') | chrome/browser/ui/views/ash/chrome_browser_main_extra_parts_ash.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698