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