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

Unified Diff: chrome/browser/chrome_content_browser_client.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
Index: chrome/browser/chrome_content_browser_client.cc
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
index 3255a210a4b86cedca12deb9f2ab6b88eb2fd1dc..c330b6e976f48be081df2e1c4363ea741967fd31 100644
--- a/chrome/browser/chrome_content_browser_client.cc
+++ b/chrome/browser/chrome_content_browser_client.cc
@@ -239,7 +239,7 @@
#include "chrome/browser/spellchecker/spellcheck_message_filter.h"
#endif
-using WebKit::WebWindowFeatures;
+using blink::WebWindowFeatures;
using base::FileDescriptor;
using content::AccessTokenStore;
using content::BrowserChildProcessHostIterator;
@@ -1931,7 +1931,7 @@ void ChromeContentBrowserClient::RequestDesktopNotificationPermission(
#endif
}
-WebKit::WebNotificationPresenter::Permission
+blink::WebNotificationPresenter::Permission
ChromeContentBrowserClient::CheckDesktopNotificationPermission(
const GURL& source_origin,
content::ResourceContext* context,
@@ -1941,7 +1941,7 @@ WebKit::WebNotificationPresenter::Permission
// Sometimes a notification may be invoked during the shutdown.
// See http://crbug.com/256638
if (browser_shutdown::IsTryingToQuit())
- return WebKit::WebNotificationPresenter::PermissionNotAllowed;
+ return blink::WebNotificationPresenter::PermissionNotAllowed;
ProfileIOData* io_data = ProfileIOData::FromResourceContext(context);
@@ -1957,15 +1957,15 @@ WebKit::WebNotificationPresenter::Permission
iter != extensions.end(); ++iter) {
NotifierId notifier_id(NotifierId::APPLICATION, (*iter)->id());
if (notification_service->IsNotifierEnabled(notifier_id))
- return WebKit::WebNotificationPresenter::PermissionAllowed;
+ return blink::WebNotificationPresenter::PermissionAllowed;
}
return notification_service->HasPermission(source_origin);
}
- return WebKit::WebNotificationPresenter::PermissionNotAllowed;
+ return blink::WebNotificationPresenter::PermissionNotAllowed;
#else
- return WebKit::WebNotificationPresenter::PermissionAllowed;
+ return blink::WebNotificationPresenter::PermissionAllowed;
#endif
}
« no previous file with comments | « chrome/browser/chrome_content_browser_client.h ('k') | chrome/browser/chromeos/input_method/textinput_test_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698