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

Side by Side Diff: webkit/plugins/webview_plugin.cc

Issue 8461011: Clean up plug-in placeholders: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 9 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 | Annotate | Revision Log
« no previous file with comments | « webkit/plugins/webview_plugin.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 // 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 #include "webkit/plugins/npapi/webview_plugin.h" 5 #include "webkit/plugins/webview_plugin.h"
6 6
7 #include "base/message_loop.h" 7 #include "base/message_loop.h"
8 #include "base/metrics/histogram.h" 8 #include "base/metrics/histogram.h"
9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCursorInfo.h" 9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCursorInfo.h"
10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebElement.h" 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebElement.h"
11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" 11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h"
12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" 12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h"
13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPluginContainer.h" 13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPluginContainer.h"
14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSize.h" 14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSize.h"
15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURL.h" 15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURL.h"
(...skipping 22 matching lines...) Expand all
38 using WebKit::WebRect; 38 using WebKit::WebRect;
39 using WebKit::WebSize; 39 using WebKit::WebSize;
40 using WebKit::WebString; 40 using WebKit::WebString;
41 using WebKit::WebURLError; 41 using WebKit::WebURLError;
42 using WebKit::WebURLRequest; 42 using WebKit::WebURLRequest;
43 using WebKit::WebURLResponse; 43 using WebKit::WebURLResponse;
44 using WebKit::WebVector; 44 using WebKit::WebVector;
45 using WebKit::WebView; 45 using WebKit::WebView;
46 46
47 namespace webkit { 47 namespace webkit {
48 namespace npapi {
49 48
50 WebViewPlugin::WebViewPlugin(WebViewPlugin::Delegate* delegate) 49 WebViewPlugin::WebViewPlugin(WebViewPlugin::Delegate* delegate)
51 : delegate_(delegate), 50 : delegate_(delegate),
52 container_(NULL), 51 container_(NULL),
53 finished_loading_(false) { 52 finished_loading_(false) {
54 web_view_ = WebView::create(this); 53 web_view_ = WebView::create(this);
55 web_view_->initializeMainFrame(this); 54 web_view_->initializeMainFrame(this);
56 } 55 }
57 56
58 // static 57 // static
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 error.unreachableURL = request.url(); 242 error.unreachableURL = request.url();
244 return error; 243 return error;
245 } 244 }
246 245
247 void WebViewPlugin::didReceiveResponse(WebFrame* frame, 246 void WebViewPlugin::didReceiveResponse(WebFrame* frame,
248 unsigned identifier, 247 unsigned identifier,
249 const WebURLResponse& response) { 248 const WebURLResponse& response) {
250 WebFrameClient::didReceiveResponse(frame, identifier, response); 249 WebFrameClient::didReceiveResponse(frame, identifier, response);
251 } 250 }
252 251
253 } // namespace npapi
254 } // namespace webkit 252 } // namespace webkit
OLDNEW
« no previous file with comments | « webkit/plugins/webview_plugin.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698