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

Side by Side Diff: Source/WebKit/chromium/src/WebSettingsImpl.h

Issue 14840015: Lose/restore WebGL contexts if multisampling blackist status changes at runtime. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Changed to a more generic SettingsChangedObserver Created 7 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 26 matching lines...) Expand all
37 class Settings; 37 class Settings;
38 } 38 }
39 39
40 namespace WebKit { 40 namespace WebKit {
41 41
42 class WebSettingsImpl : public WebSettings { 42 class WebSettingsImpl : public WebSettings {
43 public: 43 public:
44 explicit WebSettingsImpl(WebCore::Settings*); 44 explicit WebSettingsImpl(WebCore::Settings*);
45 virtual ~WebSettingsImpl() { } 45 virtual ~WebSettingsImpl() { }
46 46
47 virtual void settingsChanged() const;
48
47 virtual bool deviceSupportsTouch(); 49 virtual bool deviceSupportsTouch();
48 virtual bool scrollAnimatorEnabled() const; 50 virtual bool scrollAnimatorEnabled() const;
49 virtual bool touchEditingEnabled() const; 51 virtual bool touchEditingEnabled() const;
50 virtual bool viewportEnabled() const { return m_viewportEnabled; } 52 virtual bool viewportEnabled() const { return m_viewportEnabled; }
51 virtual void setAccelerated2dCanvasEnabled(bool); 53 virtual void setAccelerated2dCanvasEnabled(bool);
52 virtual void setAcceleratedCompositingEnabled(bool); 54 virtual void setAcceleratedCompositingEnabled(bool);
53 virtual void setAcceleratedCompositingFor3DTransformsEnabled(bool); 55 virtual void setAcceleratedCompositingFor3DTransformsEnabled(bool);
54 virtual void setAcceleratedCompositingForAnimationEnabled(bool); 56 virtual void setAcceleratedCompositingForAnimationEnabled(bool);
55 virtual void setAcceleratedCompositingForCanvasEnabled(bool); 57 virtual void setAcceleratedCompositingForCanvasEnabled(bool);
56 virtual void setAcceleratedCompositingForFixedPositionEnabled(bool); 58 virtual void setAcceleratedCompositingForFixedPositionEnabled(bool);
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 bool m_autoZoomFocusedNodeToLegibleScale; 194 bool m_autoZoomFocusedNodeToLegibleScale;
193 bool m_deferredImageDecodingEnabled; 195 bool m_deferredImageDecodingEnabled;
194 bool m_doubleTapToZoomEnabled; 196 bool m_doubleTapToZoomEnabled;
195 bool m_perTilePaintingEnabled; 197 bool m_perTilePaintingEnabled;
196 bool m_supportDeprecatedTargetDensityDPI; 198 bool m_supportDeprecatedTargetDensityDPI;
197 }; 199 };
198 200
199 } // namespace WebKit 201 } // namespace WebKit
200 202
201 #endif 203 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698