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

Side by Side Diff: ash/shell_delegate.h

Issue 1843563003: Move arc_intent_helper_bridge.h from c/b/chromeos/ to components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address a 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/shell/shell_delegate_impl.cc ('k') | ash/test/test_shell_delegate.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 <string> 8 #include <string>
9 9
10 #include "ash/ash_export.h" 10 #include "ash/ash_export.h"
11 #include "ash/shell.h" 11 #include "ash/shell.h"
12 #include "base/callback.h" 12 #include "base/callback.h"
13 #include "base/strings/string16.h" 13 #include "base/strings/string16.h"
14 14
15 class GURL;
16
15 namespace app_list { 17 namespace app_list {
16 class AppListViewDelegate; 18 class AppListViewDelegate;
17 } 19 }
18 20
19 namespace aura { 21 namespace aura {
20 class Window; 22 class Window;
21 } 23 }
22 24
23 namespace gfx { 25 namespace gfx {
24 class Image; 26 class Image;
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 102
101 // Called when virtual keyboard has been activated/deactivated. 103 // Called when virtual keyboard has been activated/deactivated.
102 virtual void VirtualKeyboardActivated(bool activated) = 0; 104 virtual void VirtualKeyboardActivated(bool activated) = 0;
103 105
104 // Adds or removes virtual keyboard state observer. 106 // Adds or removes virtual keyboard state observer.
105 virtual void AddVirtualKeyboardStateObserver( 107 virtual void AddVirtualKeyboardStateObserver(
106 VirtualKeyboardStateObserver* observer) = 0; 108 VirtualKeyboardStateObserver* observer) = 0;
107 virtual void RemoveVirtualKeyboardStateObserver( 109 virtual void RemoveVirtualKeyboardStateObserver(
108 VirtualKeyboardStateObserver* observer) = 0; 110 VirtualKeyboardStateObserver* observer) = 0;
109 111
112 // Opens the |url| in a new browser tab.
113 virtual void OpenUrl(const GURL& url) = 0;
114
110 // Get the AppListViewDelegate, creating one if it does not yet exist. 115 // Get the AppListViewDelegate, creating one if it does not yet exist.
111 // Ownership stays with Chrome's AppListService, or the ShellDelegate. 116 // Ownership stays with Chrome's AppListService, or the ShellDelegate.
112 virtual app_list::AppListViewDelegate* GetAppListViewDelegate() = 0; 117 virtual app_list::AppListViewDelegate* GetAppListViewDelegate() = 0;
113 118
114 // Creates a new ShelfDelegate. Shell takes ownership of the returned 119 // Creates a new ShelfDelegate. Shell takes ownership of the returned
115 // value. 120 // value.
116 virtual ShelfDelegate* CreateShelfDelegate(ShelfModel* model) = 0; 121 virtual ShelfDelegate* CreateShelfDelegate(ShelfModel* model) = 0;
117 122
118 // Creates a system-tray delegate. Shell takes ownership of the delegate. 123 // Creates a system-tray delegate. Shell takes ownership of the delegate.
119 virtual SystemTrayDelegate* CreateSystemTrayDelegate() = 0; 124 virtual SystemTrayDelegate* CreateSystemTrayDelegate() = 0;
(...skipping 29 matching lines...) Expand all
149 virtual gfx::Image GetDeprecatedAcceleratorImage() const = 0; 154 virtual gfx::Image GetDeprecatedAcceleratorImage() const = 0;
150 155
151 // Toggles the status of the touchpad / touchscreen on or off. 156 // Toggles the status of the touchpad / touchscreen on or off.
152 virtual void ToggleTouchpad() {} 157 virtual void ToggleTouchpad() {}
153 virtual void ToggleTouchscreen() {} 158 virtual void ToggleTouchscreen() {}
154 }; 159 };
155 160
156 } // namespace ash 161 } // namespace ash
157 162
158 #endif // ASH_SHELL_DELEGATE_H_ 163 #endif // ASH_SHELL_DELEGATE_H_
OLDNEW
« no previous file with comments | « ash/shell/shell_delegate_impl.cc ('k') | ash/test/test_shell_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698