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

Side by Side Diff: ash/common/shell_delegate.h

Issue 2189063002: [arc-intents] Properly qualify API-generated page transitions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix new occurance of an OpenUrl call. Created 4 years, 4 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
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_COMMON_SHELL_DELEGATE_H_ 5 #ifndef ASH_COMMON_SHELL_DELEGATE_H_
6 #define ASH_COMMON_SHELL_DELEGATE_H_ 6 #define ASH_COMMON_SHELL_DELEGATE_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 // delegate can use Shell instance to perform cleanup tasks. 89 // delegate can use Shell instance to perform cleanup tasks.
90 virtual void PreShutdown() = 0; 90 virtual void PreShutdown() = 0;
91 91
92 // Invoked when the user uses Ctrl-Shift-Q to close chrome. 92 // Invoked when the user uses Ctrl-Shift-Q to close chrome.
93 virtual void Exit() = 0; 93 virtual void Exit() = 0;
94 94
95 // Create a shell-specific keyboard::KeyboardUI 95 // Create a shell-specific keyboard::KeyboardUI
96 virtual keyboard::KeyboardUI* CreateKeyboardUI() = 0; 96 virtual keyboard::KeyboardUI* CreateKeyboardUI() = 0;
97 97
98 // Opens the |url| in a new browser tab. 98 // Opens the |url| in a new browser tab.
99 virtual void OpenUrl(const GURL& url) = 0; 99 virtual void OpenUrlFromArc(const GURL& url) = 0;
100 100
101 // Get the AppListPresenter. Ownership stays with Chrome. 101 // Get the AppListPresenter. Ownership stays with Chrome.
102 virtual app_list::AppListPresenter* GetAppListPresenter() = 0; 102 virtual app_list::AppListPresenter* GetAppListPresenter() = 0;
103 103
104 // Creates a new ShelfDelegate. Shell takes ownership of the returned 104 // Creates a new ShelfDelegate. Shell takes ownership of the returned
105 // value. 105 // value.
106 virtual ShelfDelegate* CreateShelfDelegate(ShelfModel* model) = 0; 106 virtual ShelfDelegate* CreateShelfDelegate(ShelfModel* model) = 0;
107 107
108 // Creates a system-tray delegate. Shell takes ownership of the delegate. 108 // Creates a system-tray delegate. Shell takes ownership of the delegate.
109 virtual SystemTrayDelegate* CreateSystemTrayDelegate() = 0; 109 virtual SystemTrayDelegate* CreateSystemTrayDelegate() = 0;
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 virtual gfx::Image GetDeprecatedAcceleratorImage() const = 0; 142 virtual gfx::Image GetDeprecatedAcceleratorImage() const = 0;
143 143
144 // Toggles the status of the touchpad / touchscreen on or off. 144 // Toggles the status of the touchpad / touchscreen on or off.
145 virtual void ToggleTouchpad() {} 145 virtual void ToggleTouchpad() {}
146 virtual void ToggleTouchscreen() {} 146 virtual void ToggleTouchscreen() {}
147 }; 147 };
148 148
149 } // namespace ash 149 } // namespace ash
150 150
151 #endif // ASH_COMMON_SHELL_DELEGATE_H_ 151 #endif // ASH_COMMON_SHELL_DELEGATE_H_
OLDNEW
« no previous file with comments | « no previous file | ash/mus/shell_delegate_mus.h » ('j') | chrome/browser/chromeos/arc/arc_print_service.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698