| 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_NPAPI_WEBPLUGIN_IMPL_H_ | 5 #ifndef WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_IMPL_H_ |
| 6 #define WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_IMPL_H_ | 6 #define WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_IMPL_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <map> | 9 #include <map> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 virtual void paint( | 73 virtual void paint( |
| 74 WebKit::WebCanvas* canvas, const WebKit::WebRect& paint_rect); | 74 WebKit::WebCanvas* canvas, const WebKit::WebRect& paint_rect); |
| 75 virtual void updateGeometry( | 75 virtual void updateGeometry( |
| 76 const WebKit::WebRect& frame_rect, const WebKit::WebRect& clip_rect, | 76 const WebKit::WebRect& frame_rect, const WebKit::WebRect& clip_rect, |
| 77 const WebKit::WebVector<WebKit::WebRect>& cut_outs, bool is_visible); | 77 const WebKit::WebVector<WebKit::WebRect>& cut_outs, bool is_visible); |
| 78 virtual void updateFocus(bool focused); | 78 virtual void updateFocus(bool focused); |
| 79 virtual void updateVisibility(bool visible); | 79 virtual void updateVisibility(bool visible); |
| 80 virtual bool acceptsInputEvents(); | 80 virtual bool acceptsInputEvents(); |
| 81 virtual bool handleInputEvent( | 81 virtual bool handleInputEvent( |
| 82 const WebKit::WebInputEvent& event, WebKit::WebCursorInfo& cursor_info); | 82 const WebKit::WebInputEvent& event, WebKit::WebCursorInfo& cursor_info); |
| 83 virtual bool handleDragStatusUpdate( |
| 84 WebKit::WebDragStatus dragStatus, |
| 85 const WebKit::WebDragData& drag_data, |
| 86 WebKit::WebDragOperationsMask drag_mask, |
| 87 const WebKit::WebPoint& position, |
| 88 const WebKit::WebPoint& screenPosition) OVERRIDE; |
| 83 virtual void didReceiveResponse(const WebKit::WebURLResponse& response); | 89 virtual void didReceiveResponse(const WebKit::WebURLResponse& response); |
| 84 virtual void didReceiveData(const char* data, int data_length); | 90 virtual void didReceiveData(const char* data, int data_length); |
| 85 virtual void didFinishLoading(); | 91 virtual void didFinishLoading(); |
| 86 virtual void didFailLoading(const WebKit::WebURLError& error); | 92 virtual void didFailLoading(const WebKit::WebURLError& error); |
| 87 virtual void didFinishLoadingFrameRequest( | 93 virtual void didFinishLoadingFrameRequest( |
| 88 const WebKit::WebURL& url, void* notify_data); | 94 const WebKit::WebURL& url, void* notify_data); |
| 89 virtual void didFailLoadingFrameRequest( | 95 virtual void didFailLoadingFrameRequest( |
| 90 const WebKit::WebURL& url, void* notify_data, | 96 const WebKit::WebURL& url, void* notify_data, |
| 91 const WebKit::WebURLError& error); | 97 const WebKit::WebURLError& error); |
| 92 virtual bool isPlaceholder() OVERRIDE; | 98 virtual bool isPlaceholder() OVERRIDE; |
| (...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 318 | 324 |
| 319 base::WeakPtrFactory<WebPluginImpl> weak_factory_; | 325 base::WeakPtrFactory<WebPluginImpl> weak_factory_; |
| 320 | 326 |
| 321 DISALLOW_COPY_AND_ASSIGN(WebPluginImpl); | 327 DISALLOW_COPY_AND_ASSIGN(WebPluginImpl); |
| 322 }; | 328 }; |
| 323 | 329 |
| 324 } // namespace npapi | 330 } // namespace npapi |
| 325 } // namespace webkit | 331 } // namespace webkit |
| 326 | 332 |
| 327 #endif // WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_IMPL_H_ | 333 #endif // WEBKIT_PLUGINS_NPAPI_WEBPLUGIN_IMPL_H_ |
| OLD | NEW |