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

Side by Side Diff: content/child/npapi/webplugin_delegate.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 | « content/child/npapi/plugin_instance.cc ('k') | content/child/npapi/webplugin_delegate_impl.h » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 CONTENT_CHILD_NPAPI_WEBPLUGIN_DELEGATE_H_ 5 #ifndef CONTENT_CHILD_NPAPI_WEBPLUGIN_DELEGATE_H_
6 #define CONTENT_CHILD_NPAPI_WEBPLUGIN_DELEGATE_H_ 6 #define CONTENT_CHILD_NPAPI_WEBPLUGIN_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 // Informs the plugin that it has gained or lost focus. This is only called in 70 // Informs the plugin that it has gained or lost focus. This is only called in
71 // windowless mode. 71 // windowless mode.
72 virtual void SetFocus(bool focused) = 0; 72 virtual void SetFocus(bool focused) = 0;
73 73
74 // For windowless plugins, gives them a user event like mouse/keyboard. 74 // For windowless plugins, gives them a user event like mouse/keyboard.
75 // Returns whether the event was handled. This is only called in windowsless 75 // Returns whether the event was handled. This is only called in windowsless
76 // mode. See NPAPI NPP_HandleEvent for more information. 76 // mode. See NPAPI NPP_HandleEvent for more information.
77 virtual bool HandleInputEvent(const blink::WebInputEvent& event, 77 virtual bool HandleInputEvent(const blink::WebInputEvent& event,
78 WebCursor::CursorInfo* cursor) = 0; 78 WebCursor::CursorInfo* cursor) = 0;
79 79
80 // Gets the form value associated with the plugin instance.
81 // Returns false if the value is not available.
82 virtual bool GetFormValue(base::string16* value) = 0;
83
84 // Returns the process id of the process that is running the plugin. 80 // Returns the process id of the process that is running the plugin.
85 virtual int GetProcessId() = 0; 81 virtual int GetProcessId() = 0;
86 }; 82 };
87 83
88 } // namespace content 84 } // namespace content
89 85
90 #endif // CONTENT_CHILD_NPAPI_WEBPLUGIN_DELEGATE_H_ 86 #endif // CONTENT_CHILD_NPAPI_WEBPLUGIN_DELEGATE_H_
OLDNEW
« no previous file with comments | « content/child/npapi/plugin_instance.cc ('k') | content/child/npapi/webplugin_delegate_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698