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

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

Issue 160338: Another attempt at landing this patch. ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 4 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 virtual bool Send(IPC::Message* msg); 45 virtual bool Send(IPC::Message* msg);
46 46
47 int instance_id() { return instance_id_; } 47 int instance_id() { return instance_id_; }
48 48
49 private: 49 private:
50 // Message handlers for the WebPluginDelegate calls that are proxied from the 50 // Message handlers for the WebPluginDelegate calls that are proxied from the
51 // renderer over the IPC channel. 51 // renderer over the IPC channel.
52 void OnInit(const PluginMsg_Init_Params& params, bool* result); 52 void OnInit(const PluginMsg_Init_Params& params, bool* result);
53 53
54 void OnWillSendRequest(int id, const GURL& url); 54 void OnWillSendRequest(int id, const GURL& url);
55 void OnDidReceiveResponse(const PluginMsg_DidReceiveResponseParams& params, 55 void OnDidReceiveResponse(const PluginMsg_DidReceiveResponseParams& params);
56 bool* cancel);
57 void OnDidReceiveData(int id, const std::vector<char>& buffer, 56 void OnDidReceiveData(int id, const std::vector<char>& buffer,
58 int data_offset); 57 int data_offset);
59 void OnDidFinishLoading(int id); 58 void OnDidFinishLoading(int id);
60 void OnDidFail(int id); 59 void OnDidFail(int id);
61 60
62 void OnDidFinishLoadWithReason(int reason); 61 void OnDidFinishLoadWithReason(int reason);
63 void OnSetFocus(); 62 void OnSetFocus();
64 void OnHandleInputEvent(const WebKit::WebInputEvent* event, 63 void OnHandleInputEvent(const WebKit::WebInputEvent* event,
65 bool* handled, WebCursor* cursor); 64 bool* handled, WebCursor* cursor);
66 65
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 WebPluginDelegate* delegate_; 104 WebPluginDelegate* delegate_;
106 WebPluginProxy* webplugin_; 105 WebPluginProxy* webplugin_;
107 106
108 // The url of the main frame hosting the plugin. 107 // The url of the main frame hosting the plugin.
109 GURL page_url_; 108 GURL page_url_;
110 109
111 DISALLOW_IMPLICIT_CONSTRUCTORS(WebPluginDelegateStub); 110 DISALLOW_IMPLICIT_CONSTRUCTORS(WebPluginDelegateStub);
112 }; 111 };
113 112
114 #endif // CHROME_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H_ 113 #endif // CHROME_PLUGIN_WEBPLUGIN_DELEGATE_STUB_H_
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