| 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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 void setLinkHeaderEnabled(bool); | 126 void setLinkHeaderEnabled(bool); |
| 127 | 127 |
| 128 virtual void trace(Visitor*) override; | 128 virtual void trace(Visitor*) override; |
| 129 | 129 |
| 130 void setAvailablePointerTypes(const String&, ExceptionState&); | 130 void setAvailablePointerTypes(const String&, ExceptionState&); |
| 131 void setPrimaryPointerType(const String&, ExceptionState&); | 131 void setPrimaryPointerType(const String&, ExceptionState&); |
| 132 void setAvailableHoverTypes(const String&, ExceptionState&); | 132 void setAvailableHoverTypes(const String&, ExceptionState&); |
| 133 void setPrimaryHoverType(const String&, ExceptionState&); | 133 void setPrimaryHoverType(const String&, ExceptionState&); |
| 134 void setDnsPrefetchLogging(bool, ExceptionState&); | 134 void setDnsPrefetchLogging(bool, ExceptionState&); |
| 135 | 135 |
| 136 void setTextTrackTextColor(const String&, ExceptionState&); |
| 137 void setTextTrackBackgroundColor(const String&, ExceptionState&); |
| 138 void setTextTrackWindowColor(const String&, ExceptionState&); |
| 139 void setTextTrackTextShadow(const String&, ExceptionState&); |
| 140 void setTextTrackTextSize(const String&, ExceptionState&); |
| 141 void setTextTrackFontFamily(const String&, ExceptionState&); |
| 142 void setTextTrackFontStyle(const String&, ExceptionState&); |
| 143 void setTextTrackFontVariant(const String&, ExceptionState&); |
| 144 |
| 136 private: | 145 private: |
| 137 explicit InternalSettings(Page&); | 146 explicit InternalSettings(Page&); |
| 138 | 147 |
| 139 Settings* settings() const; | 148 Settings* settings() const; |
| 140 Page* page() const { return m_page; } | 149 Page* page() const { return m_page; } |
| 141 static const char* supplementName(); | 150 static const char* supplementName(); |
| 142 | 151 |
| 143 RawPtrWillBeWeakMember<Page> m_page; | 152 RawPtrWillBeWeakMember<Page> m_page; |
| 144 Backup m_backup; | 153 Backup m_backup; |
| 145 }; | 154 }; |
| 146 | 155 |
| 147 } // namespace blink | 156 } // namespace blink |
| 148 | 157 |
| 149 #endif // InternalSettings_h | 158 #endif // InternalSettings_h |
| OLD | NEW |