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

Side by Side Diff: third_party/WebKit/Source/modules/notifications/NotificationData.cpp

Issue 2801083003: Rewrite references to "wtf/" to "platform/wtf/" in modules. (Closed)
Patch Set: Rebase again^3. Will try landing directly. Created 3 years, 8 months 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "modules/notifications/NotificationData.h" 5 #include "modules/notifications/NotificationData.h"
6 6
7 #include "bindings/core/v8/ExceptionState.h" 7 #include "bindings/core/v8/ExceptionState.h"
8 #include "bindings/core/v8/SerializedScriptValue.h" 8 #include "bindings/core/v8/SerializedScriptValue.h"
9 #include "bindings/core/v8/SerializedScriptValueFactory.h" 9 #include "bindings/core/v8/SerializedScriptValueFactory.h"
10 #include "core/dom/ExecutionContext.h" 10 #include "core/dom/ExecutionContext.h"
11 #include "modules/notifications/Notification.h" 11 #include "modules/notifications/Notification.h"
12 #include "modules/notifications/NotificationOptions.h" 12 #include "modules/notifications/NotificationOptions.h"
13 #include "modules/vibration/VibrationController.h" 13 #include "modules/vibration/VibrationController.h"
14 #include "platform/wtf/CurrentTime.h"
14 #include "public/platform/WebURL.h" 15 #include "public/platform/WebURL.h"
15 #include "wtf/CurrentTime.h"
16 16
17 namespace blink { 17 namespace blink {
18 namespace { 18 namespace {
19 19
20 WebNotificationData::Direction ToDirectionEnumValue(const String& direction) { 20 WebNotificationData::Direction ToDirectionEnumValue(const String& direction) {
21 if (direction == "ltr") 21 if (direction == "ltr")
22 return WebNotificationData::kDirectionLeftToRight; 22 return WebNotificationData::kDirectionLeftToRight;
23 if (direction == "rtl") 23 if (direction == "rtl")
24 return WebNotificationData::kDirectionRightToLeft; 24 return WebNotificationData::kDirectionRightToLeft;
25 25
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 131
132 actions.push_back(web_action); 132 actions.push_back(web_action);
133 } 133 }
134 134
135 web_data.actions = actions; 135 web_data.actions = actions;
136 136
137 return web_data; 137 return web_data;
138 } 138 }
139 139
140 } // namespace blink 140 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698