summaryrefslogtreecommitdiffstats
path: root/mojo/services/html_viewer/html_document_view.cc
diff options
context:
space:
mode:
authordavemoore@chromium.org <davemoore@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-26 18:24:06 +0000
committerdavemoore@chromium.org <davemoore@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-26 18:24:06 +0000
commit9e77141f7b44164938dc3dafcf82c3bc90ef01cd (patch)
tree22dad00dd24a143a651d29ea0c7dcb2e4e568eaa /mojo/services/html_viewer/html_document_view.cc
parent02089256b85fe7fe83d9088a372944e86ed59774 (diff)
downloadchromium_src-9e77141f7b44164938dc3dafcf82c3bc90ef01cd.zip
chromium_src-9e77141f7b44164938dc3dafcf82c3bc90ef01cd.tar.gz
chromium_src-9e77141f7b44164938dc3dafcf82c3bc90ef01cd.tar.bz2
Remove extraneous namespaces
BUG= Review URL: https://codereview.chromium.org/413353002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@285771 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'mojo/services/html_viewer/html_document_view.cc')
-rw-r--r--mojo/services/html_viewer/html_document_view.cc11
1 files changed, 5 insertions, 6 deletions
diff --git a/mojo/services/html_viewer/html_document_view.cc b/mojo/services/html_viewer/html_document_view.cc
index f133ad0..8c549a7 100644
--- a/mojo/services/html_viewer/html_document_view.cc
+++ b/mojo/services/html_viewer/html_document_view.cc
@@ -40,18 +40,18 @@ void ConfigureSettings(blink::WebSettings* settings) {
settings->setJavaScriptEnabled(true);
}
-navigation::Target WebNavigationPolicyToNavigationTarget(
+Target WebNavigationPolicyToNavigationTarget(
blink::WebNavigationPolicy policy) {
switch (policy) {
case blink::WebNavigationPolicyCurrentTab:
- return navigation::TARGET_SOURCE_NODE;
+ return TARGET_SOURCE_NODE;
case blink::WebNavigationPolicyNewBackgroundTab:
case blink::WebNavigationPolicyNewForegroundTab:
case blink::WebNavigationPolicyNewWindow:
case blink::WebNavigationPolicyNewPopup:
- return navigation::TARGET_NEW_NODE;
+ return TARGET_NEW_NODE;
default:
- return navigation::TARGET_DEFAULT;
+ return TARGET_DEFAULT;
}
}
@@ -160,8 +160,7 @@ blink::WebNavigationPolicy HTMLDocumentView::decidePolicyForNavigation(
if (CanNavigateLocally(frame, request))
return default_policy;
- navigation::NavigationDetailsPtr nav_details(
- navigation::NavigationDetails::New());
+ NavigationDetailsPtr nav_details(NavigationDetails::New());
nav_details->url = request.url().string().utf8();
navigator_host_->RequestNavigate(
view_->node()->id(),