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

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, 1 month 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 // 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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 blink::WebCursorInfo& cursor_info) override; 101 blink::WebCursorInfo& cursor_info) override;
102 bool handleDragStatusUpdate(blink::WebDragStatus drag_status, 102 bool handleDragStatusUpdate(blink::WebDragStatus drag_status,
103 const blink::WebDragData& drag_data, 103 const blink::WebDragData& drag_data,
104 blink::WebDragOperationsMask mask, 104 blink::WebDragOperationsMask mask,
105 const blink::WebPoint& position, 105 const blink::WebPoint& position,
106 const blink::WebPoint& screen) override; 106 const blink::WebPoint& screen) override;
107 void didReceiveResponse(const blink::WebURLResponse& response) override; 107 void didReceiveResponse(const blink::WebURLResponse& response) override;
108 void didReceiveData(const char* data, int data_length) override; 108 void didReceiveData(const char* data, int data_length) override;
109 void didFinishLoading() override; 109 void didFinishLoading() override;
110 void didFailLoading(const blink::WebURLError& error) override; 110 void didFailLoading(const blink::WebURLError& error) override;
111 void didFinishLoadingFrameRequest(const blink::WebURL& url,
112 void* notify_data) override;
113 void didFailLoadingFrameRequest(const blink::WebURL& url,
114 void* notify_data,
115 const blink::WebURLError& error) override;
116 bool executeEditCommand(const blink::WebString& name) override; 111 bool executeEditCommand(const blink::WebString& name) override;
117 bool executeEditCommand(const blink::WebString& name, 112 bool executeEditCommand(const blink::WebString& name,
118 const blink::WebString& value) override; 113 const blink::WebString& value) override;
119 bool setComposition( 114 bool setComposition(
120 const blink::WebString& text, 115 const blink::WebString& text,
121 const blink::WebVector<blink::WebCompositionUnderline>& underlines, 116 const blink::WebVector<blink::WebCompositionUnderline>& underlines,
122 int selectionStart, 117 int selectionStart,
123 int selectionEnd) override; 118 int selectionEnd) override;
124 bool confirmComposition( 119 bool confirmComposition(
125 const blink::WebString& text, 120 const blink::WebString& text,
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
211 // Weak factory used in v8 |MakeWeak| callback, since the v8 callback might 206 // Weak factory used in v8 |MakeWeak| callback, since the v8 callback might
212 // get called after BrowserPlugin has been destroyed. 207 // get called after BrowserPlugin has been destroyed.
213 base::WeakPtrFactory<BrowserPlugin> weak_ptr_factory_; 208 base::WeakPtrFactory<BrowserPlugin> weak_ptr_factory_;
214 209
215 DISALLOW_COPY_AND_ASSIGN(BrowserPlugin); 210 DISALLOW_COPY_AND_ASSIGN(BrowserPlugin);
216 }; 211 };
217 212
218 } // namespace content 213 } // namespace content
219 214
220 #endif // CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_ 215 #endif // CONTENT_RENDERER_BROWSER_PLUGIN_BROWSER_PLUGIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698