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

Unified Diff: content/renderer/active_notification_tracker.h

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
Index: content/renderer/active_notification_tracker.h
diff --git a/content/renderer/active_notification_tracker.h b/content/renderer/active_notification_tracker.h
index 6591eae334ff38bcabd37550107f3b329408755b..d4d710ae0870a11f59b825fe52d0d9103055dbfe 100644
--- a/content/renderer/active_notification_tracker.h
+++ b/content/renderer/active_notification_tracker.h
@@ -13,7 +13,7 @@
#include "content/common/content_export.h"
#include "third_party/WebKit/public/web/WebNotification.h"
-namespace WebKit {
+namespace blink {
class WebNotificationPermissionCallback;
}
@@ -28,16 +28,16 @@ class CONTENT_EXPORT ActiveNotificationTracker {
~ActiveNotificationTracker();
// Methods for tracking active notification objects.
- int RegisterNotification(const WebKit::WebNotification& notification);
+ int RegisterNotification(const blink::WebNotification& notification);
void UnregisterNotification(int id);
- bool GetId(const WebKit::WebNotification& notification, int& id);
- bool GetNotification(int id, WebKit::WebNotification* notification);
+ bool GetId(const blink::WebNotification& notification, int& id);
+ bool GetNotification(int id, blink::WebNotification* notification);
// Methods for tracking active permission requests.
int RegisterPermissionRequest(
- WebKit::WebNotificationPermissionCallback* callback);
+ blink::WebNotificationPermissionCallback* callback);
void OnPermissionRequestComplete(int id);
- WebKit::WebNotificationPermissionCallback* GetCallback(int id);
+ blink::WebNotificationPermissionCallback* GetCallback(int id);
// Clears out all active notifications. Useful on page navigation.
void Clear();
@@ -47,12 +47,12 @@ class CONTENT_EXPORT ActiveNotificationTracker {
void DetachAll();
private:
- typedef std::map<WebKit::WebNotification, int> ReverseTable;
+ typedef std::map<blink::WebNotification, int> ReverseTable;
// Tracking maps for active notifications and permission requests.
- IDMap<WebKit::WebNotification> notification_table_;
+ IDMap<blink::WebNotification> notification_table_;
ReverseTable reverse_notification_table_;
- IDMap<WebKit::WebNotificationPermissionCallback> callback_table_;
+ IDMap<blink::WebNotificationPermissionCallback> callback_table_;
DISALLOW_COPY_AND_ASSIGN(ActiveNotificationTracker);
};
« no previous file with comments | « content/renderer/accessibility/renderer_accessibility_focus_only.cc ('k') | content/renderer/active_notification_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698