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

Side by Side Diff: content/common/content_switches_internal.h

Issue 1737733002: [DevTools] Handle emulated device scale factor and original device scale factor properly. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 | « no previous file | content/renderer/devtools/render_widget_screen_metrics_emulator.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 // Copyright (c) 2014 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_COMMON_CONTENT_SWITCHES_INTERNAL_H_ 5 #ifndef CONTENT_COMMON_CONTENT_SWITCHES_INTERNAL_H_
6 #define CONTENT_COMMON_CONTENT_SWITCHES_INTERNAL_H_ 6 #define CONTENT_COMMON_CONTENT_SWITCHES_INTERNAL_H_
7 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "content/common/content_export.h"
9 #include "content/public/common/web_preferences.h" 10 #include "content/public/common/web_preferences.h"
10 11
11 namespace content { 12 namespace content {
12 13
13 bool IsPinchToZoomEnabled(); 14 bool IsPinchToZoomEnabled();
14 #if defined(OS_WIN) 15 #if defined(OS_WIN)
15 // Disables Win32k Renderer lockdown for any future renderer child processes. 16 // Disables Win32k Renderer lockdown for any future renderer child processes.
16 void DisableWin32kRendererLockdown(); 17 void DisableWin32kRendererLockdown();
17 18
18 // Returns whether Win32k Renderer lockdown is enabled or not. 19 // Returns whether Win32k Renderer lockdown is enabled or not.
19 bool IsWin32kRendererLockdownEnabled(); 20 bool IsWin32kRendererLockdownEnabled();
20 #endif 21 #endif
21 V8CacheOptions GetV8CacheOptions(); 22 V8CacheOptions GetV8CacheOptions();
22 23
23 bool IsUseZoomForDSFEnabled(); 24 CONTENT_EXPORT bool IsUseZoomForDSFEnabled();
24 25
25 } // namespace content 26 } // namespace content
26 27
27 #endif // CONTENT_COMMON_CONTENT_SWITCHES_INTERNAL_H_ 28 #endif // CONTENT_COMMON_CONTENT_SWITCHES_INTERNAL_H_
OLDNEW
« no previous file with comments | « no previous file | content/renderer/devtools/render_widget_screen_metrics_emulator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698