OLD | NEW |
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 CHROME_BROWSER_UI_EXTENSIONS_SHELL_WINDOW_H_ | 5 #ifndef CHROME_BROWSER_UI_EXTENSIONS_SHELL_WINDOW_H_ |
6 #define CHROME_BROWSER_UI_EXTENSIONS_SHELL_WINDOW_H_ | 6 #define CHROME_BROWSER_UI_EXTENSIONS_SHELL_WINDOW_H_ |
7 | 7 |
8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 #include "chrome/browser/extensions/extension_function_dispatcher.h" | 9 #include "chrome/browser/extensions/extension_function_dispatcher.h" |
10 #include "chrome/browser/extensions/extension_keybinding_registry.h" | 10 #include "chrome/browser/extensions/extension_keybinding_registry.h" |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 virtual void MoveContents( | 150 virtual void MoveContents( |
151 content::WebContents* source, const gfx::Rect& pos) OVERRIDE; | 151 content::WebContents* source, const gfx::Rect& pos) OVERRIDE; |
152 virtual void NavigationStateChanged(const content::WebContents* source, | 152 virtual void NavigationStateChanged(const content::WebContents* source, |
153 unsigned changed_flags) OVERRIDE; | 153 unsigned changed_flags) OVERRIDE; |
154 virtual void ToggleFullscreenModeForTab(content::WebContents* source, | 154 virtual void ToggleFullscreenModeForTab(content::WebContents* source, |
155 bool enter_fullscreen) OVERRIDE; | 155 bool enter_fullscreen) OVERRIDE; |
156 virtual bool IsFullscreenForTabOrPending( | 156 virtual bool IsFullscreenForTabOrPending( |
157 const content::WebContents* source) const OVERRIDE; | 157 const content::WebContents* source) const OVERRIDE; |
158 virtual void RequestMediaAccessPermission( | 158 virtual void RequestMediaAccessPermission( |
159 content::WebContents* web_contents, | 159 content::WebContents* web_contents, |
160 const content::MediaStreamRequest* request, | 160 const content::MediaStreamRequest& request, |
161 const content::MediaResponseCallback& callback) OVERRIDE; | 161 const content::MediaResponseCallback& callback) OVERRIDE; |
162 virtual content::WebContents* OpenURLFromTab( | 162 virtual content::WebContents* OpenURLFromTab( |
163 content::WebContents* source, | 163 content::WebContents* source, |
164 const content::OpenURLParams& params) OVERRIDE; | 164 const content::OpenURLParams& params) OVERRIDE; |
165 virtual void AddNewContents(content::WebContents* source, | 165 virtual void AddNewContents(content::WebContents* source, |
166 content::WebContents* new_contents, | 166 content::WebContents* new_contents, |
167 WindowOpenDisposition disposition, | 167 WindowOpenDisposition disposition, |
168 const gfx::Rect& initial_pos, | 168 const gfx::Rect& initial_pos, |
169 bool user_gesture, | 169 bool user_gesture, |
170 bool* was_blocked) OVERRIDE; | 170 bool* was_blocked) OVERRIDE; |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
245 GURL app_icon_url_; | 245 GURL app_icon_url_; |
246 | 246 |
247 scoped_ptr<NativeAppWindow> native_app_window_; | 247 scoped_ptr<NativeAppWindow> native_app_window_; |
248 | 248 |
249 base::WeakPtrFactory<ShellWindow> weak_ptr_factory_; | 249 base::WeakPtrFactory<ShellWindow> weak_ptr_factory_; |
250 | 250 |
251 DISALLOW_COPY_AND_ASSIGN(ShellWindow); | 251 DISALLOW_COPY_AND_ASSIGN(ShellWindow); |
252 }; | 252 }; |
253 | 253 |
254 #endif // CHROME_BROWSER_UI_EXTENSIONS_SHELL_WINDOW_H_ | 254 #endif // CHROME_BROWSER_UI_EXTENSIONS_SHELL_WINDOW_H_ |
OLD | NEW |