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

Side by Side Diff: sky/engine/web/WebSettingsImpl.h

Issue 737793006: Add compile flag for enabling the compostior (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: cleanup Created 6 years, 1 month 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
« no previous file with comments | « sky/engine/public/web/WebSettings.h ('k') | sky/engine/web/WebSettingsImpl.cpp » ('j') | 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 24 matching lines...) Expand all
35 35
36 namespace blink { 36 namespace blink {
37 37
38 class Settings; 38 class Settings;
39 39
40 class WebSettingsImpl final : public WebSettings { 40 class WebSettingsImpl final : public WebSettings {
41 public: 41 public:
42 explicit WebSettingsImpl(Settings*); 42 explicit WebSettingsImpl(Settings*);
43 virtual ~WebSettingsImpl() { } 43 virtual ~WebSettingsImpl() { }
44 44
45 virtual bool compositorIsEnabled() const override;
45 virtual bool mainFrameResizesAreOrientationChanges() const override; 46 virtual bool mainFrameResizesAreOrientationChanges() const override;
46 virtual bool shrinksViewportContentToFit() const override; 47 virtual bool shrinksViewportContentToFit() const override;
47 virtual int availablePointerTypes() const override; 48 virtual int availablePointerTypes() const override;
48 virtual PointerType primaryPointerType() const override; 49 virtual PointerType primaryPointerType() const override;
49 virtual int availableHoverTypes() const override; 50 virtual int availableHoverTypes() const override;
50 virtual HoverType primaryHoverType() const override; 51 virtual HoverType primaryHoverType() const override;
51 virtual void setAccelerated2dCanvasEnabled(bool) override; 52 virtual void setAccelerated2dCanvasEnabled(bool) override;
52 virtual void setAccelerated2dCanvasMSAASampleCount(int) override; 53 virtual void setAccelerated2dCanvasMSAASampleCount(int) override;
53 virtual void setPreferCompositingToLCDTextEnabled(bool) override; 54 virtual void setPreferCompositingToLCDTextEnabled(bool) override;
54 virtual void setAntialiased2dCanvasEnabled(bool) override; 55 virtual void setAntialiased2dCanvasEnabled(bool) override;
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 bool m_deferredImageDecodingEnabled; 128 bool m_deferredImageDecodingEnabled;
128 bool m_perTilePaintingEnabled; 129 bool m_perTilePaintingEnabled;
129 bool m_supportDeprecatedTargetDensityDPI; 130 bool m_supportDeprecatedTargetDensityDPI;
130 bool m_shrinksViewportContentToFit; 131 bool m_shrinksViewportContentToFit;
131 bool m_mainFrameResizesAreOrientationChanges; 132 bool m_mainFrameResizesAreOrientationChanges;
132 }; 133 };
133 134
134 } // namespace blink 135 } // namespace blink
135 136
136 #endif 137 #endif
OLDNEW
« no previous file with comments | « sky/engine/public/web/WebSettings.h ('k') | sky/engine/web/WebSettingsImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698