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

Side by Side Diff: components/plugins/renderer/webview_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
« no previous file with comments | « no previous file | components/test_runner/test_plugin.h » ('j') | content/child/npapi/plugin_host.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 COMPONENTS_PLUGINS_RENDERER_WEBVIEW_PLUGIN_H_ 5 #ifndef COMPONENTS_PLUGINS_RENDERER_WEBVIEW_PLUGIN_H_
6 #define COMPONENTS_PLUGINS_RENDERER_WEBVIEW_PLUGIN_H_ 6 #define COMPONENTS_PLUGINS_RENDERER_WEBVIEW_PLUGIN_H_
7 7
8 #include <list> 8 #include <list>
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 102
103 bool acceptsInputEvents() override; 103 bool acceptsInputEvents() override;
104 bool handleInputEvent(const blink::WebInputEvent& event, 104 bool handleInputEvent(const blink::WebInputEvent& event,
105 blink::WebCursorInfo& cursor_info) override; 105 blink::WebCursorInfo& cursor_info) override;
106 106
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 111
112 // Called in response to WebPluginContainer::loadFrameRequest
113 void didFinishLoadingFrameRequest(const blink::WebURL& url,
114 void* notifyData) override {}
115 void didFailLoadingFrameRequest(const blink::WebURL& url,
116 void* notify_data,
117 const blink::WebURLError& error) override {}
118
119 // WebViewClient methods: 112 // WebViewClient methods:
120 bool acceptsLoadDrops() override; 113 bool acceptsLoadDrops() override;
121 114
122 void setToolTipText(const blink::WebString&, 115 void setToolTipText(const blink::WebString&,
123 blink::WebTextDirection) override; 116 blink::WebTextDirection) override;
124 117
125 void startDragging(blink::WebLocalFrame* frame, 118 void startDragging(blink::WebLocalFrame* frame,
126 const blink::WebDragData& drag_data, 119 const blink::WebDragData& drag_data,
127 blink::WebDragOperationsMask mask, 120 blink::WebDragOperationsMask mask,
128 const blink::WebImage& image, 121 const blink::WebImage& image,
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 170
178 blink::WebURLResponse response_; 171 blink::WebURLResponse response_;
179 std::list<std::string> data_; 172 std::list<std::string> data_;
180 scoped_ptr<blink::WebURLError> error_; 173 scoped_ptr<blink::WebURLError> error_;
181 blink::WebString old_title_; 174 blink::WebString old_title_;
182 bool finished_loading_; 175 bool finished_loading_;
183 bool focused_; 176 bool focused_;
184 }; 177 };
185 178
186 #endif // COMPONENTS_PLUGINS_RENDERER_WEBVIEW_PLUGIN_H_ 179 #endif // COMPONENTS_PLUGINS_RENDERER_WEBVIEW_PLUGIN_H_
OLDNEW
« no previous file with comments | « no previous file | components/test_runner/test_plugin.h » ('j') | content/child/npapi/plugin_host.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698