| 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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 107 void setResolutionOverride(int dotsPerCSSInchHorizontally, int dotsPerCSSInc
hVertically, ExceptionCode&); | 107 void setResolutionOverride(int dotsPerCSSInchHorizontally, int dotsPerCSSInc
hVertically, ExceptionCode&); |
| 108 void setMediaTypeOverride(const String& mediaType, ExceptionCode&); | 108 void setMediaTypeOverride(const String& mediaType, ExceptionCode&); |
| 109 void setCSSExclusionsEnabled(bool enabled, ExceptionCode&); | 109 void setCSSExclusionsEnabled(bool enabled, ExceptionCode&); |
| 110 void setCSSVariablesEnabled(bool enabled, ExceptionCode&); | 110 void setCSSVariablesEnabled(bool enabled, ExceptionCode&); |
| 111 bool cssVariablesEnabled(ExceptionCode&); | 111 bool cssVariablesEnabled(ExceptionCode&); |
| 112 void setCanStartMedia(bool, ExceptionCode&); | 112 void setCanStartMedia(bool, ExceptionCode&); |
| 113 void setEditingBehavior(const String&, ExceptionCode&); | 113 void setEditingBehavior(const String&, ExceptionCode&); |
| 114 void setDialogElementEnabled(bool, ExceptionCode&); | 114 void setDialogElementEnabled(bool, ExceptionCode&); |
| 115 void setShouldDisplayTrackKind(const String& kind, bool enabled, ExceptionCo
de&); | 115 void setShouldDisplayTrackKind(const String& kind, bool enabled, ExceptionCo
de&); |
| 116 bool shouldDisplayTrackKind(const String& kind, ExceptionCode&); | 116 bool shouldDisplayTrackKind(const String& kind, ExceptionCode&); |
| 117 void setStorageBlockingPolicy(const String&, ExceptionCode&); | |
| 118 void setLangAttributeAwareFormControlUIEnabled(bool); | 117 void setLangAttributeAwareFormControlUIEnabled(bool); |
| 119 void setImagesEnabled(bool enabled, ExceptionCode&); | 118 void setImagesEnabled(bool enabled, ExceptionCode&); |
| 120 void setMinimumTimerInterval(double intervalInSeconds, ExceptionCode&); | 119 void setMinimumTimerInterval(double intervalInSeconds, ExceptionCode&); |
| 121 void setDefaultVideoPosterURL(const String& url, ExceptionCode&); | 120 void setDefaultVideoPosterURL(const String& url, ExceptionCode&); |
| 122 void setTimeWithoutMouseMovementBeforeHidingControls(double time, ExceptionC
ode&); | 121 void setTimeWithoutMouseMovementBeforeHidingControls(double time, ExceptionC
ode&); |
| 123 | 122 |
| 124 private: | 123 private: |
| 125 explicit InternalSettings(Page*); | 124 explicit InternalSettings(Page*); |
| 126 | 125 |
| 127 Settings* settings() const; | 126 Settings* settings() const; |
| 128 Page* page() const { return m_page; } | 127 Page* page() const { return m_page; } |
| 129 static const char* supplementName(); | 128 static const char* supplementName(); |
| 130 | 129 |
| 131 Page* m_page; | 130 Page* m_page; |
| 132 Backup m_backup; | 131 Backup m_backup; |
| 133 }; | 132 }; |
| 134 | 133 |
| 135 } // namespace WebCore | 134 } // namespace WebCore |
| 136 | 135 |
| 137 #endif | 136 #endif |
| OLD | NEW |