Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(397)

Side by Side Diff: webkit/glue/plugins/webplugin_impl.h

Issue 3531008: Integrated Pepper3D v2 with the accelerated compositor.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698