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

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

Issue 5040: Fix painting problem with transparent plugins because plugins were ignoring t... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 2 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 | « chrome/common/plugin_messages_internal.h ('k') | chrome/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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 CHROME_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H__ 5 #ifndef CHROME_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H__
6 #define CHROME_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H__ 6 #define CHROME_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H__
7 7
8 #include <queue> 8 #include <queue>
9 9
10 #include "base/gfx/rect.h" 10 #include "base/gfx/rect.h"
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 bool* cancel); 50 bool* cancel);
51 void OnDidReceiveData(int id, const std::vector<char>& buffer, 51 void OnDidReceiveData(int id, const std::vector<char>& buffer,
52 int data_offset); 52 int data_offset);
53 void OnDidFinishLoading(int id); 53 void OnDidFinishLoading(int id);
54 void OnDidFail(int id); 54 void OnDidFail(int id);
55 55
56 void OnDidFinishLoadWithReason(int reason); 56 void OnDidFinishLoadWithReason(int reason);
57 void OnSetFocus(); 57 void OnSetFocus();
58 void OnHandleEvent(const NPEvent& event, bool* handled, 58 void OnHandleEvent(const NPEvent& event, bool* handled,
59 WebCursor* cursor); 59 WebCursor* cursor);
60
61 void OnPaint(const gfx::Rect& damaged_rect);
62 void OnDidPaint();
63
60 void OnPrint(PluginMsg_PrintResponse_Params* params); 64 void OnPrint(PluginMsg_PrintResponse_Params* params);
65
61 void OnUpdateGeometry(const gfx::Rect& window_rect, 66 void OnUpdateGeometry(const gfx::Rect& window_rect,
62 const gfx::Rect& clip_rect, bool visible, 67 const gfx::Rect& clip_rect, bool visible,
63 const SharedMemoryHandle& windowless_buffer, 68 const SharedMemoryHandle& windowless_buffer,
64 const SharedMemoryLock& lock); 69 const SharedMemoryHandle& background_buffer);
65 void OnGetPluginScriptableObject(int* route_id, void** npobject_ptr); 70 void OnGetPluginScriptableObject(int* route_id, void** npobject_ptr);
66 void OnSendJavaScriptStream(const std::string& url, 71 void OnSendJavaScriptStream(const std::string& url,
67 const std::wstring& result, 72 const std::wstring& result,
68 bool success, bool notify_needed, 73 bool success, bool notify_needed,
69 int notify_data); 74 int notify_data);
70 75
71 void OnDidReceiveManualResponse( 76 void OnDidReceiveManualResponse(
72 const std::string& url, 77 const std::string& url,
73 const PluginMsg_DidReceiveResponseParams& params); 78 const PluginMsg_DidReceiveResponseParams& params);
74 void OnDidReceiveManualData(const std::vector<char>& buffer); 79 void OnDidReceiveManualData(const std::vector<char>& buffer);
(...skipping 17 matching lines...) Expand all
92 scoped_refptr<PluginChannel> channel_; 97 scoped_refptr<PluginChannel> channel_;
93 98
94 WebPluginDelegateImpl* delegate_; 99 WebPluginDelegateImpl* delegate_;
95 WebPluginProxy* webplugin_; 100 WebPluginProxy* webplugin_;
96 101
97 DISALLOW_EVIL_CONSTRUCTORS(WebPluginDelegateStub); 102 DISALLOW_EVIL_CONSTRUCTORS(WebPluginDelegateStub);
98 }; 103 };
99 104
100 #endif // CHROME_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H__ 105 #endif // CHROME_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H__
101 106
OLDNEW
« no previous file with comments | « chrome/common/plugin_messages_internal.h ('k') | chrome/plugin/webplugin_delegate_stub.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698