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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 | 77 |
78 // WebContentsDelegate implementation. | 78 // WebContentsDelegate implementation. |
79 content::WebContents* OpenURLFromTab( | 79 content::WebContents* OpenURLFromTab( |
80 content::WebContents* source, | 80 content::WebContents* source, |
81 const content::OpenURLParams& params) override; | 81 const content::OpenURLParams& params) override; |
82 bool HandleContextMenu(const content::ContextMenuParams& params) override; | 82 bool HandleContextMenu(const content::ContextMenuParams& params) override; |
| 83 bool PreHandleGestureEvent(content::WebContents* source, |
| 84 const blink::WebGestureEvent& event) override; |
83 void FindReply(content::WebContents* web_contents, | 85 void FindReply(content::WebContents* web_contents, |
84 int request_id, | 86 int request_id, |
85 int number_of_matches, | 87 int number_of_matches, |
86 const gfx::Rect& selection_rect, | 88 const gfx::Rect& selection_rect, |
87 int active_match_ordinal, | 89 int active_match_ordinal, |
88 bool final_update) override; | 90 bool final_update) override; |
89 bool SaveFrame(const GURL& url, const content::Referrer& referrer) override; | 91 bool SaveFrame(const GURL& url, const content::Referrer& referrer) override; |
90 | 92 |
91 // content::WebContentsObserver implementation. | 93 // content::WebContentsObserver implementation. |
92 void DocumentOnLoadCompletedInMainFrame() override; | 94 void DocumentOnLoadCompletedInMainFrame() override; |
(...skipping 12 matching lines...) Expand all Loading... |
105 scoped_ptr<ExtensionFunctionDispatcher> extension_function_dispatcher_; | 107 scoped_ptr<ExtensionFunctionDispatcher> extension_function_dispatcher_; |
106 scoped_ptr<StreamContainer> stream_; | 108 scoped_ptr<StreamContainer> stream_; |
107 std::string view_id_; | 109 std::string view_id_; |
108 | 110 |
109 DISALLOW_COPY_AND_ASSIGN(MimeHandlerViewGuest); | 111 DISALLOW_COPY_AND_ASSIGN(MimeHandlerViewGuest); |
110 }; | 112 }; |
111 | 113 |
112 } // namespace extensions | 114 } // namespace extensions |
113 | 115 |
114 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_MIME_HANDLER_VIEW_MIME_HANDLER_VIEW_GUE
ST_H_ | 116 #endif // EXTENSIONS_BROWSER_GUEST_VIEW_MIME_HANDLER_VIEW_MIME_HANDLER_VIEW_GUE
ST_H_ |
OLD | NEW |