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

Side by Side Diff: components/plugins/renderer/plugin_placeholder.cc

Issue 63273002: Rename WebKit namespace to blink (part 4) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
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 #include "components/plugins/renderer/plugin_placeholder.h" 5 #include "components/plugins/renderer/plugin_placeholder.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/bind_helpers.h" 8 #include "base/bind_helpers.h"
9 #include "base/json/string_escape.h" 9 #include "base/json/string_escape.h"
10 #include "base/strings/string_piece.h" 10 #include "base/strings/string_piece.h"
11 #include "base/strings/string_util.h" 11 #include "base/strings/string_util.h"
12 #include "base/strings/utf_string_conversions.h" 12 #include "base/strings/utf_string_conversions.h"
13 #include "base/values.h" 13 #include "base/values.h"
14 #include "content/public/common/content_constants.h" 14 #include "content/public/common/content_constants.h"
15 #include "content/public/common/context_menu_params.h" 15 #include "content/public/common/context_menu_params.h"
16 #include "content/public/renderer/render_thread.h" 16 #include "content/public/renderer/render_thread.h"
17 #include "content/public/renderer/render_view.h" 17 #include "content/public/renderer/render_view.h"
18 #include "third_party/WebKit/public/web/WebDocument.h" 18 #include "third_party/WebKit/public/web/WebDocument.h"
19 #include "third_party/WebKit/public/web/WebElement.h" 19 #include "third_party/WebKit/public/web/WebElement.h"
20 #include "third_party/WebKit/public/web/WebFrame.h" 20 #include "third_party/WebKit/public/web/WebFrame.h"
21 #include "third_party/WebKit/public/web/WebInputEvent.h" 21 #include "third_party/WebKit/public/web/WebInputEvent.h"
22 #include "third_party/WebKit/public/web/WebPluginContainer.h" 22 #include "third_party/WebKit/public/web/WebPluginContainer.h"
23 #include "third_party/WebKit/public/web/WebScriptSource.h" 23 #include "third_party/WebKit/public/web/WebScriptSource.h"
24 #include "third_party/WebKit/public/web/WebView.h" 24 #include "third_party/WebKit/public/web/WebView.h"
25 #include "third_party/re2/re2/re2.h" 25 #include "third_party/re2/re2/re2.h"
26 26
27 using content::RenderThread; 27 using content::RenderThread;
28 using WebKit::WebElement; 28 using blink::WebElement;
29 using WebKit::WebFrame; 29 using blink::WebFrame;
30 using WebKit::WebMouseEvent; 30 using blink::WebMouseEvent;
31 using WebKit::WebNode; 31 using blink::WebNode;
32 using WebKit::WebPlugin; 32 using blink::WebPlugin;
33 using WebKit::WebPluginContainer; 33 using blink::WebPluginContainer;
34 using WebKit::WebPluginParams; 34 using blink::WebPluginParams;
35 using WebKit::WebScriptSource; 35 using blink::WebScriptSource;
36 using WebKit::WebURLRequest; 36 using blink::WebURLRequest;
37 using webkit_glue::CppArgumentList; 37 using webkit_glue::CppArgumentList;
38 using webkit_glue::CppVariant; 38 using webkit_glue::CppVariant;
39 39
40 namespace plugins { 40 namespace plugins {
41 41
42 PluginPlaceholder::PluginPlaceholder(content::RenderView* render_view, 42 PluginPlaceholder::PluginPlaceholder(content::RenderView* render_view,
43 WebFrame* frame, 43 WebFrame* frame,
44 const WebPluginParams& params, 44 const WebPluginParams& params,
45 const std::string& html_data, 45 const std::string& html_data,
46 GURL placeholderDataUrl) 46 GURL placeholderDataUrl)
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 } 231 }
232 232
233 const content::WebPluginInfo& PluginPlaceholder::GetPluginInfo() const { 233 const content::WebPluginInfo& PluginPlaceholder::GetPluginInfo() const {
234 return plugin_info_; 234 return plugin_info_;
235 } 235 }
236 236
237 void PluginPlaceholder::SetIdentifier(const std::string& identifier) { 237 void PluginPlaceholder::SetIdentifier(const std::string& identifier) {
238 identifier_ = identifier; 238 identifier_ = identifier;
239 } 239 }
240 240
241 WebKit::WebFrame* PluginPlaceholder::GetFrame() { return frame_; } 241 blink::WebFrame* PluginPlaceholder::GetFrame() { return frame_; }
242 242
243 const WebKit::WebPluginParams& PluginPlaceholder::GetPluginParams() const { 243 const blink::WebPluginParams& PluginPlaceholder::GetPluginParams() const {
244 return plugin_params_; 244 return plugin_params_;
245 } 245 }
246 246
247 } // namespace plugins 247 } // namespace plugins
OLDNEW
« no previous file with comments | « components/plugins/renderer/plugin_placeholder.h ('k') | components/plugins/renderer/webview_plugin.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698