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

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

Issue 2080623002: Revert "Remove OwnPtr from Blink." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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) 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 13 matching lines...) Expand all
24 * DAMAGE. 24 * DAMAGE.
25 */ 25 */
26 26
27 #ifndef NavigatorContentUtils_h 27 #ifndef NavigatorContentUtils_h
28 #define NavigatorContentUtils_h 28 #define NavigatorContentUtils_h
29 29
30 #include "modules/ModulesExport.h" 30 #include "modules/ModulesExport.h"
31 #include "modules/navigatorcontentutils/NavigatorContentUtilsClient.h" 31 #include "modules/navigatorcontentutils/NavigatorContentUtilsClient.h"
32 #include "platform/Supplementable.h" 32 #include "platform/Supplementable.h"
33 #include "platform/heap/Handle.h" 33 #include "platform/heap/Handle.h"
34 #include "wtf/OwnPtr.h"
34 #include "wtf/text/WTFString.h" 35 #include "wtf/text/WTFString.h"
35 36
36 namespace blink { 37 namespace blink {
37 38
38 class ExceptionState; 39 class ExceptionState;
39 class LocalFrame; 40 class LocalFrame;
40 class Navigator; 41 class Navigator;
41 42
42 class MODULES_EXPORT NavigatorContentUtils final : public GarbageCollectedFinali zed<NavigatorContentUtils>, public Supplement<LocalFrame> { 43 class MODULES_EXPORT NavigatorContentUtils final : public GarbageCollectedFinali zed<NavigatorContentUtils>, public Supplement<LocalFrame> {
43 USING_GARBAGE_COLLECTED_MIXIN(NavigatorContentUtils); 44 USING_GARBAGE_COLLECTED_MIXIN(NavigatorContentUtils);
(...skipping 24 matching lines...) Expand all
68 } 69 }
69 70
70 NavigatorContentUtilsClient* client() { return m_client.get(); } 71 NavigatorContentUtilsClient* client() { return m_client.get(); }
71 72
72 Member<NavigatorContentUtilsClient> m_client; 73 Member<NavigatorContentUtilsClient> m_client;
73 }; 74 };
74 75
75 } // namespace blink 76 } // namespace blink
76 77
77 #endif // NavigatorContentUtils_h 78 #endif // NavigatorContentUtils_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698