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 "base/memory/weak_ptr.h" | 8 #include "base/memory/weak_ptr.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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 void CreateWebContents(const base::DictionaryValue& create_params, | 67 void CreateWebContents(const base::DictionaryValue& create_params, |
68 const WebContentsCreatedCallback& callback) override; | 68 const WebContentsCreatedCallback& callback) override; |
69 void DidAttachToEmbedder() override; | 69 void DidAttachToEmbedder() override; |
70 void DidInitialize(const base::DictionaryValue& create_params) override; | 70 void DidInitialize(const base::DictionaryValue& create_params) override; |
71 bool ZoomPropagatesFromEmbedderToGuest() const override; | 71 bool ZoomPropagatesFromEmbedderToGuest() const override; |
72 | 72 |
73 // content::BrowserPluginGuestDelegate implementation | 73 // content::BrowserPluginGuestDelegate implementation |
74 bool Find(int request_id, | 74 bool Find(int request_id, |
75 const base::string16& search_text, | 75 const base::string16& search_text, |
76 const blink::WebFindOptions& options) override; | 76 const blink::WebFindOptions& options) override; |
| 77 bool StopFinding(content::StopFindAction action) override; |
77 | 78 |
78 // WebContentsDelegate implementation. | 79 // WebContentsDelegate implementation. |
79 content::WebContents* OpenURLFromTab( | 80 content::WebContents* OpenURLFromTab( |
80 content::WebContents* source, | 81 content::WebContents* source, |
81 const content::OpenURLParams& params) override; | 82 const content::OpenURLParams& params) override; |
82 bool HandleContextMenu(const content::ContextMenuParams& params) override; | 83 bool HandleContextMenu(const content::ContextMenuParams& params) override; |
83 void FindReply(content::WebContents* web_contents, | 84 void FindReply(content::WebContents* web_contents, |
84 int request_id, | 85 int request_id, |
85 int number_of_matches, | 86 int number_of_matches, |
86 const gfx::Rect& selection_rect, | 87 const gfx::Rect& selection_rect, |
(...skipping 18 matching lines...) Expand all Loading... |
105 scoped_ptr<ExtensionFunctionDispatcher> extension_function_dispatcher_; | 106 scoped_ptr<ExtensionFunctionDispatcher> extension_function_dispatcher_; |
106 scoped_ptr<StreamContainer> stream_; | 107 scoped_ptr<StreamContainer> stream_; |
107 std::string view_id_; | 108 std::string view_id_; |
108 | 109 |
109 DISALLOW_COPY_AND_ASSIGN(MimeHandlerViewGuest); | 110 DISALLOW_COPY_AND_ASSIGN(MimeHandlerViewGuest); |
110 }; | 111 }; |
111 | 112 |
112 } // namespace extensions | 113 } // namespace extensions |
113 | 114 |
114 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_MIME_HANDLER_VIEW_MIME_HANDLER_VIEW_GUE
ST_H_ | 115 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_MIME_HANDLER_VIEW_MIME_HANDLER_VIEW_GUE
ST_H_ |
OLD | NEW |