| OLD | NEW |
| 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 14 matching lines...) Expand all Loading... |
| 25 */ | 25 */ |
| 26 | 26 |
| 27 #ifndef NavigatorContentUtils_h | 27 #ifndef NavigatorContentUtils_h |
| 28 #define NavigatorContentUtils_h | 28 #define NavigatorContentUtils_h |
| 29 | 29 |
| 30 #include "core/frame/Navigator.h" | 30 #include "core/frame/Navigator.h" |
| 31 #include "modules/ModulesExport.h" | 31 #include "modules/ModulesExport.h" |
| 32 #include "modules/navigatorcontentutils/NavigatorContentUtilsClient.h" | 32 #include "modules/navigatorcontentutils/NavigatorContentUtilsClient.h" |
| 33 #include "platform/Supplementable.h" | 33 #include "platform/Supplementable.h" |
| 34 #include "platform/heap/Handle.h" | 34 #include "platform/heap/Handle.h" |
| 35 #include "wtf/text/WTFString.h" | 35 #include "platform/wtf/text/WTFString.h" |
| 36 | 36 |
| 37 namespace blink { | 37 namespace blink { |
| 38 | 38 |
| 39 class ExceptionState; | 39 class ExceptionState; |
| 40 class Navigator; | 40 class Navigator; |
| 41 | 41 |
| 42 class MODULES_EXPORT NavigatorContentUtils final | 42 class MODULES_EXPORT NavigatorContentUtils final |
| 43 : public GarbageCollectedFinalized<NavigatorContentUtils>, | 43 : public GarbageCollectedFinalized<NavigatorContentUtils>, |
| 44 public Supplement<Navigator> { | 44 public Supplement<Navigator> { |
| 45 USING_GARBAGE_COLLECTED_MIXIN(NavigatorContentUtils); | 45 USING_GARBAGE_COLLECTED_MIXIN(NavigatorContentUtils); |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 : Supplement<Navigator>(navigator), client_(client) {} | 78 : Supplement<Navigator>(navigator), client_(client) {} |
| 79 | 79 |
| 80 NavigatorContentUtilsClient* Client() { return client_.Get(); } | 80 NavigatorContentUtilsClient* Client() { return client_.Get(); } |
| 81 | 81 |
| 82 Member<NavigatorContentUtilsClient> client_; | 82 Member<NavigatorContentUtilsClient> client_; |
| 83 }; | 83 }; |
| 84 | 84 |
| 85 } // namespace blink | 85 } // namespace blink |
| 86 | 86 |
| 87 #endif // NavigatorContentUtils_h | 87 #endif // NavigatorContentUtils_h |
| OLD | NEW |