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

Side by Side Diff: content/plugin/webplugin_delegate_stub.h

Issue 12487003: Fix painting glitch with text and NPAPI plugins. This was a regression from r167042. The problem wa… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix silverlight Created 7 years, 9 months 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
« no previous file with comments | « content/common/plugin_messages.h ('k') | content/plugin/webplugin_delegate_stub.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 CONTENT_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H_ 5 #ifndef CONTENT_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H_
6 #define CONTENT_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H_ 6 #define CONTENT_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 int instance_id() { return instance_id_; } 54 int instance_id() { return instance_id_; }
55 WebPluginProxy* webplugin() { return webplugin_; } 55 WebPluginProxy* webplugin() { return webplugin_; }
56 56
57 private: 57 private:
58 friend class base::RefCounted<WebPluginDelegateStub>; 58 friend class base::RefCounted<WebPluginDelegateStub>;
59 59
60 virtual ~WebPluginDelegateStub(); 60 virtual ~WebPluginDelegateStub();
61 61
62 // Message handlers for the WebPluginDelegate calls that are proxied from the 62 // Message handlers for the WebPluginDelegate calls that are proxied from the
63 // renderer over the IPC channel. 63 // renderer over the IPC channel.
64 void OnInit(const PluginMsg_Init_Params& params, bool* result); 64 void OnInit(const PluginMsg_Init_Params& params,
65 bool* transparent,
66 bool* result);
65 void OnWillSendRequest(int id, const GURL& url, int http_status_code); 67 void OnWillSendRequest(int id, const GURL& url, int http_status_code);
66 void OnDidReceiveResponse(const PluginMsg_DidReceiveResponseParams& params); 68 void OnDidReceiveResponse(const PluginMsg_DidReceiveResponseParams& params);
67 void OnDidReceiveData(int id, const std::vector<char>& buffer, 69 void OnDidReceiveData(int id, const std::vector<char>& buffer,
68 int data_offset); 70 int data_offset);
69 void OnDidFinishLoading(int id); 71 void OnDidFinishLoading(int id);
70 void OnDidFail(int id); 72 void OnDidFail(int id);
71 void OnDidFinishLoadWithReason(const GURL& url, int reason, int notify_id); 73 void OnDidFinishLoadWithReason(const GURL& url, int reason, int notify_id);
72 void OnSetFocus(bool focused); 74 void OnSetFocus(bool focused);
73 void OnHandleInputEvent(const WebKit::WebInputEvent* event, 75 void OnHandleInputEvent(const WebKit::WebInputEvent* event,
74 bool* handled, WebCursor* cursor); 76 bool* handled, WebCursor* cursor);
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 void OnSetFakeAcceleratedSurfaceWindowHandle(gfx::PluginWindowHandle window); 134 void OnSetFakeAcceleratedSurfaceWindowHandle(gfx::PluginWindowHandle window);
133 #endif 135 #endif
134 #endif 136 #endif
135 137
136 DISALLOW_IMPLICIT_CONSTRUCTORS(WebPluginDelegateStub); 138 DISALLOW_IMPLICIT_CONSTRUCTORS(WebPluginDelegateStub);
137 }; 139 };
138 140
139 } // namespace content 141 } // namespace content
140 142
141 #endif // CONTENT_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H_ 143 #endif // CONTENT_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H_
OLDNEW
« no previous file with comments | « content/common/plugin_messages.h ('k') | content/plugin/webplugin_delegate_stub.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698