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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 void setDialogElementEnabled(bool, ExceptionCode&); | 119 void setDialogElementEnabled(bool, ExceptionCode&); |
120 void setShouldDisplayTrackKind(const String& kind, bool enabled, ExceptionCo
de&); | 120 void setShouldDisplayTrackKind(const String& kind, bool enabled, ExceptionCo
de&); |
121 bool shouldDisplayTrackKind(const String& kind, ExceptionCode&); | 121 bool shouldDisplayTrackKind(const String& kind, ExceptionCode&); |
122 void setStorageBlockingPolicy(const String&, ExceptionCode&); | 122 void setStorageBlockingPolicy(const String&, ExceptionCode&); |
123 void setLangAttributeAwareFormControlUIEnabled(bool); | 123 void setLangAttributeAwareFormControlUIEnabled(bool); |
124 void setImagesEnabled(bool enabled, ExceptionCode&); | 124 void setImagesEnabled(bool enabled, ExceptionCode&); |
125 void setMinimumTimerInterval(double intervalInSeconds, ExceptionCode&); | 125 void setMinimumTimerInterval(double intervalInSeconds, ExceptionCode&); |
126 void setDefaultVideoPosterURL(const String& url, ExceptionCode&); | 126 void setDefaultVideoPosterURL(const String& url, ExceptionCode&); |
127 void setTimeWithoutMouseMovementBeforeHidingControls(double time, ExceptionC
ode&); | 127 void setTimeWithoutMouseMovementBeforeHidingControls(double time, ExceptionC
ode&); |
128 void setUseLegacyBackgroundSizeShorthandBehavior(bool enabled, ExceptionCode
&); | 128 void setUseLegacyBackgroundSizeShorthandBehavior(bool enabled, ExceptionCode
&); |
| 129 void setPrimaryPointerDevices(const String&, ExceptionCode&); |
129 | 130 |
130 private: | 131 private: |
131 explicit InternalSettings(Page*); | 132 explicit InternalSettings(Page*); |
132 | 133 |
133 Settings* settings() const; | 134 Settings* settings() const; |
134 Page* page() const { return m_page; } | 135 Page* page() const { return m_page; } |
135 static const char* supplementName(); | 136 static const char* supplementName(); |
136 | 137 |
137 Page* m_page; | 138 Page* m_page; |
138 Backup m_backup; | 139 Backup m_backup; |
139 }; | 140 }; |
140 | 141 |
141 } // namespace WebCore | 142 } // namespace WebCore |
142 | 143 |
143 #endif | 144 #endif |
OLD | NEW |