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/npobject_stub.h

Issue 375005: When a plugin calls NPN_SetException, pass the exception along to every rende... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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/plugin/npobject_proxy.cc ('k') | chrome/plugin/npobject_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 // A class that receives IPC messages from an NPObjectProxy and calls the real 5 // A class that receives IPC messages from an NPObjectProxy and calls the real
6 // NPObject. 6 // NPObject.
7 7
8 #ifndef CHROME_PLUGIN_NPOBJECT_STUB_H_ 8 #ifndef CHROME_PLUGIN_NPOBJECT_STUB_H_
9 #define CHROME_PLUGIN_NPOBJECT_STUB_H_ 9 #define CHROME_PLUGIN_NPOBJECT_STUB_H_
10 10
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 IPC::Message* reply_msg); 66 IPC::Message* reply_msg);
67 void OnRemoveProperty(const NPIdentifier_Param& name, 67 void OnRemoveProperty(const NPIdentifier_Param& name,
68 bool* result); 68 bool* result);
69 void OnInvalidate(); 69 void OnInvalidate();
70 void OnEnumeration(std::vector<NPIdentifier_Param>* value, 70 void OnEnumeration(std::vector<NPIdentifier_Param>* value,
71 bool* result); 71 bool* result);
72 void OnConstruct(const std::vector<NPVariant_Param>& args, 72 void OnConstruct(const std::vector<NPVariant_Param>& args,
73 IPC::Message* reply_msg); 73 IPC::Message* reply_msg);
74 void OnEvaluate(const std::string& script, bool popups_allowed, 74 void OnEvaluate(const std::string& script, bool popups_allowed,
75 IPC::Message* reply_msg); 75 IPC::Message* reply_msg);
76 void OnSetException(const std::string& message);
77 76
78 private: 77 private:
79 NPObject* npobject_; 78 NPObject* npobject_;
80 scoped_refptr<PluginChannelBase> channel_; 79 scoped_refptr<PluginChannelBase> channel_;
81 int route_id_; 80 int route_id_;
82 gfx::NativeViewId containing_window_; 81 gfx::NativeViewId containing_window_;
83 82
84 // The url of the main frame hosting the plugin. 83 // The url of the main frame hosting the plugin.
85 GURL page_url_; 84 GURL page_url_;
86 }; 85 };
87 86
88 #endif // CHROME_PLUGIN_NPOBJECT_STUB_H_ 87 #endif // CHROME_PLUGIN_NPOBJECT_STUB_H_
OLDNEW
« no previous file with comments | « chrome/plugin/npobject_proxy.cc ('k') | chrome/plugin/npobject_stub.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698