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