OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 COMPONENTS_PLUGINS_RENDERER_WEBVIEW_PLUGIN_H_ | 5 #ifndef COMPONENTS_PLUGINS_RENDERER_WEBVIEW_PLUGIN_H_ |
6 #define COMPONENTS_PLUGINS_RENDERER_WEBVIEW_PLUGIN_H_ | 6 #define COMPONENTS_PLUGINS_RENDERER_WEBVIEW_PLUGIN_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 | 9 |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 bool acceptsInputEvents() override; | 103 bool acceptsInputEvents() override; |
104 blink::WebInputEventResult handleInputEvent( | 104 blink::WebInputEventResult handleInputEvent( |
105 const blink::WebInputEvent& event, | 105 const blink::WebInputEvent& event, |
106 blink::WebCursorInfo& cursor_info) override; | 106 blink::WebCursorInfo& cursor_info) override; |
107 | 107 |
108 void didReceiveResponse(const blink::WebURLResponse& response) override; | 108 void didReceiveResponse(const blink::WebURLResponse& response) override; |
109 void didReceiveData(const char* data, int data_length) override; | 109 void didReceiveData(const char* data, int data_length) override; |
110 void didFinishLoading() override; | 110 void didFinishLoading() override; |
111 void didFailLoading(const blink::WebURLError& error) override; | 111 void didFailLoading(const blink::WebURLError& error) override; |
112 | 112 |
113 // Called in response to WebPluginContainer::loadFrameRequest | |
114 void didFinishLoadingFrameRequest(const blink::WebURL& url, | |
115 void* notifyData) override {} | |
116 void didFailLoadingFrameRequest(const blink::WebURL& url, | |
117 void* notify_data, | |
118 const blink::WebURLError& error) override {} | |
119 | |
120 // WebViewClient methods: | 113 // WebViewClient methods: |
121 bool acceptsLoadDrops() override; | 114 bool acceptsLoadDrops() override; |
122 | 115 |
123 void setToolTipText(const blink::WebString&, | 116 void setToolTipText(const blink::WebString&, |
124 blink::WebTextDirection) override; | 117 blink::WebTextDirection) override; |
125 | 118 |
126 void startDragging(blink::WebLocalFrame* frame, | 119 void startDragging(blink::WebLocalFrame* frame, |
127 const blink::WebDragData& drag_data, | 120 const blink::WebDragData& drag_data, |
128 blink::WebDragOperationsMask mask, | 121 blink::WebDragOperationsMask mask, |
129 const blink::WebImage& image, | 122 const blink::WebImage& image, |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
178 | 171 |
179 blink::WebURLResponse response_; | 172 blink::WebURLResponse response_; |
180 std::list<std::string> data_; | 173 std::list<std::string> data_; |
181 scoped_ptr<blink::WebURLError> error_; | 174 scoped_ptr<blink::WebURLError> error_; |
182 blink::WebString old_title_; | 175 blink::WebString old_title_; |
183 bool finished_loading_; | 176 bool finished_loading_; |
184 bool focused_; | 177 bool focused_; |
185 }; | 178 }; |
186 | 179 |
187 #endif // COMPONENTS_PLUGINS_RENDERER_WEBVIEW_PLUGIN_H_ | 180 #endif // COMPONENTS_PLUGINS_RENDERER_WEBVIEW_PLUGIN_H_ |
OLD | NEW |