Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(160)

Side by Side Diff: Source/core/testing/InternalSettings.h

Issue 921833003: Expose APIs for text track settings (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Addressed comments from fs Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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 setTextTrackBackgroundColor(const String&, ExceptionState&);
fs 2015/02/17 09:43:47 These should exist on InternalSettingsGenerated al
srivats 2015/02/18 01:46:52 My bad! I was under the impression that this was r
137 void setTextTrackFontFamily(const String&, ExceptionState&);
138 void setTextTrackFontStyle(const String&, ExceptionState&);
139 void setTextTrackFontVariant(const String&, ExceptionState&);
140 void setTextTrackTextColor(const String&, ExceptionState&);
141 void setTextTrackTextShadow(const String&, ExceptionState&);
142 void setTextTrackTextSize(const String&, ExceptionState&);
143 void setTextTrackWindowColor(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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698