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

Side by Side Diff: third_party/WebKit/Source/web/WebSettingsImpl.h

Issue 2192493003: Enable GPU acceleration in 2D OffscreenCanvases on main thread (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix dev tools failure Created 4 years, 4 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 class WEB_EXPORT WebSettingsImpl final : WTF_NON_EXPORTED_BASE(public WebSetting s) { 44 class WEB_EXPORT WebSettingsImpl final : WTF_NON_EXPORTED_BASE(public WebSetting s) {
45 public: 45 public:
46 WebSettingsImpl(Settings*, DevToolsEmulator*); 46 WebSettingsImpl(Settings*, DevToolsEmulator*);
47 virtual ~WebSettingsImpl() { } 47 virtual ~WebSettingsImpl() { }
48 48
49 void setFromStrings(const WebString& name, const WebString& value) override; 49 void setFromStrings(const WebString& name, const WebString& value) override;
50 50
51 bool mainFrameResizesAreOrientationChanges() const override; 51 bool mainFrameResizesAreOrientationChanges() const override;
52 bool shrinksViewportContentToFit() const override; 52 bool shrinksViewportContentToFit() const override;
53 bool viewportEnabled() const override; 53 bool viewportEnabled() const override;
54 void setAccelerated2dCanvasEnabled(bool) override;
55 void setAccelerated2dCanvasMSAASampleCount(int) override; 54 void setAccelerated2dCanvasMSAASampleCount(int) override;
56 void setAcceleratedCompositingEnabled(bool) override; 55 void setAcceleratedCompositingEnabled(bool) override;
57 void setPreferCompositingToLCDTextEnabled(bool) override; 56 void setPreferCompositingToLCDTextEnabled(bool) override;
58 void setAccessibilityEnabled(bool) override; 57 void setAccessibilityEnabled(bool) override;
59 void setAccessibilityPasswordValuesEnabled(bool) override; 58 void setAccessibilityPasswordValuesEnabled(bool) override;
60 void setAllowDisplayOfInsecureContent(bool) override; 59 void setAllowDisplayOfInsecureContent(bool) override;
61 void setAllowFileAccessFromFileURLs(bool) override; 60 void setAllowFileAccessFromFileURLs(bool) override;
62 void setAllowCustomScrollbarInMainFrame(bool) override; 61 void setAllowCustomScrollbarInMainFrame(bool) override;
63 void setAllowGeolocationOnInsecureOrigins(bool) override; 62 void setAllowGeolocationOnInsecureOrigins(bool) override;
64 void setAllowRunningOfInsecureContent(bool) override; 63 void setAllowRunningOfInsecureContent(bool) override;
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 bool m_viewportMetaNonUserScalableQuirk; 231 bool m_viewportMetaNonUserScalableQuirk;
233 // This quirk is to maintain compatibility with Android apps built on 232 // This quirk is to maintain compatibility with Android apps built on
234 // the Android SDK prior to and including version 18. Presumably, this 233 // the Android SDK prior to and including version 18. Presumably, this
235 // can be removed any time after 2015. See http://crbug.com/313754. 234 // can be removed any time after 2015. See http://crbug.com/313754.
236 bool m_clobberUserAgentInitialScaleQuirk; 235 bool m_clobberUserAgentInitialScaleQuirk;
237 }; 236 };
238 237
239 } // namespace blink 238 } // namespace blink
240 239
241 #endif 240 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebRuntimeFeatures.cpp ('k') | third_party/WebKit/Source/web/WebSettingsImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698