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

Side by Side Diff: content/renderer/browser_plugin/browser_plugin.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 | « content/plugin/webplugin_proxy.cc ('k') | content/renderer/browser_plugin/browser_plugin.cc » ('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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_ 5 #ifndef CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_
6 #define CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_ 6 #define CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_
7 7
8 #include "third_party/WebKit/public/web/WebPlugin.h" 8 #include "third_party/WebKit/public/web/WebPlugin.h"
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 blink::WebCursorInfo& cursor_info) override; 102 blink::WebCursorInfo& cursor_info) override;
103 bool handleDragStatusUpdate(blink::WebDragStatus drag_status, 103 bool handleDragStatusUpdate(blink::WebDragStatus drag_status,
104 const blink::WebDragData& drag_data, 104 const blink::WebDragData& drag_data,
105 blink::WebDragOperationsMask mask, 105 blink::WebDragOperationsMask mask,
106 const blink::WebPoint& position, 106 const blink::WebPoint& position,
107 const blink::WebPoint& screen) override; 107 const blink::WebPoint& screen) override;
108 void didReceiveResponse(const blink::WebURLResponse& response) override; 108 void didReceiveResponse(const blink::WebURLResponse& response) override;
109 void didReceiveData(const char* data, int data_length) override; 109 void didReceiveData(const char* data, int data_length) override;
110 void didFinishLoading() override; 110 void didFinishLoading() override;
111 void didFailLoading(const blink::WebURLError& error) override; 111 void didFailLoading(const blink::WebURLError& error) override;
112 void didFinishLoadingFrameRequest(const blink::WebURL& url,
113 void* notify_data) override;
114 void didFailLoadingFrameRequest(const blink::WebURL& url,
115 void* notify_data,
116 const blink::WebURLError& error) override;
117 bool executeEditCommand(const blink::WebString& name) override; 112 bool executeEditCommand(const blink::WebString& name) override;
118 bool executeEditCommand(const blink::WebString& name, 113 bool executeEditCommand(const blink::WebString& name,
119 const blink::WebString& value) override; 114 const blink::WebString& value) override;
120 bool setComposition( 115 bool setComposition(
121 const blink::WebString& text, 116 const blink::WebString& text,
122 const blink::WebVector<blink::WebCompositionUnderline>& underlines, 117 const blink::WebVector<blink::WebCompositionUnderline>& underlines,
123 int selectionStart, 118 int selectionStart,
124 int selectionEnd) override; 119 int selectionEnd) override;
125 bool confirmComposition( 120 bool confirmComposition(
126 const blink::WebString& text, 121 const blink::WebString& text,
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 // Weak factory used in v8 |MakeWeak| callback, since the v8 callback might 207 // Weak factory used in v8 |MakeWeak| callback, since the v8 callback might
213 // get called after BrowserPlugin has been destroyed. 208 // get called after BrowserPlugin has been destroyed.
214 base::WeakPtrFactory<BrowserPlugin> weak_ptr_factory_; 209 base::WeakPtrFactory<BrowserPlugin> weak_ptr_factory_;
215 210
216 DISALLOW_COPY_AND_ASSIGN(BrowserPlugin); 211 DISALLOW_COPY_AND_ASSIGN(BrowserPlugin);
217 }; 212 };
218 213
219 } // namespace content 214 } // namespace content
220 215
221 #endif // CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_ 216 #endif // CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_
OLDNEW
« no previous file with comments | « content/plugin/webplugin_proxy.cc ('k') | content/renderer/browser_plugin/browser_plugin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698