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

Unified Diff: chrome/browser/chrome_content_browser_client.cc

Issue 138133011: Merge 247390 "Enable pinch-to-zoom on Windows 8 by default" (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1750/src/
Patch Set: Created 6 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chrome_content_browser_client.cc
===================================================================
--- chrome/browser/chrome_content_browser_client.cc (revision 248582)
+++ chrome/browser/chrome_content_browser_client.cc (working copy)
@@ -147,6 +147,7 @@
#include "webkit/common/webpreferences.h"
#if defined(OS_WIN)
+#include "base/win/windows_version.h"
#include "chrome/browser/chrome_browser_main_win.h"
#include "sandbox/win/src/sandbox_policy.h"
#elif defined(OS_MACOSX)
@@ -1432,6 +1433,11 @@
chromeos::switches::kLoginProfile, login_profile);
#endif
+#if defined(OS_WIN)
+ if (base::win::GetVersion() >= base::win::VERSION_WIN8)
+ command_line->AppendSwitch(switches::kEnablePinch);
+#endif
+
#if defined(ENABLE_WEBRTC)
if (VersionInfo::GetChannel() <= VersionInfo::CHANNEL_DEV) {
static const char* const kWebRtcDevSwitchNames[] = {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698