Chromium Code Reviews| 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 CHROME_BROWSER_GUEST_VIEW_EXTENSION_OPTIONS_EXTENSION_OPTIONS_GUEST_H_ | 5 #ifndef CHROME_BROWSER_GUEST_VIEW_EXTENSION_OPTIONS_EXTENSION_OPTIONS_GUEST_H_ |
| 6 #define CHROME_BROWSER_GUEST_VIEW_EXTENSION_OPTIONS_EXTENSION_OPTIONS_GUEST_H_ | 6 #define CHROME_BROWSER_GUEST_VIEW_EXTENSION_OPTIONS_EXTENSION_OPTIONS_GUEST_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "chrome/browser/guest_view/guest_view.h" | 9 #include "chrome/browser/guest_view/guest_view.h" |
| 10 #include "extensions/browser/extension_function_dispatcher.h" | 10 #include "extensions/browser/extension_function_dispatcher.h" |
| (...skipping 22 matching lines...) Expand all Loading... | |
| 33 virtual void DidAttachToEmbedder() OVERRIDE; | 33 virtual void DidAttachToEmbedder() OVERRIDE; |
| 34 virtual void DidInitialize() OVERRIDE; | 34 virtual void DidInitialize() OVERRIDE; |
| 35 virtual void DidStopLoading() OVERRIDE; | 35 virtual void DidStopLoading() OVERRIDE; |
| 36 | 36 |
| 37 // ExtensionFunctionDispatcher::Delegate implementation. | 37 // ExtensionFunctionDispatcher::Delegate implementation. |
| 38 virtual content::WebContents* GetAssociatedWebContents() const OVERRIDE; | 38 virtual content::WebContents* GetAssociatedWebContents() const OVERRIDE; |
| 39 | 39 |
| 40 // content::WebContentsObserver implementation. | 40 // content::WebContentsObserver implementation. |
| 41 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; | 41 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; |
| 42 | 42 |
| 43 // content::BrowserPluginGuestDelegateImplementation | |
| 44 virtual void SizeChanged(const gfx::Size& old_size, | |
|
not at google - send to devlin
2014/07/30 17:44:57
indentation
ericzeng
2014/07/30 23:29:26
Done.
| |
| 45 const gfx::Size& new_size) OVERRIDE; | |
| 46 | |
| 43 private: | 47 private: |
| 44 ExtensionOptionsGuest(content::BrowserContext* browser_context, | 48 ExtensionOptionsGuest(content::BrowserContext* browser_context, |
| 45 int guest_instance_id); | 49 int guest_instance_id); |
| 46 virtual ~ExtensionOptionsGuest(); | 50 virtual ~ExtensionOptionsGuest(); |
| 47 void OnRequest(const ExtensionHostMsg_Request_Params& params); | 51 void OnRequest(const ExtensionHostMsg_Request_Params& params); |
| 48 | 52 |
| 49 scoped_ptr<extensions::ExtensionFunctionDispatcher> | 53 scoped_ptr<extensions::ExtensionFunctionDispatcher> |
| 50 extension_function_dispatcher_; | 54 extension_function_dispatcher_; |
| 51 GURL options_page_; | 55 GURL options_page_; |
| 52 | 56 |
| 53 DISALLOW_COPY_AND_ASSIGN(ExtensionOptionsGuest); | 57 DISALLOW_COPY_AND_ASSIGN(ExtensionOptionsGuest); |
| 54 }; | 58 }; |
| 55 | 59 |
| 56 #endif // CHROME_BROWSER_GUEST_VIEW_EXTENSION_OPTIONS_EXTENSION_OPTIONS_GUEST_H _ | 60 #endif // CHROME_BROWSER_GUEST_VIEW_EXTENSION_OPTIONS_EXTENSION_OPTIONS_GUEST_H _ |
| OLD | NEW |