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

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

Issue 302993003: Route selection bounds updates through WebLayerTreeView (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Attach to proper scrolling layer Created 6 years, 6 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
« public/web/WebSelection.h ('K') | « public/web/WebSelection.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 // these functions have a 1:1 mapping with the methods in WebCore/page/Settings. h. 45 // these functions have a 1:1 mapping with the methods in WebCore/page/Settings. h.
46 class WebSettings { 46 class WebSettings {
47 public: 47 public:
48 enum EditingBehavior { 48 enum EditingBehavior {
49 EditingBehaviorMac, 49 EditingBehaviorMac,
50 EditingBehaviorWin, 50 EditingBehaviorWin,
51 EditingBehaviorUnix, 51 EditingBehaviorUnix,
52 EditingBehaviorAndroid 52 EditingBehaviorAndroid
53 }; 53 };
54 54
55 virtual bool compositedSelectionUpdatesEnabled() const = 0;
55 virtual bool mainFrameResizesAreOrientationChanges() const = 0; 56 virtual bool mainFrameResizesAreOrientationChanges() const = 0;
56 virtual bool shrinksViewportContentToFit() const = 0; 57 virtual bool shrinksViewportContentToFit() const = 0;
57 virtual bool scrollAnimatorEnabled() const = 0; 58 virtual bool scrollAnimatorEnabled() const = 0;
58 virtual bool touchEditingEnabled() const = 0; 59 virtual bool touchEditingEnabled() const = 0;
59 virtual bool viewportEnabled() const = 0; 60 virtual bool viewportEnabled() const = 0;
60 virtual bool viewportMetaEnabled() const = 0; 61 virtual bool viewportMetaEnabled() const = 0;
61 virtual void setAccelerated2dCanvasEnabled(bool) = 0; 62 virtual void setAccelerated2dCanvasEnabled(bool) = 0;
62 virtual void setAccelerated2dCanvasMSAASampleCount(int) = 0; 63 virtual void setAccelerated2dCanvasMSAASampleCount(int) = 0;
63 virtual void setAcceleratedCompositingEnabled(bool) = 0; 64 virtual void setAcceleratedCompositingEnabled(bool) = 0;
64 virtual void setAcceleratedCompositingForCanvasEnabled(bool) = 0; 65 virtual void setAcceleratedCompositingForCanvasEnabled(bool) = 0;
(...skipping 24 matching lines...) Expand all
89 // set to the frame may override the value set by this method. 90 // set to the frame may override the value set by this method.
90 virtual void setAllowConnectingInsecureWebSocket(bool) = 0; 91 virtual void setAllowConnectingInsecureWebSocket(bool) = 0;
91 virtual void setAllowScriptsToCloseWindows(bool) = 0; 92 virtual void setAllowScriptsToCloseWindows(bool) = 0;
92 virtual void setAllowUniversalAccessFromFileURLs(bool) = 0; 93 virtual void setAllowUniversalAccessFromFileURLs(bool) = 0;
93 virtual void setAntialiased2dCanvasEnabled(bool) = 0; 94 virtual void setAntialiased2dCanvasEnabled(bool) = 0;
94 virtual void setAsynchronousSpellCheckingEnabled(bool) = 0; 95 virtual void setAsynchronousSpellCheckingEnabled(bool) = 0;
95 virtual void setAutoZoomFocusedNodeToLegibleScale(bool) = 0; 96 virtual void setAutoZoomFocusedNodeToLegibleScale(bool) = 0;
96 virtual void setCaretBrowsingEnabled(bool) = 0; 97 virtual void setCaretBrowsingEnabled(bool) = 0;
97 virtual void setClobberUserAgentInitialScaleQuirk(bool) = 0; 98 virtual void setClobberUserAgentInitialScaleQuirk(bool) = 0;
98 virtual void setCompositedScrollingForFramesEnabled(bool) = 0; 99 virtual void setCompositedScrollingForFramesEnabled(bool) = 0;
100 virtual void setCompositedSelectionUpdatesEnabled(bool) = 0;
99 virtual void setCompositorTouchHitTesting(bool) = 0; 101 virtual void setCompositorTouchHitTesting(bool) = 0;
100 virtual void setContainerCullingEnabled(bool) = 0; 102 virtual void setContainerCullingEnabled(bool) = 0;
101 virtual void setCookieEnabled(bool) = 0; 103 virtual void setCookieEnabled(bool) = 0;
102 virtual void setNavigateOnDragDrop(bool) = 0; 104 virtual void setNavigateOnDragDrop(bool) = 0;
103 virtual void setCursiveFontFamily(const WebString&, UScriptCode = USCRIPT_CO MMON) = 0; 105 virtual void setCursiveFontFamily(const WebString&, UScriptCode = USCRIPT_CO MMON) = 0;
104 virtual void setDNSPrefetchingEnabled(bool) = 0; 106 virtual void setDNSPrefetchingEnabled(bool) = 0;
105 virtual void setDOMPasteAllowed(bool) = 0; 107 virtual void setDOMPasteAllowed(bool) = 0;
106 virtual void setDefaultFixedFontSize(int) = 0; 108 virtual void setDefaultFixedFontSize(int) = 0;
107 virtual void setDefaultFontSize(int) = 0; 109 virtual void setDefaultFontSize(int) = 0;
108 virtual void setDefaultTextEncodingName(const WebString&) = 0; 110 virtual void setDefaultTextEncodingName(const WebString&) = 0;
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 virtual void setWideViewportQuirkEnabled(bool) = 0; 208 virtual void setWideViewportQuirkEnabled(bool) = 0;
207 virtual void setXSSAuditorEnabled(bool) = 0; 209 virtual void setXSSAuditorEnabled(bool) = 0;
208 210
209 protected: 211 protected:
210 ~WebSettings() { } 212 ~WebSettings() { }
211 }; 213 };
212 214
213 } // namespace blink 215 } // namespace blink
214 216
215 #endif 217 #endif
OLDNEW
« public/web/WebSelection.h ('K') | « public/web/WebSelection.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698