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 24 matching lines...) Expand all Loading... |
35 #include "wtf/text/WTFString.h" | 35 #include "wtf/text/WTFString.h" |
36 | 36 |
37 namespace WebCore { | 37 namespace WebCore { |
38 | 38 |
39 class Document; | 39 class Document; |
40 class ExceptionState; | 40 class ExceptionState; |
41 class Frame; | 41 class Frame; |
42 class Page; | 42 class Page; |
43 class Settings; | 43 class Settings; |
44 | 44 |
45 class InternalSettings : public InternalSettingsGenerated { | 45 class InternalSettings FINAL : public InternalSettingsGenerated { |
46 public: | 46 public: |
47 class Backup { | 47 class Backup { |
48 public: | 48 public: |
49 explicit Backup(Settings*); | 49 explicit Backup(Settings*); |
50 void restoreTo(Settings*); | 50 void restoreTo(Settings*); |
51 | 51 |
52 bool m_originalCSSExclusionsEnabled; | 52 bool m_originalCSSExclusionsEnabled; |
53 bool m_originalAuthorShadowDOMForAnyElementEnabled; | 53 bool m_originalAuthorShadowDOMForAnyElementEnabled; |
54 bool m_originalExperimentalWebSocketEnabled; | 54 bool m_originalExperimentalWebSocketEnabled; |
55 bool m_originalStyleScoped; | 55 bool m_originalStyleScoped; |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 Page* page() const { return m_page; } | 126 Page* page() const { return m_page; } |
127 static const char* supplementName(); | 127 static const char* supplementName(); |
128 | 128 |
129 Page* m_page; | 129 Page* m_page; |
130 Backup m_backup; | 130 Backup m_backup; |
131 }; | 131 }; |
132 | 132 |
133 } // namespace WebCore | 133 } // namespace WebCore |
134 | 134 |
135 #endif | 135 #endif |
OLD | NEW |