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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 void updateGeometry(const blink::WebRect& window_rect, | 94 void updateGeometry(const blink::WebRect& window_rect, |
95 const blink::WebRect& clip_rect, | 95 const blink::WebRect& clip_rect, |
96 const blink::WebRect& unobscured_rect, | 96 const blink::WebRect& unobscured_rect, |
97 const blink::WebVector<blink::WebRect>& cut_outs_rects, | 97 const blink::WebVector<blink::WebRect>& cut_outs_rects, |
98 bool is_visible) override; | 98 bool is_visible) override; |
99 | 99 |
100 void updateFocus(bool foucsed, blink::WebFocusType focus_type) override; | 100 void updateFocus(bool foucsed, blink::WebFocusType focus_type) override; |
101 void updateVisibility(bool) override {} | 101 void updateVisibility(bool) override {} |
102 | 102 |
103 bool acceptsInputEvents() override; | 103 bool acceptsInputEvents() override; |
104 bool handleInputEvent(const blink::WebInputEvent& event, | 104 blink::WebInputEventResult handleInputEvent( |
105 blink::WebCursorInfo& cursor_info) override; | 105 const blink::WebInputEvent& event, |
| 106 blink::WebCursorInfo& cursor_info) override; |
106 | 107 |
107 void didReceiveResponse(const blink::WebURLResponse& response) override; | 108 void didReceiveResponse(const blink::WebURLResponse& response) override; |
108 void didReceiveData(const char* data, int data_length) override; | 109 void didReceiveData(const char* data, int data_length) override; |
109 void didFinishLoading() override; | 110 void didFinishLoading() override; |
110 void didFailLoading(const blink::WebURLError& error) override; | 111 void didFailLoading(const blink::WebURLError& error) override; |
111 | 112 |
112 // Called in response to WebPluginContainer::loadFrameRequest | 113 // Called in response to WebPluginContainer::loadFrameRequest |
113 void didFinishLoadingFrameRequest(const blink::WebURL& url, | 114 void didFinishLoadingFrameRequest(const blink::WebURL& url, |
114 void* notifyData) override {} | 115 void* notifyData) override {} |
115 void didFailLoadingFrameRequest(const blink::WebURL& url, | 116 void didFailLoadingFrameRequest(const blink::WebURL& url, |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 | 178 |
178 blink::WebURLResponse response_; | 179 blink::WebURLResponse response_; |
179 std::list<std::string> data_; | 180 std::list<std::string> data_; |
180 scoped_ptr<blink::WebURLError> error_; | 181 scoped_ptr<blink::WebURLError> error_; |
181 blink::WebString old_title_; | 182 blink::WebString old_title_; |
182 bool finished_loading_; | 183 bool finished_loading_; |
183 bool focused_; | 184 bool focused_; |
184 }; | 185 }; |
185 | 186 |
186 #endif // COMPONENTS_PLUGINS_RENDERER_WEBVIEW_PLUGIN_H_ | 187 #endif // COMPONENTS_PLUGINS_RENDERER_WEBVIEW_PLUGIN_H_ |
OLD | NEW |