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

Side by Side Diff: third_party/WebKit/public/web/WebPlugin.h

Issue 1844383003: Remove NPAPI support for form data (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « third_party/WebKit/Source/web/WebPluginContainerImpl.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved.
3 * Copyright (C) 2014 Opera Software ASA. All rights reserved. 3 * Copyright (C) 2014 Opera Software ASA. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are 6 * modification, are permitted provided that the following conditions are
7 * met: 7 * met:
8 * 8 *
9 * * Redistributions of source code must retain the above copyright 9 * * Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 // Must also return nullptr this plugin is scheduled for deletion. 78 // Must also return nullptr this plugin is scheduled for deletion.
79 // 79 //
80 // Note: This container doesn't necessarily own this plugin. For example, 80 // Note: This container doesn't necessarily own this plugin. For example,
81 // if the container has been assigned a new plugin, then the container will 81 // if the container has been assigned a new plugin, then the container will
82 // own the new plugin, not this old plugin. 82 // own the new plugin, not this old plugin.
83 virtual WebPluginContainer* container() const { return nullptr; } 83 virtual WebPluginContainer* container() const { return nullptr; }
84 virtual void containerDidDetachFromParent() { } 84 virtual void containerDidDetachFromParent() { }
85 85
86 virtual v8::Local<v8::Object> v8ScriptableObject(v8::Isolate*) { return v8:: Local<v8::Object>(); } 86 virtual v8::Local<v8::Object> v8ScriptableObject(v8::Isolate*) { return v8:: Local<v8::Object>(); }
87 87
88 // Returns true if the form submission value is successfully obtained
89 // from the plugin. The value would be associated with the name attribute
90 // of the corresponding object element.
91 virtual bool getFormValue(WebString&) { return false; }
92 virtual bool supportsKeyboardFocus() const { return false; } 88 virtual bool supportsKeyboardFocus() const { return false; }
93 virtual bool supportsEditCommands() const { return false; } 89 virtual bool supportsEditCommands() const { return false; }
94 // Returns true if this plugin supports input method, which implements 90 // Returns true if this plugin supports input method, which implements
95 // setComposition() and confirmComposition() below. 91 // setComposition() and confirmComposition() below.
96 virtual bool supportsInputMethod() const { return false; } 92 virtual bool supportsInputMethod() const { return false; }
97 93
98 virtual bool canProcessDrag() const { return false; } 94 virtual bool canProcessDrag() const { return false; }
99 95
100 virtual void updateAllLifecyclePhases() = 0; 96 virtual void updateAllLifecyclePhases() = 0;
101 virtual void paint(WebCanvas*, const WebRect&) = 0; 97 virtual void paint(WebCanvas*, const WebRect&) = 0;
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 178
183 virtual bool isPlaceholder() { return true; } 179 virtual bool isPlaceholder() { return true; }
184 180
185 protected: 181 protected:
186 ~WebPlugin() { } 182 ~WebPlugin() { }
187 }; 183 };
188 184
189 } // namespace blink 185 } // namespace blink
190 186
191 #endif 187 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebPluginContainerImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698