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

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

Issue 922893002: Merge the Sky Engine changes from the SkyDart branch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « sky/engine/web/WebRange.cpp ('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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 virtual void setShouldClearDocumentBackground(bool) override; 94 virtual void setShouldClearDocumentBackground(bool) override;
95 virtual void setShouldRespectImageOrientation(bool) override; 95 virtual void setShouldRespectImageOrientation(bool) override;
96 virtual void setShowPaintRects(bool) override; 96 virtual void setShowPaintRects(bool) override;
97 virtual void setShrinksViewportContentToFit(bool) override; 97 virtual void setShrinksViewportContentToFit(bool) override;
98 virtual void setSmartInsertDeleteEnabled(bool) override; 98 virtual void setSmartInsertDeleteEnabled(bool) override;
99 virtual void setStandardFontFamily(const WebString&, UScriptCode = USCRIPT_C OMMON) override; 99 virtual void setStandardFontFamily(const WebString&, UScriptCode = USCRIPT_C OMMON) override;
100 virtual void setSupportDeprecatedTargetDensityDPI(bool) override; 100 virtual void setSupportDeprecatedTargetDensityDPI(bool) override;
101 virtual void setTouchEditingEnabled(bool) override; 101 virtual void setTouchEditingEnabled(bool) override;
102 virtual void setUnifiedTextCheckerEnabled(bool) override; 102 virtual void setUnifiedTextCheckerEnabled(bool) override;
103 virtual void setUseWideViewport(bool) override; 103 virtual void setUseWideViewport(bool) override;
104 virtual void setV8CacheOptions(V8CacheOptions) override;
105 virtual void setWebGLErrorsToConsoleEnabled(bool) override; 104 virtual void setWebGLErrorsToConsoleEnabled(bool) override;
106 105
107 bool showPaintRects() const { return m_showPaintRects; } 106 bool showPaintRects() const { return m_showPaintRects; }
108 bool renderVSyncNotificationEnabled() const { return m_renderVSyncNotificati onEnabled; } 107 bool renderVSyncNotificationEnabled() const { return m_renderVSyncNotificati onEnabled; }
109 bool perTilePaintingEnabled() const { return m_perTilePaintingEnabled; } 108 bool perTilePaintingEnabled() const { return m_perTilePaintingEnabled; }
110 bool supportDeprecatedTargetDensityDPI() const { return m_supportDeprecatedT argetDensityDPI; } 109 bool supportDeprecatedTargetDensityDPI() const { return m_supportDeprecatedT argetDensityDPI; }
111 110
112 void setMockGestureTapHighlightsEnabled(bool); 111 void setMockGestureTapHighlightsEnabled(bool);
113 bool mockGestureTapHighlightsEnabled() const; 112 bool mockGestureTapHighlightsEnabled() const;
114 113
115 private: 114 private:
116 Settings* m_settings; 115 Settings* m_settings;
117 bool m_showPaintRects; 116 bool m_showPaintRects;
118 bool m_renderVSyncNotificationEnabled; 117 bool m_renderVSyncNotificationEnabled;
119 bool m_deferredImageDecodingEnabled; 118 bool m_deferredImageDecodingEnabled;
120 bool m_perTilePaintingEnabled; 119 bool m_perTilePaintingEnabled;
121 bool m_supportDeprecatedTargetDensityDPI; 120 bool m_supportDeprecatedTargetDensityDPI;
122 bool m_shrinksViewportContentToFit; 121 bool m_shrinksViewportContentToFit;
123 bool m_mainFrameResizesAreOrientationChanges; 122 bool m_mainFrameResizesAreOrientationChanges;
124 }; 123 };
125 124
126 } // namespace blink 125 } // namespace blink
127 126
128 #endif // SKY_ENGINE_WEB_WEBSETTINGSIMPL_H_ 127 #endif // SKY_ENGINE_WEB_WEBSETTINGSIMPL_H_
OLDNEW
« no previous file with comments | « sky/engine/web/WebRange.cpp ('k') | sky/engine/web/WebSettingsImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698