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

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

Issue 24272003: [DevTools] Blink-side APIs for device metrics emulation in content. (Closed) Base URL: svn://svn.chromium.org/blink/trunk/
Patch Set: Rebase Created 7 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « public/web/WebDevToolsAgentClient.h ('k') | public/web/WebView.h » ('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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 virtual void setIgnoreMainFrameOverflowHiddenQuirk(bool) = 0; 115 virtual void setIgnoreMainFrameOverflowHiddenQuirk(bool) = 0;
116 virtual void setImagesEnabled(bool) = 0; 116 virtual void setImagesEnabled(bool) = 0;
117 virtual void setJavaEnabled(bool) = 0; 117 virtual void setJavaEnabled(bool) = 0;
118 virtual void setJavaScriptCanAccessClipboard(bool) = 0; 118 virtual void setJavaScriptCanAccessClipboard(bool) = 0;
119 virtual void setJavaScriptCanOpenWindowsAutomatically(bool) = 0; 119 virtual void setJavaScriptCanOpenWindowsAutomatically(bool) = 0;
120 virtual void setJavaScriptEnabled(bool) = 0; 120 virtual void setJavaScriptEnabled(bool) = 0;
121 virtual void setLayoutFallbackWidth(int) = 0; 121 virtual void setLayoutFallbackWidth(int) = 0;
122 virtual void setLoadsImagesAutomatically(bool) = 0; 122 virtual void setLoadsImagesAutomatically(bool) = 0;
123 virtual void setLoadWithOverviewMode(bool) = 0; 123 virtual void setLoadWithOverviewMode(bool) = 0;
124 virtual void setLocalStorageEnabled(bool) = 0; 124 virtual void setLocalStorageEnabled(bool) = 0;
125 virtual void setMainFrameClipsContent(bool) = 0;
125 virtual void setMediaPlaybackRequiresUserGesture(bool) = 0; 126 virtual void setMediaPlaybackRequiresUserGesture(bool) = 0;
126 virtual void setMediaFullscreenRequiresUserGesture(bool) = 0; 127 virtual void setMediaFullscreenRequiresUserGesture(bool) = 0;
127 virtual void setMemoryInfoEnabled(bool) = 0; 128 virtual void setMemoryInfoEnabled(bool) = 0;
128 virtual void setMinimumAccelerated2dCanvasSize(int) = 0; 129 virtual void setMinimumAccelerated2dCanvasSize(int) = 0;
129 virtual void setMinimumFontSize(int) = 0; 130 virtual void setMinimumFontSize(int) = 0;
130 virtual void setMinimumLogicalFontSize(int) = 0; 131 virtual void setMinimumLogicalFontSize(int) = 0;
131 virtual void setMockScrollbarsEnabled(bool) = 0; 132 virtual void setMockScrollbarsEnabled(bool) = 0;
132 virtual void setNeedsSiteSpecificQuirks(bool) = 0; 133 virtual void setNeedsSiteSpecificQuirks(bool) = 0;
133 virtual void setOfflineWebApplicationCacheEnabled(bool) = 0; 134 virtual void setOfflineWebApplicationCacheEnabled(bool) = 0;
134 virtual void setOpenGLMultisamplingEnabled(bool) = 0; 135 virtual void setOpenGLMultisamplingEnabled(bool) = 0;
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 void setFixedElementsLayoutRelativeToFrame(bool) { } 194 void setFixedElementsLayoutRelativeToFrame(bool) { }
194 void setInitializeAtMinimumPageScale(bool enabled) { setLoadWithOverviewMode (enabled); } 195 void setInitializeAtMinimumPageScale(bool enabled) { setLoadWithOverviewMode (enabled); }
195 196
196 protected: 197 protected:
197 ~WebSettings() { } 198 ~WebSettings() { }
198 }; 199 };
199 200
200 } // namespace WebKit 201 } // namespace WebKit
201 202
202 #endif 203 #endif
OLDNEW
« no previous file with comments | « public/web/WebDevToolsAgentClient.h ('k') | public/web/WebView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698