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

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

Issue 1426923007: Remove PluginLoadObserver and related logic, it was only used for NPAPI. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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/public/web/WebPlugin.h ('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 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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 // execution, if any. 99 // execution, if any.
100 virtual WebString executeScriptURL(const WebURL&, bool popupsAllowed) = 0; 100 virtual WebString executeScriptURL(const WebURL&, bool popupsAllowed) = 0;
101 101
102 // Loads an URL in the specified frame (or the frame containing this 102 // Loads an URL in the specified frame (or the frame containing this
103 // plugin if target is empty). If notifyNeeded is true, then upon 103 // plugin if target is empty). If notifyNeeded is true, then upon
104 // completion, WebPlugin::didFinishLoadingFrameRequest is called if the 104 // completion, WebPlugin::didFinishLoadingFrameRequest is called if the
105 // load was successful or WebPlugin::didFailLoadingFrameRequest is 105 // load was successful or WebPlugin::didFailLoadingFrameRequest is
106 // called if the load failed. The given notifyData is passed along to 106 // called if the load failed. The given notifyData is passed along to
107 // the callback. 107 // the callback.
108 virtual void loadFrameRequest( 108 virtual void loadFrameRequest(
109 const WebURLRequest&, const WebString& target, bool notifyNeeded, void* notifyData) = 0; 109 const WebURLRequest&, const WebString& target) = 0;
110 110
111 // Determines whether the given rectangle in this plugin is above all other 111 // Determines whether the given rectangle in this plugin is above all other
112 // content. The rectangle is in the plugin's coordinate system. 112 // content. The rectangle is in the plugin's coordinate system.
113 virtual bool isRectTopmost(const WebRect&) = 0; 113 virtual bool isRectTopmost(const WebRect&) = 0;
114 114
115 // Notifies when the plugin changes the kind of touch-events it accepts. 115 // Notifies when the plugin changes the kind of touch-events it accepts.
116 virtual void requestTouchEventType(TouchEventRequestType) = 0; 116 virtual void requestTouchEventType(TouchEventRequestType) = 0;
117 117
118 // Notifies when the plugin starts/stops accepting wheel events. Without 118 // Notifies when the plugin starts/stops accepting wheel events. Without
119 // calling the function with true, the container might not always able to 119 // calling the function with true, the container might not always able to
(...skipping 18 matching lines...) Expand all
138 // WebPluginContainer does *not* take ownership. 138 // WebPluginContainer does *not* take ownership.
139 virtual void setWebLayer(WebLayer*) = 0; 139 virtual void setWebLayer(WebLayer*) = 0;
140 140
141 protected: 141 protected:
142 ~WebPluginContainer() { } 142 ~WebPluginContainer() { }
143 }; 143 };
144 144
145 } // namespace blink 145 } // namespace blink
146 146
147 #endif 147 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/public/web/WebPlugin.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698