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

Side by Side Diff: third_party/WebKit/public/web/WebSettings.h

Issue 1860743002: Add a flag to change when android's progress bar completes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 EditingBehaviorAndroid 59 EditingBehaviorAndroid
60 }; 60 };
61 61
62 enum V8CacheOptions { 62 enum V8CacheOptions {
63 V8CacheOptionsDefault, 63 V8CacheOptionsDefault,
64 V8CacheOptionsNone, 64 V8CacheOptionsNone,
65 V8CacheOptionsParse, 65 V8CacheOptionsParse,
66 V8CacheOptionsCode, 66 V8CacheOptionsCode,
67 }; 67 };
68 68
69 enum ProgressBarCompletion {
dcheng 2016/05/10 06:28:50 Ditto
Nate Chapin 2016/05/11 00:06:59 Done.
70 ProgressBarCompletionLoadEvent,
71 ProgressBarCompletionDOMContentLoadedAndImage,
72 ProgressBarCompletionDOMContentLoaded,
73 };
74
69 // Selection strategy defines how the selection granularity changes when the 75 // Selection strategy defines how the selection granularity changes when the
70 // selection extent is moved. 76 // selection extent is moved.
71 enum class SelectionStrategyType { 77 enum class SelectionStrategyType {
72 // Always uses character granularity. 78 // Always uses character granularity.
73 Character, 79 Character,
74 // "Expand by word, shrink by character" selection strategy. 80 // "Expand by word, shrink by character" selection strategy.
75 // Uses character granularity when selection is shrinking. If the 81 // Uses character granularity when selection is shrinking. If the
76 // selection is expanding, granularity doesn't change until a word 82 // selection is expanding, granularity doesn't change until a word
77 // boundary is passed, after which the granularity switches to "word". 83 // boundary is passed, after which the granularity switches to "word".
78 Direction 84 Direction
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 virtual void setImagesEnabled(bool) = 0; 164 virtual void setImagesEnabled(bool) = 0;
159 virtual void setInlineTextBoxAccessibilityEnabled(bool) = 0; 165 virtual void setInlineTextBoxAccessibilityEnabled(bool) = 0;
160 virtual void setInertVisualViewport(bool) = 0; 166 virtual void setInertVisualViewport(bool) = 0;
161 virtual void setJavaScriptCanAccessClipboard(bool) = 0; 167 virtual void setJavaScriptCanAccessClipboard(bool) = 0;
162 virtual void setJavaScriptCanOpenWindowsAutomatically(bool) = 0; 168 virtual void setJavaScriptCanOpenWindowsAutomatically(bool) = 0;
163 virtual void setJavaScriptEnabled(bool) = 0; 169 virtual void setJavaScriptEnabled(bool) = 0;
164 void setLayerSquashingEnabled(bool) { } 170 void setLayerSquashingEnabled(bool) { }
165 virtual void setLoadsImagesAutomatically(bool) = 0; 171 virtual void setLoadsImagesAutomatically(bool) = 0;
166 virtual void setLoadWithOverviewMode(bool) = 0; 172 virtual void setLoadWithOverviewMode(bool) = 0;
167 virtual void setShouldReuseGlobalForUnownedMainFrame(bool) = 0; 173 virtual void setShouldReuseGlobalForUnownedMainFrame(bool) = 0;
174 virtual void setProgressBarCompletion(ProgressBarCompletion) = 0;
168 virtual void setLocalStorageEnabled(bool) = 0; 175 virtual void setLocalStorageEnabled(bool) = 0;
169 virtual void setMainFrameClipsContent(bool) = 0; 176 virtual void setMainFrameClipsContent(bool) = 0;
170 virtual void setMainFrameResizesAreOrientationChanges(bool) = 0; 177 virtual void setMainFrameResizesAreOrientationChanges(bool) = 0;
171 virtual void setMaxTouchPoints(int) = 0; 178 virtual void setMaxTouchPoints(int) = 0;
172 virtual void setMediaControlsOverlayPlayButtonEnabled(bool) = 0; 179 virtual void setMediaControlsOverlayPlayButtonEnabled(bool) = 0;
173 virtual void setMediaPlaybackRequiresUserGesture(bool) = 0; 180 virtual void setMediaPlaybackRequiresUserGesture(bool) = 0;
174 virtual void setPresentationRequiresUserGesture(bool) = 0; 181 virtual void setPresentationRequiresUserGesture(bool) = 0;
175 virtual void setMinimumAccelerated2dCanvasSize(int) = 0; 182 virtual void setMinimumAccelerated2dCanvasSize(int) = 0;
176 virtual void setMinimumFontSize(int) = 0; 183 virtual void setMinimumFontSize(int) = 0;
177 virtual void setMinimumLogicalFontSize(int) = 0; 184 virtual void setMinimumLogicalFontSize(int) = 0;
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 virtual void setWideViewportQuirkEnabled(bool) = 0; 262 virtual void setWideViewportQuirkEnabled(bool) = 0;
256 virtual void setXSSAuditorEnabled(bool) = 0; 263 virtual void setXSSAuditorEnabled(bool) = 0;
257 264
258 protected: 265 protected:
259 ~WebSettings() { } 266 ~WebSettings() { }
260 }; 267 };
261 268
262 } // namespace blink 269 } // namespace blink
263 270
264 #endif 271 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698