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

Side by Side Diff: ash/shell_delegate.h

Issue 2202753002: [arc-intents] Properly qualify API-generated page transitions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2785
Patch Set: 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
« no previous file with comments | « ash/shell/shell_delegate_impl.cc ('k') | ash/sysui/shell_delegate_mus.h » ('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_DELEGATE_H_ 5 #ifndef ASH_SHELL_DELEGATE_H_
6 #define ASH_SHELL_DELEGATE_H_ 6 #define ASH_SHELL_DELEGATE_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 // Called when virtual keyboard has been activated/deactivated. 107 // Called when virtual keyboard has been activated/deactivated.
108 virtual void VirtualKeyboardActivated(bool activated) = 0; 108 virtual void VirtualKeyboardActivated(bool activated) = 0;
109 109
110 // Adds or removes virtual keyboard state observer. 110 // Adds or removes virtual keyboard state observer.
111 virtual void AddVirtualKeyboardStateObserver( 111 virtual void AddVirtualKeyboardStateObserver(
112 VirtualKeyboardStateObserver* observer) = 0; 112 VirtualKeyboardStateObserver* observer) = 0;
113 virtual void RemoveVirtualKeyboardStateObserver( 113 virtual void RemoveVirtualKeyboardStateObserver(
114 VirtualKeyboardStateObserver* observer) = 0; 114 VirtualKeyboardStateObserver* observer) = 0;
115 115
116 // Opens the |url| in a new browser tab. 116 // Opens the |url| in a new browser tab.
117 virtual void OpenUrl(const GURL& url) = 0; 117 virtual void OpenUrlFromArc(const GURL& url) = 0;
118 118
119 // Get the AppListPresenter. Ownership stays with Chrome. 119 // Get the AppListPresenter. Ownership stays with Chrome.
120 virtual app_list::AppListPresenter* GetAppListPresenter() = 0; 120 virtual app_list::AppListPresenter* GetAppListPresenter() = 0;
121 121
122 // Creates a new ShelfDelegate. Shell takes ownership of the returned 122 // Creates a new ShelfDelegate. Shell takes ownership of the returned
123 // value. 123 // value.
124 virtual ShelfDelegate* CreateShelfDelegate(ShelfModel* model) = 0; 124 virtual ShelfDelegate* CreateShelfDelegate(ShelfModel* model) = 0;
125 125
126 // Creates a system-tray delegate. Shell takes ownership of the delegate. 126 // Creates a system-tray delegate. Shell takes ownership of the delegate.
127 virtual SystemTrayDelegate* CreateSystemTrayDelegate() = 0; 127 virtual SystemTrayDelegate* CreateSystemTrayDelegate() = 0;
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 virtual gfx::Image GetDeprecatedAcceleratorImage() const = 0; 160 virtual gfx::Image GetDeprecatedAcceleratorImage() const = 0;
161 161
162 // Toggles the status of the touchpad / touchscreen on or off. 162 // Toggles the status of the touchpad / touchscreen on or off.
163 virtual void ToggleTouchpad() {} 163 virtual void ToggleTouchpad() {}
164 virtual void ToggleTouchscreen() {} 164 virtual void ToggleTouchscreen() {}
165 }; 165 };
166 166
167 } // namespace ash 167 } // namespace ash
168 168
169 #endif // ASH_SHELL_DELEGATE_H_ 169 #endif // ASH_SHELL_DELEGATE_H_
OLDNEW
« no previous file with comments | « ash/shell/shell_delegate_impl.cc ('k') | ash/sysui/shell_delegate_mus.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698