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

Side by Side Diff: third_party/WebKit/Source/modules/navigatorcontentutils/NavigatorContentUtilsClient.h

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 /* 1 /*
2 * Copyright (C) 2012 Samsung Electronics. All Rights Reserved. 2 * Copyright (C) 2012 Samsung Electronics. All Rights Reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 11 matching lines...) Expand all
22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
24 */ 24 */
25 25
26 #ifndef NavigatorContentUtilsClient_h 26 #ifndef NavigatorContentUtilsClient_h
27 #define NavigatorContentUtilsClient_h 27 #define NavigatorContentUtilsClient_h
28 28
29 #include "modules/ModulesExport.h" 29 #include "modules/ModulesExport.h"
30 #include "platform/heap/Handle.h" 30 #include "platform/heap/Handle.h"
31 #include "platform/weborigin/KURL.h" 31 #include "platform/weborigin/KURL.h"
32 #include "wtf/Allocator.h" 32 #include "platform/wtf/Allocator.h"
33 #include "wtf/text/WTFString.h" 33 #include "platform/wtf/text/WTFString.h"
34 34
35 namespace blink { 35 namespace blink {
36 36
37 class NavigatorContentUtilsClient 37 class NavigatorContentUtilsClient
38 : public GarbageCollectedFinalized<NavigatorContentUtilsClient> { 38 : public GarbageCollectedFinalized<NavigatorContentUtilsClient> {
39 public: 39 public:
40 virtual ~NavigatorContentUtilsClient() {} 40 virtual ~NavigatorContentUtilsClient() {}
41 virtual void RegisterProtocolHandler(const String& scheme, 41 virtual void RegisterProtocolHandler(const String& scheme,
42 const KURL&, 42 const KURL&,
43 const String& title) = 0; 43 const String& title) = 0;
44 44
45 enum CustomHandlersState { 45 enum CustomHandlersState {
46 kCustomHandlersNew, 46 kCustomHandlersNew,
47 kCustomHandlersRegistered, 47 kCustomHandlersRegistered,
48 kCustomHandlersDeclined 48 kCustomHandlersDeclined
49 }; 49 };
50 50
51 virtual CustomHandlersState IsProtocolHandlerRegistered(const String& scheme, 51 virtual CustomHandlersState IsProtocolHandlerRegistered(const String& scheme,
52 const KURL&) = 0; 52 const KURL&) = 0;
53 virtual void UnregisterProtocolHandler(const String& scheme, const KURL&) = 0; 53 virtual void UnregisterProtocolHandler(const String& scheme, const KURL&) = 0;
54 54
55 DEFINE_INLINE_VIRTUAL_TRACE() {} 55 DEFINE_INLINE_VIRTUAL_TRACE() {}
56 }; 56 };
57 57
58 } // namespace blink 58 } // namespace blink
59 59
60 #endif // NavigatorContentUtilsClient_h 60 #endif // NavigatorContentUtilsClient_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698