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

Side by Side Diff: Source/modules/navigatorcontentutils/NavigatorContentUtils.cpp

Issue 22875010: Change *webtai* scheme with *wtai* (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 4 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
« no previous file with comments | « LayoutTests/fast/dom/unregister-protocol-handler-expected.txt ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011, Google Inc. All rights reserved. 2 * Copyright (C) 2011, Google Inc. All rights reserved.
3 * Copyright (C) 2012, Samsung Electronics. All rights reserved. 3 * Copyright (C) 2012, Samsung Electronics. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met: 6 * modification, are permitted provided that the following conditions are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 "mms", 55 "mms",
56 "news", 56 "news",
57 "nntp", 57 "nntp",
58 "sip", 58 "sip",
59 "sms", 59 "sms",
60 "smsto", 60 "smsto",
61 "ssh", 61 "ssh",
62 "tel", 62 "tel",
63 "urn", 63 "urn",
64 "webcal", 64 "webcal",
65 "webtai", 65 "wtai",
66 "xmpp", 66 "xmpp",
67 }; 67 };
68 for (size_t i = 0; i < WTF_ARRAY_LENGTH(protocols); ++i) 68 for (size_t i = 0; i < WTF_ARRAY_LENGTH(protocols); ++i)
69 protocolWhitelist->add(protocols[i]); 69 protocolWhitelist->add(protocols[i]);
70 } 70 }
71 71
72 static bool verifyCustomHandlerURL(const String& baseURL, const String& url, Exc eptionState& es) 72 static bool verifyCustomHandlerURL(const String& baseURL, const String& url, Exc eptionState& es)
73 { 73 {
74 // The specification requires that it is a SyntaxError if the "%s" token is 74 // The specification requires that it is a SyntaxError if the "%s" token is
75 // not present. 75 // not present.
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 216
217 void provideNavigatorContentUtilsTo(Page* page, NavigatorContentUtilsClient* cli ent) 217 void provideNavigatorContentUtilsTo(Page* page, NavigatorContentUtilsClient* cli ent)
218 { 218 {
219 RefCountedSupplement<Page, NavigatorContentUtils>::provideTo(page, Navigator ContentUtils::supplementName(), NavigatorContentUtils::create(client)); 219 RefCountedSupplement<Page, NavigatorContentUtils>::provideTo(page, Navigator ContentUtils::supplementName(), NavigatorContentUtils::create(client));
220 } 220 }
221 221
222 } // namespace WebCore 222 } // namespace WebCore
223 223
224 #endif // ENABLE(NAVIGATOR_CONTENT_UTILS) 224 #endif // ENABLE(NAVIGATOR_CONTENT_UTILS)
225 225
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/unregister-protocol-handler-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698