| 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 "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
| 10 #include "chrome/browser/extensions/extension_keybinding_registry.h" | 10 #include "chrome/browser/extensions/extension_keybinding_registry.h" |
| (...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 200 protected: | 200 protected: |
| 201 virtual ~ShellWindow(); | 201 virtual ~ShellWindow(); |
| 202 | 202 |
| 203 private: | 203 private: |
| 204 // PlatformAppBrowserTest needs access to web_contents() | 204 // PlatformAppBrowserTest needs access to web_contents() |
| 205 friend class extensions::PlatformAppBrowserTest; | 205 friend class extensions::PlatformAppBrowserTest; |
| 206 | 206 |
| 207 // content::WebContentsDelegate implementation. | 207 // content::WebContentsDelegate implementation. |
| 208 virtual void CloseContents(content::WebContents* contents) OVERRIDE; | 208 virtual void CloseContents(content::WebContents* contents) OVERRIDE; |
| 209 virtual bool ShouldSuppressDialogs() OVERRIDE; | 209 virtual bool ShouldSuppressDialogs() OVERRIDE; |
| 210 virtual content::ColorChooser* OpenColorChooser( |
| 211 content::WebContents* web_contents, SkColor color) OVERRIDE; |
| 210 virtual void RunFileChooser( | 212 virtual void RunFileChooser( |
| 211 content::WebContents* tab, | 213 content::WebContents* tab, |
| 212 const content::FileChooserParams& params) OVERRIDE; | 214 const content::FileChooserParams& params) OVERRIDE; |
| 213 virtual bool IsPopupOrPanel( | 215 virtual bool IsPopupOrPanel( |
| 214 const content::WebContents* source) const OVERRIDE; | 216 const content::WebContents* source) const OVERRIDE; |
| 215 virtual void MoveContents( | 217 virtual void MoveContents( |
| 216 content::WebContents* source, const gfx::Rect& pos) OVERRIDE; | 218 content::WebContents* source, const gfx::Rect& pos) OVERRIDE; |
| 217 virtual void NavigationStateChanged(const content::WebContents* source, | 219 virtual void NavigationStateChanged(const content::WebContents* source, |
| 218 unsigned changed_flags) OVERRIDE; | 220 unsigned changed_flags) OVERRIDE; |
| 219 virtual void ToggleFullscreenModeForTab(content::WebContents* source, | 221 virtual void ToggleFullscreenModeForTab(content::WebContents* source, |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 299 | 301 |
| 300 // Fullscreen entered by app.window api. | 302 // Fullscreen entered by app.window api. |
| 301 bool fullscreen_for_window_api_; | 303 bool fullscreen_for_window_api_; |
| 302 // Fullscreen entered by HTML requestFullscreen. | 304 // Fullscreen entered by HTML requestFullscreen. |
| 303 bool fullscreen_for_tab_; | 305 bool fullscreen_for_tab_; |
| 304 | 306 |
| 305 DISALLOW_COPY_AND_ASSIGN(ShellWindow); | 307 DISALLOW_COPY_AND_ASSIGN(ShellWindow); |
| 306 }; | 308 }; |
| 307 | 309 |
| 308 #endif // CHROME_BROWSER_UI_EXTENSIONS_SHELL_WINDOW_H_ | 310 #endif // CHROME_BROWSER_UI_EXTENSIONS_SHELL_WINDOW_H_ |
| OLD | NEW |