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

Unified Diff: chrome/renderer/loadtimes_extension_bindings.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/renderer/external_host_bindings.cc ('k') | chrome/renderer/media/cast_send_transport.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/loadtimes_extension_bindings.cc
diff --git a/chrome/renderer/loadtimes_extension_bindings.cc b/chrome/renderer/loadtimes_extension_bindings.cc
index 9d323974fe8ff2ab6ecbf64c60af704d5154134b..d2b228d55ab48fd3a40db91dd6fa9ed471b3efec 100644
--- a/chrome/renderer/loadtimes_extension_bindings.cc
+++ b/chrome/renderer/loadtimes_extension_bindings.cc
@@ -12,9 +12,9 @@
#include "third_party/WebKit/public/web/WebFrame.h"
#include "v8/include/v8.h"
-using WebKit::WebDataSource;
-using WebKit::WebFrame;
-using WebKit::WebNavigationType;
+using blink::WebDataSource;
+using blink::WebFrame;
+using blink::WebNavigationType;
using content::DocumentState;
// Values for CSI "tran" property
@@ -64,17 +64,17 @@ class LoadTimesExtensionWrapper : public v8::Extension {
static const char* GetNavigationType(WebNavigationType nav_type) {
switch (nav_type) {
- case WebKit::WebNavigationTypeLinkClicked:
+ case blink::WebNavigationTypeLinkClicked:
return "LinkClicked";
- case WebKit::WebNavigationTypeFormSubmitted:
+ case blink::WebNavigationTypeFormSubmitted:
return "FormSubmitted";
- case WebKit::WebNavigationTypeBackForward:
+ case blink::WebNavigationTypeBackForward:
return "BackForward";
- case WebKit::WebNavigationTypeReload:
+ case blink::WebNavigationTypeReload:
return "Reload";
- case WebKit::WebNavigationTypeFormResubmitted:
+ case blink::WebNavigationTypeFormResubmitted:
return "Resubmitted";
- case WebKit::WebNavigationTypeOther:
+ case blink::WebNavigationTypeOther:
return "Other";
}
return "";
@@ -82,15 +82,15 @@ class LoadTimesExtensionWrapper : public v8::Extension {
static int GetCSITransitionType(WebNavigationType nav_type) {
switch (nav_type) {
- case WebKit::WebNavigationTypeLinkClicked:
- case WebKit::WebNavigationTypeFormSubmitted:
- case WebKit::WebNavigationTypeFormResubmitted:
+ case blink::WebNavigationTypeLinkClicked:
+ case blink::WebNavigationTypeFormSubmitted:
+ case blink::WebNavigationTypeFormResubmitted:
return kTransitionLink;
- case WebKit::WebNavigationTypeBackForward:
+ case blink::WebNavigationTypeBackForward:
return kTransitionForwardBack;
- case WebKit::WebNavigationTypeReload:
+ case blink::WebNavigationTypeReload:
return kTransitionReload;
- case WebKit::WebNavigationTypeOther:
+ case blink::WebNavigationTypeOther:
return kTransitionOther;
}
return kTransitionOther;
« no previous file with comments | « chrome/renderer/external_host_bindings.cc ('k') | chrome/renderer/media/cast_send_transport.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698