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

Side by Side Diff: ash/shell.h

Issue 1760773004: Add "Open with <ARC-app-name>" items to the context menu (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address dcheng's comment Created 4 years, 8 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
« no previous file with comments | « ash/link_handler_model_factory.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 <memory> 8 #include <memory>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 class EventClientImpl; 98 class EventClientImpl;
99 class EventRewriterEventFilter; 99 class EventRewriterEventFilter;
100 class EventTransformationHandler; 100 class EventTransformationHandler;
101 class FirstRunHelper; 101 class FirstRunHelper;
102 class FocusCycler; 102 class FocusCycler;
103 class GPUSupport; 103 class GPUSupport;
104 class HighContrastController; 104 class HighContrastController;
105 class KeyboardUI; 105 class KeyboardUI;
106 class KeyboardUMAEventFilter; 106 class KeyboardUMAEventFilter;
107 class LastWindowClosedLogoutReminder; 107 class LastWindowClosedLogoutReminder;
108 class LinkHandlerModelFactory;
108 class LocaleNotificationController; 109 class LocaleNotificationController;
109 class LockStateController; 110 class LockStateController;
110 class LogoutConfirmationController; 111 class LogoutConfirmationController;
111 class MagnificationController; 112 class MagnificationController;
112 class MaximizeModeController; 113 class MaximizeModeController;
113 class MaximizeModeWindowManager; 114 class MaximizeModeWindowManager;
114 class MediaDelegate; 115 class MediaDelegate;
115 class MouseCursorEventFilter; 116 class MouseCursorEventFilter;
116 class MruWindowTracker; 117 class MruWindowTracker;
117 class NewWindowDelegate; 118 class NewWindowDelegate;
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 ::wm::CompoundEventFilter* env_filter() { 356 ::wm::CompoundEventFilter* env_filter() {
356 return env_filter_.get(); 357 return env_filter_.get();
357 } 358 }
358 views::corewm::TooltipController* tooltip_controller() { 359 views::corewm::TooltipController* tooltip_controller() {
359 return tooltip_controller_.get(); 360 return tooltip_controller_.get();
360 } 361 }
361 OverlayEventFilter* overlay_filter() { return overlay_filter_.get(); } 362 OverlayEventFilter* overlay_filter() { return overlay_filter_.get(); }
362 DesktopBackgroundController* desktop_background_controller() { 363 DesktopBackgroundController* desktop_background_controller() {
363 return desktop_background_controller_.get(); 364 return desktop_background_controller_.get();
364 } 365 }
366 LinkHandlerModelFactory* link_handler_model_factory() {
367 return link_handler_model_factory_;
368 }
369 void set_link_handler_model_factory(
370 LinkHandlerModelFactory* link_handler_model_factory) {
371 link_handler_model_factory_ = link_handler_model_factory;
372 }
365 PowerButtonController* power_button_controller() { 373 PowerButtonController* power_button_controller() {
366 return power_button_controller_.get(); 374 return power_button_controller_.get();
367 } 375 }
368 LockStateController* lock_state_controller() { 376 LockStateController* lock_state_controller() {
369 return lock_state_controller_.get(); 377 return lock_state_controller_.get();
370 } 378 }
371 MruWindowTracker* mru_window_tracker() { 379 MruWindowTracker* mru_window_tracker() {
372 return mru_window_tracker_.get(); 380 return mru_window_tracker_.get();
373 } 381 }
374 VideoDetector* video_detector() { 382 VideoDetector* video_detector() {
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after
677 std::unique_ptr<ShelfModel> shelf_model_; 685 std::unique_ptr<ShelfModel> shelf_model_;
678 std::unique_ptr<WindowPositioner> window_positioner_; 686 std::unique_ptr<WindowPositioner> window_positioner_;
679 687
680 std::unique_ptr<DragDropController> drag_drop_controller_; 688 std::unique_ptr<DragDropController> drag_drop_controller_;
681 std::unique_ptr<ResizeShadowController> resize_shadow_controller_; 689 std::unique_ptr<ResizeShadowController> resize_shadow_controller_;
682 std::unique_ptr<::wm::ShadowController> shadow_controller_; 690 std::unique_ptr<::wm::ShadowController> shadow_controller_;
683 std::unique_ptr<::wm::VisibilityController> visibility_controller_; 691 std::unique_ptr<::wm::VisibilityController> visibility_controller_;
684 std::unique_ptr<::wm::WindowModalityController> window_modality_controller_; 692 std::unique_ptr<::wm::WindowModalityController> window_modality_controller_;
685 std::unique_ptr<views::corewm::TooltipController> tooltip_controller_; 693 std::unique_ptr<views::corewm::TooltipController> tooltip_controller_;
686 std::unique_ptr<DesktopBackgroundController> desktop_background_controller_; 694 std::unique_ptr<DesktopBackgroundController> desktop_background_controller_;
695 LinkHandlerModelFactory* link_handler_model_factory_;
687 std::unique_ptr<PowerButtonController> power_button_controller_; 696 std::unique_ptr<PowerButtonController> power_button_controller_;
688 std::unique_ptr<LockStateController> lock_state_controller_; 697 std::unique_ptr<LockStateController> lock_state_controller_;
689 std::unique_ptr<MruWindowTracker> mru_window_tracker_; 698 std::unique_ptr<MruWindowTracker> mru_window_tracker_;
690 std::unique_ptr<ui::UserActivityDetector> user_activity_detector_; 699 std::unique_ptr<ui::UserActivityDetector> user_activity_detector_;
691 std::unique_ptr<VideoDetector> video_detector_; 700 std::unique_ptr<VideoDetector> video_detector_;
692 std::unique_ptr<WindowCycleController> window_cycle_controller_; 701 std::unique_ptr<WindowCycleController> window_cycle_controller_;
693 std::unique_ptr<WindowSelectorController> window_selector_controller_; 702 std::unique_ptr<WindowSelectorController> window_selector_controller_;
694 std::unique_ptr<FocusCycler> focus_cycler_; 703 std::unique_ptr<FocusCycler> focus_cycler_;
695 std::unique_ptr<WindowTreeHostManager> window_tree_host_manager_; 704 std::unique_ptr<WindowTreeHostManager> window_tree_host_manager_;
696 std::unique_ptr<HighContrastController> high_contrast_controller_; 705 std::unique_ptr<HighContrastController> high_contrast_controller_;
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
790 bool in_mus_ = false; 799 bool in_mus_ = false;
791 800
792 std::unique_ptr<KeyboardUI> keyboard_ui_; 801 std::unique_ptr<KeyboardUI> keyboard_ui_;
793 802
794 DISALLOW_COPY_AND_ASSIGN(Shell); 803 DISALLOW_COPY_AND_ASSIGN(Shell);
795 }; 804 };
796 805
797 } // namespace ash 806 } // namespace ash
798 807
799 #endif // ASH_SHELL_H_ 808 #endif // ASH_SHELL_H_
OLDNEW
« no previous file with comments | « ash/link_handler_model_factory.cc ('k') | ash/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698