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_GUEST_VIEW_MIME_HANDLER_VIEW_MIME_HANDLER_VIEW_GUEST_
H_ | 5 #ifndef EXTENSIONS_BROWSER_GUEST_VIEW_MIME_HANDLER_VIEW_MIME_HANDLER_VIEW_GUEST_
H_ |
6 #define EXTENSIONS_BROWSER_GUEST_VIEW_MIME_HANDLER_VIEW_MIME_HANDLER_VIEW_GUEST_
H_ | 6 #define EXTENSIONS_BROWSER_GUEST_VIEW_MIME_HANDLER_VIEW_MIME_HANDLER_VIEW_GUEST_
H_ |
7 | 7 |
8 #include "extensions/browser/extension_function_dispatcher.h" | 8 #include "extensions/browser/extension_function_dispatcher.h" |
9 #include "extensions/browser/guest_view/guest_view.h" | 9 #include "extensions/browser/guest_view/guest_view.h" |
10 | 10 |
(...skipping 25 matching lines...) Expand all Loading... |
36 void CreateWebContents(const base::DictionaryValue& create_params, | 36 void CreateWebContents(const base::DictionaryValue& create_params, |
37 const WebContentsCreatedCallback& callback) override; | 37 const WebContentsCreatedCallback& callback) override; |
38 void DidAttachToEmbedder() override; | 38 void DidAttachToEmbedder() override; |
39 void DidInitialize() override; | 39 void DidInitialize() override; |
40 bool ZoomPropagatesFromEmbedderToGuest() const override; | 40 bool ZoomPropagatesFromEmbedderToGuest() const override; |
41 | 41 |
42 // content::BrowserPluginGuestDelegate implementation | 42 // content::BrowserPluginGuestDelegate implementation |
43 bool Find(int request_id, | 43 bool Find(int request_id, |
44 const base::string16& search_text, | 44 const base::string16& search_text, |
45 const blink::WebFindOptions& options) override; | 45 const blink::WebFindOptions& options) override; |
| 46 void DocumentOnLoadCompleted(int guest_proxy_routing_id) override; |
46 | 47 |
47 // WebContentsDelegate implementation. | 48 // WebContentsDelegate implementation. |
48 void ContentsZoomChange(bool zoom_in) override; | 49 void ContentsZoomChange(bool zoom_in) override; |
49 bool HandleContextMenu(const content::ContextMenuParams& params) override; | 50 bool HandleContextMenu(const content::ContextMenuParams& params) override; |
50 void HandleKeyboardEvent( | 51 void HandleKeyboardEvent( |
51 content::WebContents* source, | 52 content::WebContents* source, |
52 const content::NativeWebKeyboardEvent& event) override; | 53 const content::NativeWebKeyboardEvent& event) override; |
53 void FindReply(content::WebContents* web_contents, | 54 void FindReply(content::WebContents* web_contents, |
54 int request_id, | 55 int request_id, |
55 int number_of_matches, | 56 int number_of_matches, |
(...skipping 16 matching lines...) Expand all Loading... |
72 scoped_ptr<MimeHandlerViewGuestDelegate> delegate_; | 73 scoped_ptr<MimeHandlerViewGuestDelegate> delegate_; |
73 scoped_ptr<ExtensionFunctionDispatcher> extension_function_dispatcher_; | 74 scoped_ptr<ExtensionFunctionDispatcher> extension_function_dispatcher_; |
74 GURL content_url_; | 75 GURL content_url_; |
75 | 76 |
76 DISALLOW_COPY_AND_ASSIGN(MimeHandlerViewGuest); | 77 DISALLOW_COPY_AND_ASSIGN(MimeHandlerViewGuest); |
77 }; | 78 }; |
78 | 79 |
79 } // namespace extensions | 80 } // namespace extensions |
80 | 81 |
81 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_MIME_HANDLER_VIEW_MIME_HANDLER_VIEW_GUE
ST_H_ | 82 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_MIME_HANDLER_VIEW_MIME_HANDLER_VIEW_GUE
ST_H_ |
OLD | NEW |