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 "extensions/browser/extension_function_dispatcher.h" | 9 #include "extensions/browser/extension_function_dispatcher.h" |
10 #include "extensions/browser/guest_view/guest_view.h" | 10 #include "extensions/browser/guest_view/guest_view.h" |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 const std::string& partition_id, | 54 const std::string& partition_id, |
55 content::SessionStorageNamespace* session_storage_namespace) OVERRIDE; | 55 content::SessionStorageNamespace* session_storage_namespace) OVERRIDE; |
56 | 56 |
57 // content::WebContentsObserver implementation. | 57 // content::WebContentsObserver implementation. |
58 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; | 58 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; |
59 | 59 |
60 private: | 60 private: |
61 ExtensionOptionsGuest(content::BrowserContext* browser_context, | 61 ExtensionOptionsGuest(content::BrowserContext* browser_context, |
62 int guest_instance_id); | 62 int guest_instance_id); |
63 virtual ~ExtensionOptionsGuest(); | 63 virtual ~ExtensionOptionsGuest(); |
| 64 void OnRequest(const ExtensionHostMsg_Request_Params& params); |
64 void SetUpAutoSize(); | 65 void SetUpAutoSize(); |
65 void OnRequest(const ExtensionHostMsg_Request_Params& params); | |
66 | 66 |
67 scoped_ptr<extensions::ExtensionFunctionDispatcher> | 67 scoped_ptr<extensions::ExtensionFunctionDispatcher> |
68 extension_function_dispatcher_; | 68 extension_function_dispatcher_; |
69 GURL options_page_; | 69 GURL options_page_; |
70 | 70 |
71 DISALLOW_COPY_AND_ASSIGN(ExtensionOptionsGuest); | 71 DISALLOW_COPY_AND_ASSIGN(ExtensionOptionsGuest); |
72 }; | 72 }; |
73 | 73 |
74 #endif // CHROME_BROWSER_GUEST_VIEW_EXTENSION_OPTIONS_EXTENSION_OPTIONS_GUEST_H
_ | 74 #endif // CHROME_BROWSER_GUEST_VIEW_EXTENSION_OPTIONS_EXTENSION_OPTIONS_GUEST_H
_ |
OLD | NEW |