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 24 matching lines...) Expand all Loading... |
35 int GetTaskPrefix() const override; | 35 int GetTaskPrefix() const override; |
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 | 40 |
41 // content::BrowserPluginGuestDelegate implementation | 41 // content::BrowserPluginGuestDelegate implementation |
42 bool Find(int request_id, | 42 bool Find(int request_id, |
43 const base::string16& search_text, | 43 const base::string16& search_text, |
44 const blink::WebFindOptions& options) override; | 44 const blink::WebFindOptions& options) override; |
| 45 void DocumentOnLoadCompleted(int guest_proxy_routing_id) override; |
45 | 46 |
46 // WebContentsDelegate implementation. | 47 // WebContentsDelegate implementation. |
47 void ContentsZoomChange(bool zoom_in) override; | 48 void ContentsZoomChange(bool zoom_in) override; |
48 bool HandleContextMenu(const content::ContextMenuParams& params) override; | 49 bool HandleContextMenu(const content::ContextMenuParams& params) override; |
49 void HandleKeyboardEvent( | 50 void HandleKeyboardEvent( |
50 content::WebContents* source, | 51 content::WebContents* source, |
51 const content::NativeWebKeyboardEvent& event) override; | 52 const content::NativeWebKeyboardEvent& event) override; |
52 void FindReply(content::WebContents* web_contents, | 53 void FindReply(content::WebContents* web_contents, |
53 int request_id, | 54 int request_id, |
54 int number_of_matches, | 55 int number_of_matches, |
(...skipping 16 matching lines...) Expand all Loading... |
71 scoped_ptr<MimeHandlerViewGuestDelegate> delegate_; | 72 scoped_ptr<MimeHandlerViewGuestDelegate> delegate_; |
72 scoped_ptr<ExtensionFunctionDispatcher> extension_function_dispatcher_; | 73 scoped_ptr<ExtensionFunctionDispatcher> extension_function_dispatcher_; |
73 GURL content_url_; | 74 GURL content_url_; |
74 | 75 |
75 DISALLOW_COPY_AND_ASSIGN(MimeHandlerViewGuest); | 76 DISALLOW_COPY_AND_ASSIGN(MimeHandlerViewGuest); |
76 }; | 77 }; |
77 | 78 |
78 } // namespace extensions | 79 } // namespace extensions |
79 | 80 |
80 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_MIME_HANDLER_VIEW_MIME_HANDLER_VIEW_GUE
ST_H_ | 81 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_MIME_HANDLER_VIEW_MIME_HANDLER_VIEW_GUE
ST_H_ |
OLD | NEW |