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

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

Issue 1612: Implement "iframe shim" behavior for windowed plugins.... (Closed) Base URL: http://src.chromium.org/svn/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/win_util.cc ('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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 60
61 void OnPaint(const gfx::Rect& damaged_rect); 61 void OnPaint(const gfx::Rect& damaged_rect);
62 void OnDidPaint(); 62 void OnDidPaint();
63 63
64 void OnPrint(PluginMsg_PrintResponse_Params* params); 64 void OnPrint(PluginMsg_PrintResponse_Params* params);
65 65
66 void OnUpdateGeometry(const gfx::Rect& window_rect, 66 void OnUpdateGeometry(const gfx::Rect& window_rect,
67 const gfx::Rect& clip_rect, bool visible, 67 const gfx::Rect& clip_rect,
68 const std::vector<gfx::Rect>& cutout_rects,
69 bool visible,
68 const SharedMemoryHandle& windowless_buffer, 70 const SharedMemoryHandle& windowless_buffer,
69 const SharedMemoryHandle& background_buffer); 71 const SharedMemoryHandle& background_buffer);
70 void OnGetPluginScriptableObject(int* route_id, void** npobject_ptr); 72 void OnGetPluginScriptableObject(int* route_id, void** npobject_ptr);
71 void OnSendJavaScriptStream(const std::string& url, 73 void OnSendJavaScriptStream(const std::string& url,
72 const std::wstring& result, 74 const std::wstring& result,
73 bool success, bool notify_needed, 75 bool success, bool notify_needed,
74 int notify_data); 76 int notify_data);
75 77
76 void OnDidReceiveManualResponse( 78 void OnDidReceiveManualResponse(
77 const std::string& url, 79 const std::string& url,
(...skipping 19 matching lines...) Expand all
97 scoped_refptr<PluginChannel> channel_; 99 scoped_refptr<PluginChannel> channel_;
98 100
99 WebPluginDelegateImpl* delegate_; 101 WebPluginDelegateImpl* delegate_;
100 WebPluginProxy* webplugin_; 102 WebPluginProxy* webplugin_;
101 103
102 DISALLOW_EVIL_CONSTRUCTORS(WebPluginDelegateStub); 104 DISALLOW_EVIL_CONSTRUCTORS(WebPluginDelegateStub);
103 }; 105 };
104 106
105 #endif // CHROME_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H__ 107 #endif // CHROME_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H__
106 108
OLDNEW
« no previous file with comments | « chrome/common/win_util.cc ('k') | chrome/plugin/webplugin_delegate_stub.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698