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

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

Issue 2100513002: Delete more probably unused plugin code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 // Once this method has been called, container() must return nullptr. 85 // Once this method has been called, container() must return nullptr.
86 virtual void destroy() = 0; 86 virtual void destroy() = 0;
87 87
88 // Returns the container that this plugin has been initialized with. 88 // Returns the container that this plugin has been initialized with.
89 // Must return nullptr if this plugin is scheduled for deletion. 89 // Must return nullptr if this plugin is scheduled for deletion.
90 // 90 //
91 // NOTE: This container doesn't necessarily own this plugin. For example, 91 // NOTE: This container doesn't necessarily own this plugin. For example,
92 // if the container has been assigned a new plugin, then the container will 92 // if the container has been assigned a new plugin, then the container will
93 // own the new plugin, not this old plugin. 93 // own the new plugin, not this old plugin.
94 virtual WebPluginContainer* container() const { return nullptr; } 94 virtual WebPluginContainer* container() const { return nullptr; }
95 virtual void containerDidDetachFromParent() { }
96 95
97 virtual v8::Local<v8::Object> v8ScriptableObject(v8::Isolate*) { return v8:: Local<v8::Object>(); } 96 virtual v8::Local<v8::Object> v8ScriptableObject(v8::Isolate*) { return v8:: Local<v8::Object>(); }
98 97
99 virtual bool supportsKeyboardFocus() const { return false; } 98 virtual bool supportsKeyboardFocus() const { return false; }
100 virtual bool supportsEditCommands() const { return false; } 99 virtual bool supportsEditCommands() const { return false; }
101 // Returns true if this plugin supports input method, which implements 100 // Returns true if this plugin supports input method, which implements
102 // setComposition() and confirmComposition() below. 101 // setComposition() and confirmComposition() below.
103 virtual bool supportsInputMethod() const { return false; } 102 virtual bool supportsInputMethod() const { return false; }
104 103
105 virtual bool canProcessDrag() const { return false; } 104 virtual bool canProcessDrag() const { return false; }
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 187
189 virtual bool isPlaceholder() { return true; } 188 virtual bool isPlaceholder() { return true; }
190 189
191 protected: 190 protected:
192 ~WebPlugin() { } 191 ~WebPlugin() { }
193 }; 192 };
194 193
195 } // namespace blink 194 } // namespace blink
196 195
197 #endif 196 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698