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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 bool m_originalCSP; | 56 bool m_originalCSP; |
57 bool m_originalOverlayScrollbarsEnabled; | 57 bool m_originalOverlayScrollbarsEnabled; |
58 EditingBehaviorType m_originalEditingBehavior; | 58 EditingBehaviorType m_originalEditingBehavior; |
59 bool m_originalTextAutosizingEnabled; | 59 bool m_originalTextAutosizingEnabled; |
60 IntSize m_originalTextAutosizingWindowSizeOverride; | 60 IntSize m_originalTextAutosizingWindowSizeOverride; |
61 float m_originalAccessibilityFontScaleFactor; | 61 float m_originalAccessibilityFontScaleFactor; |
62 String m_originalMediaTypeOverride; | 62 String m_originalMediaTypeOverride; |
63 bool m_originalMockScrollbarsEnabled; | 63 bool m_originalMockScrollbarsEnabled; |
64 bool m_langAttributeAwareFormControlUIEnabled; | 64 bool m_langAttributeAwareFormControlUIEnabled; |
65 bool m_imagesEnabled; | 65 bool m_imagesEnabled; |
66 bool m_shouldDisplaySubtitles; | |
67 bool m_shouldDisplayCaptions; | |
68 bool m_shouldDisplayTextDescriptions; | |
69 String m_defaultVideoPosterURL; | 66 String m_defaultVideoPosterURL; |
70 bool m_originalCompositorDrivenAcceleratedScrollEnabled; | 67 bool m_originalCompositorDrivenAcceleratedScrollEnabled; |
71 bool m_originalLayerSquashingEnabled; | 68 bool m_originalLayerSquashingEnabled; |
72 bool m_originalPasswordGenerationDecorationEnabled; | 69 bool m_originalPasswordGenerationDecorationEnabled; |
73 }; | 70 }; |
74 | 71 |
75 static PassRefPtrWillBeRawPtr<InternalSettings> create(Page& page) | 72 static PassRefPtrWillBeRawPtr<InternalSettings> create(Page& page) |
76 { | 73 { |
77 return adoptRefWillBeNoop(new InternalSettings(page)); | 74 return adoptRefWillBeNoop(new InternalSettings(page)); |
78 } | 75 } |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 Page* page() const { return m_page; } | 125 Page* page() const { return m_page; } |
129 static const char* supplementName(); | 126 static const char* supplementName(); |
130 | 127 |
131 Page* m_page; | 128 Page* m_page; |
132 Backup m_backup; | 129 Backup m_backup; |
133 }; | 130 }; |
134 | 131 |
135 } // namespace WebCore | 132 } // namespace WebCore |
136 | 133 |
137 #endif | 134 #endif |
OLD | NEW |