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

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

Issue 2896: This CB fixes the following issues:-... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 3 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 int instance_id() { return instance_id_; } 42 int instance_id() { return instance_id_; }
43 43
44 private: 44 private:
45 // Message handlers for the WebPluginDelegate calls that are proxied from the 45 // Message handlers for the WebPluginDelegate calls that are proxied from the
46 // renderer over the IPC channel. 46 // renderer over the IPC channel.
47 void OnInit(const PluginMsg_Init_Params& params, bool* result); 47 void OnInit(const PluginMsg_Init_Params& params, bool* result);
48 48
49 void OnWillSendRequest(int id, const GURL& url); 49 void OnWillSendRequest(int id, const GURL& url);
50 void OnDidReceiveResponse(const PluginMsg_DidReceiveResponseParams& params, 50 void OnDidReceiveResponse(const PluginMsg_DidReceiveResponseParams& params,
51 bool* cancel); 51 bool* cancel);
52 void OnDidReceiveData(int id, const std::vector<char>& buffer); 52 void OnDidReceiveData(int id, const std::vector<char>& buffer,
53 int data_offset);
53 void OnDidFinishLoading(int id); 54 void OnDidFinishLoading(int id);
54 void OnDidFail(int id); 55 void OnDidFail(int id);
55 56
56 void OnDidFinishLoadWithReason(int reason); 57 void OnDidFinishLoadWithReason(int reason);
57 void OnSetFocus(); 58 void OnSetFocus();
58 void OnHandleEvent(const NPEvent& event, bool* handled, 59 void OnHandleEvent(const NPEvent& event, bool* handled,
59 WebCursor* cursor); 60 WebCursor* cursor);
60 61
61 void OnPaint(const PluginMsg_Paint_Params& params); 62 void OnPaint(const PluginMsg_Paint_Params& params);
62 63
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 scoped_refptr<PluginChannel> channel_; 105 scoped_refptr<PluginChannel> channel_;
105 106
106 WebPluginDelegateImpl* delegate_; 107 WebPluginDelegateImpl* delegate_;
107 WebPluginProxy* webplugin_; 108 WebPluginProxy* webplugin_;
108 109
109 DISALLOW_EVIL_CONSTRUCTORS(WebPluginDelegateStub); 110 DISALLOW_EVIL_CONSTRUCTORS(WebPluginDelegateStub);
110 }; 111 };
111 112
112 #endif // CHROME_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H__ 113 #endif // CHROME_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H__
113 114
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