| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Google Inc. All rights reserved. | 2 * Copyright (C) 2012 Google Inc. All rights reserved. |
| 3 * Copyright (C) 2013 Apple Inc. All rights reserved. | 3 * Copyright (C) 2013 Apple Inc. 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 | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 8 * | 8 * |
| 9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
| 10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 class LocalFrame; | 42 class LocalFrame; |
| 43 class Page; | 43 class Page; |
| 44 class Settings; | 44 class Settings; |
| 45 | 45 |
| 46 #if ENABLE(OILPAN) | 46 #if ENABLE(OILPAN) |
| 47 class InternalSettings FINAL : public InternalSettingsGenerated, public HeapSupp
lement<Page> { | 47 class InternalSettings FINAL : public InternalSettingsGenerated, public HeapSupp
lement<Page> { |
| 48 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(InternalSettings); | 48 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(InternalSettings); |
| 49 #else | 49 #else |
| 50 class InternalSettings FINAL : public InternalSettingsGenerated { | 50 class InternalSettings FINAL : public InternalSettingsGenerated { |
| 51 #endif | 51 #endif |
| 52 DEFINE_WRAPPERTYPEINFO(); |
| 52 public: | 53 public: |
| 53 class Backup { | 54 class Backup { |
| 54 public: | 55 public: |
| 55 explicit Backup(Settings*); | 56 explicit Backup(Settings*); |
| 56 void restoreTo(Settings*); | 57 void restoreTo(Settings*); |
| 57 | 58 |
| 58 bool m_originalAuthorShadowDOMForAnyElementEnabled; | 59 bool m_originalAuthorShadowDOMForAnyElementEnabled; |
| 59 bool m_originalCSP; | 60 bool m_originalCSP; |
| 60 bool m_originalLaxMixedContentCheckingEnabled; | 61 bool m_originalLaxMixedContentCheckingEnabled; |
| 61 bool m_originalOverlayScrollbarsEnabled; | 62 bool m_originalOverlayScrollbarsEnabled; |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 Settings* settings() const; | 133 Settings* settings() const; |
| 133 Page* page() const { return m_page; } | 134 Page* page() const { return m_page; } |
| 134 static const char* supplementName(); | 135 static const char* supplementName(); |
| 135 | 136 |
| 136 RawPtrWillBeWeakMember<Page> m_page; | 137 RawPtrWillBeWeakMember<Page> m_page; |
| 137 Backup m_backup; | 138 Backup m_backup; |
| 138 }; | 139 }; |
| 139 | 140 |
| 140 } // namespace blink | 141 } // namespace blink |
| 141 | 142 |
| 142 #endif | 143 #endif // InternalSettings_h |
| OLD | NEW |