| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_GLUE_WEBPLUGIN_IMPL_H_ | 5 #ifndef WEBKIT_GLUE_WEBPLUGIN_IMPL_H_ |
| 6 #define WEBKIT_GLUE_WEBPLUGIN_IMPL_H_ | 6 #define WEBKIT_GLUE_WEBPLUGIN_IMPL_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <map> | 9 #include <map> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 // WebKit::WebPlugin methods: | 66 // WebKit::WebPlugin methods: |
| 67 virtual bool initialize( | 67 virtual bool initialize( |
| 68 WebKit::WebPluginContainer* container); | 68 WebKit::WebPluginContainer* container); |
| 69 virtual void destroy(); | 69 virtual void destroy(); |
| 70 virtual NPObject* scriptableObject(); | 70 virtual NPObject* scriptableObject(); |
| 71 virtual void paint( | 71 virtual void paint( |
| 72 WebKit::WebCanvas* canvas, const WebKit::WebRect& paint_rect); | 72 WebKit::WebCanvas* canvas, const WebKit::WebRect& paint_rect); |
| 73 virtual void updateGeometry( | 73 virtual void updateGeometry( |
| 74 const WebKit::WebRect& frame_rect, const WebKit::WebRect& clip_rect, | 74 const WebKit::WebRect& frame_rect, const WebKit::WebRect& clip_rect, |
| 75 const WebKit::WebVector<WebKit::WebRect>& cut_outs, bool is_visible); | 75 const WebKit::WebVector<WebKit::WebRect>& cut_outs, bool is_visible); |
| 76 virtual unsigned getBackingTextureId(); |
| 76 virtual void updateFocus(bool focused); | 77 virtual void updateFocus(bool focused); |
| 77 virtual void updateVisibility(bool visible); | 78 virtual void updateVisibility(bool visible); |
| 78 virtual bool acceptsInputEvents(); | 79 virtual bool acceptsInputEvents(); |
| 79 virtual bool handleInputEvent( | 80 virtual bool handleInputEvent( |
| 80 const WebKit::WebInputEvent& event, WebKit::WebCursorInfo& cursor_info); | 81 const WebKit::WebInputEvent& event, WebKit::WebCursorInfo& cursor_info); |
| 81 virtual void didReceiveResponse(const WebKit::WebURLResponse& response); | 82 virtual void didReceiveResponse(const WebKit::WebURLResponse& response); |
| 82 virtual void didReceiveData(const char* data, int data_length); | 83 virtual void didReceiveData(const char* data, int data_length); |
| 83 virtual void didFinishLoading(); | 84 virtual void didFinishLoading(); |
| 84 virtual void didFailLoading(const WebKit::WebURLError& error); | 85 virtual void didFailLoading(const WebKit::WebURLError& error); |
| 85 virtual void didFinishLoadingFrameRequest( | 86 virtual void didFinishLoadingFrameRequest( |
| (...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 317 std::vector<std::string> arg_values_; | 318 std::vector<std::string> arg_values_; |
| 318 | 319 |
| 319 ScopedRunnableMethodFactory<WebPluginImpl> method_factory_; | 320 ScopedRunnableMethodFactory<WebPluginImpl> method_factory_; |
| 320 | 321 |
| 321 DISALLOW_COPY_AND_ASSIGN(WebPluginImpl); | 322 DISALLOW_COPY_AND_ASSIGN(WebPluginImpl); |
| 322 }; | 323 }; |
| 323 | 324 |
| 324 } // namespace webkit_glue | 325 } // namespace webkit_glue |
| 325 | 326 |
| 326 #endif // #ifndef WEBKIT_GLUE_WEBPLUGIN_IMPL_H_ | 327 #endif // #ifndef WEBKIT_GLUE_WEBPLUGIN_IMPL_H_ |
| OLD | NEW |