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

Unified Diff: content/renderer/context_menu_params_builder.cc

Issue 63253002: Rename WebKit namespace to blink (part 3) (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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/renderer/context_menu_params_builder.h ('k') | content/renderer/cpp_bound_class_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/context_menu_params_builder.cc
diff --git a/content/renderer/context_menu_params_builder.cc b/content/renderer/context_menu_params_builder.cc
index e8cd0789cc1da9ff143f6065ccf7c4f25eaf0a76..f8644592b472363f6dfa7ea72bd86f367125ba6d 100644
--- a/content/renderer/context_menu_params_builder.cc
+++ b/content/renderer/context_menu_params_builder.cc
@@ -16,7 +16,7 @@ namespace content {
// static
ContextMenuParams ContextMenuParamsBuilder::Build(
- const WebKit::WebContextMenuData& data) {
+ const blink::WebContextMenuData& data) {
ContextMenuParams params;
params.media_type = data.mediaType;
params.x = data.mousePosition.x;
@@ -55,7 +55,7 @@ ContextMenuParams ContextMenuParamsBuilder::Build(
params.frame_page_state = HistoryItemToPageState(data.frameHistoryItem);
if (!params.link_url.is_empty()) {
- WebKit::WebNode selectedNode = data.node;
+ blink::WebNode selectedNode = data.node;
// If there are other embedded tags (like <a ..>Some <b>text</b></a>)
// we need to extract the parent <a/> node.
@@ -63,7 +63,7 @@ ContextMenuParams ContextMenuParamsBuilder::Build(
selectedNode = selectedNode.parentNode();
}
- WebKit::WebElement selectedElement = selectedNode.to<WebKit::WebElement>();
+ blink::WebElement selectedElement = selectedNode.to<blink::WebElement>();
if (selectedNode.isLink() && !selectedElement.isNull()) {
params.link_text = selectedElement.innerText();
} else {
« no previous file with comments | « content/renderer/context_menu_params_builder.h ('k') | content/renderer/cpp_bound_class_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698