OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 WEBKIT_PLUGINS_WEBVIEW_PLUGIN_H_ | 5 #ifndef WEBKIT_PLUGINS_WEBVIEW_PLUGIN_H_ |
6 #define WEBKIT_PLUGINS_WEBVIEW_PLUGIN_H_ | 6 #define WEBKIT_PLUGINS_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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 virtual void didFailLoadingFrameRequest(const WebKit::WebURL& url, | 105 virtual void didFailLoadingFrameRequest(const WebKit::WebURL& url, |
106 void* notify_data, | 106 void* notify_data, |
107 const WebKit::WebURLError& error) {} | 107 const WebKit::WebURLError& error) {} |
108 | 108 |
109 // WebViewClient methods: | 109 // WebViewClient methods: |
110 virtual bool acceptsLoadDrops(); | 110 virtual bool acceptsLoadDrops(); |
111 | 111 |
112 virtual void setToolTipText(const WebKit::WebString&, | 112 virtual void setToolTipText(const WebKit::WebString&, |
113 WebKit::WebTextDirection); | 113 WebKit::WebTextDirection); |
114 | 114 |
115 virtual void startDragging(const WebKit::WebDragData& drag_data, | 115 virtual void startDragging(WebKit::WebFrame* frame, |
| 116 const WebKit::WebDragData& drag_data, |
116 WebKit::WebDragOperationsMask mask, | 117 WebKit::WebDragOperationsMask mask, |
117 const WebKit::WebImage& image, | 118 const WebKit::WebImage& image, |
118 const WebKit::WebPoint& point); | 119 const WebKit::WebPoint& point); |
119 | 120 |
120 // WebWidgetClient methods: | 121 // WebWidgetClient methods: |
121 virtual void didInvalidateRect(const WebKit::WebRect&); | 122 virtual void didInvalidateRect(const WebKit::WebRect&); |
122 virtual void didChangeCursor(const WebKit::WebCursorInfo& cursor); | 123 virtual void didChangeCursor(const WebKit::WebCursorInfo& cursor); |
123 | 124 |
124 // WebFrameClient methods: | 125 // WebFrameClient methods: |
125 virtual void didClearWindowObject(WebKit::WebFrame* frame); | 126 virtual void didClearWindowObject(WebKit::WebFrame* frame); |
(...skipping 28 matching lines...) Expand all Loading... |
154 WebKit::WebURLResponse response_; | 155 WebKit::WebURLResponse response_; |
155 std::list<std::string> data_; | 156 std::list<std::string> data_; |
156 bool finished_loading_; | 157 bool finished_loading_; |
157 scoped_ptr<WebKit::WebURLError> error_; | 158 scoped_ptr<WebKit::WebURLError> error_; |
158 WebKit::WebString old_title_; | 159 WebKit::WebString old_title_; |
159 }; | 160 }; |
160 | 161 |
161 } // namespace webkit | 162 } // namespace webkit |
162 | 163 |
163 #endif // WEBKIT_PLUGINS_WEBVIEW_PLUGIN_H_ | 164 #endif // WEBKIT_PLUGINS_WEBVIEW_PLUGIN_H_ |
OLD | NEW |