| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 EXTENSIONS_BROWSER_APP_WINDOW_APP_WINDOW_H_ | 5 #ifndef EXTENSIONS_BROWSER_APP_WINDOW_APP_WINDOW_H_ |
| 6 #define EXTENSIONS_BROWSER_APP_WINDOW_APP_WINDOW_H_ | 6 #define EXTENSIONS_BROWSER_APP_WINDOW_APP_WINDOW_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 433 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 444 // content::WebContentsObserver implementation. | 444 // content::WebContentsObserver implementation. |
| 445 void RenderViewCreated(content::RenderViewHost* render_view_host) override; | 445 void RenderViewCreated(content::RenderViewHost* render_view_host) override; |
| 446 | 446 |
| 447 // ExtensionFunctionDispatcher::Delegate implementation. | 447 // ExtensionFunctionDispatcher::Delegate implementation. |
| 448 WindowController* GetExtensionWindowController() const override; | 448 WindowController* GetExtensionWindowController() const override; |
| 449 content::WebContents* GetAssociatedWebContents() const override; | 449 content::WebContents* GetAssociatedWebContents() const override; |
| 450 | 450 |
| 451 // ExtensionRegistryObserver implementation. | 451 // ExtensionRegistryObserver implementation. |
| 452 void OnExtensionUnloaded(content::BrowserContext* browser_context, | 452 void OnExtensionUnloaded(content::BrowserContext* browser_context, |
| 453 const Extension* extension, | 453 const Extension* extension, |
| 454 UnloadedExtensionInfo::Reason reason) override; | 454 UnloadedExtensionReason reason) override; |
| 455 | 455 |
| 456 // web_modal::WebContentsModalDialogManagerDelegate implementation. | 456 // web_modal::WebContentsModalDialogManagerDelegate implementation. |
| 457 void SetWebContentsBlocked(content::WebContents* web_contents, | 457 void SetWebContentsBlocked(content::WebContents* web_contents, |
| 458 bool blocked) override; | 458 bool blocked) override; |
| 459 bool IsWebContentsVisible(content::WebContents* web_contents) override; | 459 bool IsWebContentsVisible(content::WebContents* web_contents) override; |
| 460 | 460 |
| 461 void ToggleFullscreenModeForTab(content::WebContents* source, | 461 void ToggleFullscreenModeForTab(content::WebContents* source, |
| 462 bool enter_fullscreen); | 462 bool enter_fullscreen); |
| 463 | 463 |
| 464 // Saves the window geometry/position/screen bounds. | 464 // Saves the window geometry/position/screen bounds. |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 577 base::Closure on_first_commit_callback_; | 577 base::Closure on_first_commit_callback_; |
| 578 | 578 |
| 579 base::WeakPtrFactory<AppWindow> image_loader_ptr_factory_; | 579 base::WeakPtrFactory<AppWindow> image_loader_ptr_factory_; |
| 580 | 580 |
| 581 DISALLOW_COPY_AND_ASSIGN(AppWindow); | 581 DISALLOW_COPY_AND_ASSIGN(AppWindow); |
| 582 }; | 582 }; |
| 583 | 583 |
| 584 } // namespace extensions | 584 } // namespace extensions |
| 585 | 585 |
| 586 #endif // EXTENSIONS_BROWSER_APP_WINDOW_APP_WINDOW_H_ | 586 #endif // EXTENSIONS_BROWSER_APP_WINDOW_APP_WINDOW_H_ |
| OLD | NEW |