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

Side by Side Diff: third_party/WebKit/Source/web/WebPluginContainerImpl.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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 WILL_BE_USING_PRE_FINALIZER(WebPluginContainerImpl, dispose); 66 WILL_BE_USING_PRE_FINALIZER(WebPluginContainerImpl, dispose);
67 public: 67 public:
68 static PassRefPtrWillBeRawPtr<WebPluginContainerImpl> create(HTMLPlugInEleme nt* element, WebPlugin* webPlugin) 68 static PassRefPtrWillBeRawPtr<WebPluginContainerImpl> create(HTMLPlugInEleme nt* element, WebPlugin* webPlugin)
69 { 69 {
70 return adoptRefWillBeNoop(new WebPluginContainerImpl(element, webPlugin) ); 70 return adoptRefWillBeNoop(new WebPluginContainerImpl(element, webPlugin) );
71 } 71 }
72 72
73 // PluginView methods 73 // PluginView methods
74 WebLayer* platformLayer() const override; 74 WebLayer* platformLayer() const override;
75 v8::Local<v8::Object> scriptableObject(v8::Isolate*) override; 75 v8::Local<v8::Object> scriptableObject(v8::Isolate*) override;
76 bool getFormValue(String&) override;
77 bool supportsKeyboardFocus() const override; 76 bool supportsKeyboardFocus() const override;
78 bool supportsInputMethod() const override; 77 bool supportsInputMethod() const override;
79 bool canProcessDrag() const override; 78 bool canProcessDrag() const override;
80 bool wantsWheelEvents() override; 79 bool wantsWheelEvents() override;
81 void updateAllLifecyclePhases() override; 80 void updateAllLifecyclePhases() override;
82 void invalidatePaintIfNeeded() override { issuePaintInvalidations(); } 81 void invalidatePaintIfNeeded() override { issuePaintInvalidations(); }
83 82
84 // Widget methods 83 // Widget methods
85 void setFrameRect(const IntRect&) override; 84 void setFrameRect(const IntRect&) override;
86 void paint(GraphicsContext&, const CullRect&) const override; 85 void paint(GraphicsContext&, const CullRect&) const override;
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 }; 204 };
206 205
207 DEFINE_TYPE_CASTS(WebPluginContainerImpl, Widget, widget, widget->isPluginContai ner(), widget.isPluginContainer()); 206 DEFINE_TYPE_CASTS(WebPluginContainerImpl, Widget, widget, widget->isPluginContai ner(), widget.isPluginContainer());
208 // Unlike Widget, we need not worry about object type for container. 207 // Unlike Widget, we need not worry about object type for container.
209 // WebPluginContainerImpl is the only subclass of WebPluginContainer. 208 // WebPluginContainerImpl is the only subclass of WebPluginContainer.
210 DEFINE_TYPE_CASTS(WebPluginContainerImpl, WebPluginContainer, container, true, t rue); 209 DEFINE_TYPE_CASTS(WebPluginContainerImpl, WebPluginContainer, container, true, t rue);
211 210
212 } // namespace blink 211 } // namespace blink
213 212
214 #endif 213 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/plugins/PluginView.h ('k') | third_party/WebKit/Source/web/WebPluginContainerImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698