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

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

Issue 2339873002: Replace hide-scrollbars flag with a web setting. (Closed)
Patch Set: Add missing plumbing of hide_scrollbars preference. Created 4 years, 3 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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 void setCursiveFontFamily(const AtomicString& family, const String& script, ExceptionState&); 91 void setCursiveFontFamily(const AtomicString& family, const String& script, ExceptionState&);
92 void setFantasyFontFamily(const AtomicString& family, const String& script, ExceptionState&); 92 void setFantasyFontFamily(const AtomicString& family, const String& script, ExceptionState&);
93 void setPictographFontFamily(const AtomicString& family, const String& scrip t, ExceptionState&); 93 void setPictographFontFamily(const AtomicString& family, const String& scrip t, ExceptionState&);
94 94
95 void setDefaultVideoPosterURL(const String& url, ExceptionState&); 95 void setDefaultVideoPosterURL(const String& url, ExceptionState&);
96 void setEditingBehavior(const String&, ExceptionState&); 96 void setEditingBehavior(const String&, ExceptionState&);
97 void setImagesEnabled(bool, ExceptionState&); 97 void setImagesEnabled(bool, ExceptionState&);
98 void setMediaTypeOverride(const String& mediaType, ExceptionState&); 98 void setMediaTypeOverride(const String& mediaType, ExceptionState&);
99 void setDisplayModeOverride(const String& displayMode, ExceptionState&); 99 void setDisplayModeOverride(const String& displayMode, ExceptionState&);
100 void setMockScrollbarsEnabled(bool, ExceptionState&); 100 void setMockScrollbarsEnabled(bool, ExceptionState&);
101 void setHideScrollbars(bool, ExceptionState&);
101 void setMockGestureTapHighlightsEnabled(bool, ExceptionState&); 102 void setMockGestureTapHighlightsEnabled(bool, ExceptionState&);
102 void setTextAutosizingEnabled(bool, ExceptionState&); 103 void setTextAutosizingEnabled(bool, ExceptionState&);
103 void setTextTrackKindUserPreference(const String& preference, ExceptionState &); 104 void setTextTrackKindUserPreference(const String& preference, ExceptionState &);
104 void setAccessibilityFontScaleFactor(float fontScaleFactor, ExceptionState&) ; 105 void setAccessibilityFontScaleFactor(float fontScaleFactor, ExceptionState&) ;
105 void setTextAutosizingWindowSizeOverride(int width, int height, ExceptionSta te&); 106 void setTextAutosizingWindowSizeOverride(int width, int height, ExceptionSta te&);
106 void setViewportEnabled(bool, ExceptionState&); 107 void setViewportEnabled(bool, ExceptionState&);
107 void setViewportMetaEnabled(bool, ExceptionState&); 108 void setViewportMetaEnabled(bool, ExceptionState&);
108 void setViewportStyle(const String& preference, ExceptionState&); 109 void setViewportStyle(const String& preference, ExceptionState&);
109 void setCompositorWorkerEnabled(bool, ExceptionState&); 110 void setCompositorWorkerEnabled(bool, ExceptionState&);
110 111
(...skipping 23 matching lines...) Expand all
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 WeakMember<Page> m_page; 138 WeakMember<Page> m_page;
138 Backup m_backup; 139 Backup m_backup;
139 }; 140 };
140 141
141 } // namespace blink 142 } // namespace blink
142 143
143 #endif // InternalSettings_h 144 #endif // InternalSettings_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698