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

Side by Side Diff: chrome/browser/about_flags.cc

Issue 1712743002: Revert "Make window.scroll properties relative to the layout viewport by default." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix failing test Created 4 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "chrome/browser/about_flags.h" 5 #include "chrome/browser/about_flags.h"
6 6
7 #include <iterator> 7 #include <iterator>
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <utility> 10 #include <utility>
(...skipping 1293 matching lines...) Expand 10 before | Expand all | Expand 10 after
1304 app_list::switches::kDisableNewAppListMixer)}, 1304 app_list::switches::kDisableNewAppListMixer)},
1305 #endif 1305 #endif
1306 {"disable-threaded-scrolling", IDS_FLAGS_THREADED_SCROLLING_NAME, 1306 {"disable-threaded-scrolling", IDS_FLAGS_THREADED_SCROLLING_NAME,
1307 IDS_FLAGS_THREADED_SCROLLING_DESCRIPTION, 1307 IDS_FLAGS_THREADED_SCROLLING_DESCRIPTION,
1308 kOsWin | kOsLinux | kOsCrOS | kOsAndroid | kOsMac, 1308 kOsWin | kOsLinux | kOsCrOS | kOsAndroid | kOsMac,
1309 SINGLE_DISABLE_VALUE_TYPE(switches::kDisableThreadedScrolling)}, 1309 SINGLE_DISABLE_VALUE_TYPE(switches::kDisableThreadedScrolling)},
1310 {"enable-settings-window", IDS_FLAGS_SETTINGS_WINDOW_NAME, 1310 {"enable-settings-window", IDS_FLAGS_SETTINGS_WINDOW_NAME,
1311 IDS_FLAGS_SETTINGS_WINDOW_DESCRIPTION, kOsDesktop, 1311 IDS_FLAGS_SETTINGS_WINDOW_DESCRIPTION, kOsDesktop,
1312 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableSettingsWindow, 1312 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableSettingsWindow,
1313 switches::kDisableSettingsWindow)}, 1313 switches::kDisableSettingsWindow)},
1314 {"inert-visual-viewport",
1315 IDS_FLAGS_INERT_VISUAL_VIEWPORT_NAME,
1316 IDS_FLAGS_INERT_VISUAL_VIEWPORT_DESCRIPTION,
1317 kOsAll,
1318 SINGLE_VALUE_TYPE(switches::kInertVisualViewport)},
1314 #if defined(OS_MACOSX) 1319 #if defined(OS_MACOSX)
1315 {"enable-save-password-bubble", IDS_FLAGS_SAVE_PASSWORD_BUBBLE_NAME, 1320 {"enable-save-password-bubble", IDS_FLAGS_SAVE_PASSWORD_BUBBLE_NAME,
1316 IDS_FLAGS_SAVE_PASSWORD_BUBBLE_DESCRIPTION, kOsMac, 1321 IDS_FLAGS_SAVE_PASSWORD_BUBBLE_DESCRIPTION, kOsMac,
1317 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableSavePasswordBubble, 1322 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableSavePasswordBubble,
1318 switches::kDisableSavePasswordBubble)}, 1323 switches::kDisableSavePasswordBubble)},
1319 #endif 1324 #endif
1320 {"enable-apps-file-associations", IDS_FLAGS_APPS_FILE_ASSOCIATIONS_NAME, 1325 {"enable-apps-file-associations", IDS_FLAGS_APPS_FILE_ASSOCIATIONS_NAME,
1321 IDS_FLAGS_APPS_FILE_ASSOCIATIONS_DESCRIPTION, kOsMac, 1326 IDS_FLAGS_APPS_FILE_ASSOCIATIONS_DESCRIPTION, kOsMac,
1322 SINGLE_VALUE_TYPE(switches::kEnableAppsFileAssociations)}, 1327 SINGLE_VALUE_TYPE(switches::kEnableAppsFileAssociations)},
1323 #if defined(OS_ANDROID) 1328 #if defined(OS_ANDROID)
(...skipping 707 matching lines...) Expand 10 before | Expand all | Expand 10 after
2031 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2036 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2032 2037
2033 const FeatureEntry* GetFeatureEntries(size_t* count) { 2038 const FeatureEntry* GetFeatureEntries(size_t* count) {
2034 *count = arraysize(kFeatureEntries); 2039 *count = arraysize(kFeatureEntries);
2035 return kFeatureEntries; 2040 return kFeatureEntries;
2036 } 2041 }
2037 2042
2038 } // namespace testing 2043 } // namespace testing
2039 2044
2040 } // namespace about_flags 2045 } // namespace about_flags
OLDNEW
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | content/browser/renderer_host/render_process_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698