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

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

Issue 1366893002: Make window.scroll properties relative to the layout viewport. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added chrome-side changes to enable inert visual viewport Created 5 years, 3 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 1517 matching lines...) Expand 10 before | Expand all | Expand 10 after
1528 IDS_FLAGS_ENABLE_NEW_APP_LIST_MIXER_DESCRIPTION, 1528 IDS_FLAGS_ENABLE_NEW_APP_LIST_MIXER_DESCRIPTION,
1529 kOsWin | kOsLinux | kOsCrOS | kOsMac, 1529 kOsWin | kOsLinux | kOsCrOS | kOsMac,
1530 ENABLE_DISABLE_VALUE_TYPE(app_list::switches::kEnableNewAppListMixer, 1530 ENABLE_DISABLE_VALUE_TYPE(app_list::switches::kEnableNewAppListMixer,
1531 app_list::switches::kDisableNewAppListMixer)}, 1531 app_list::switches::kDisableNewAppListMixer)},
1532 #endif 1532 #endif
1533 {"disable-threaded-scrolling", 1533 {"disable-threaded-scrolling",
1534 IDS_FLAGS_DISABLE_THREADED_SCROLLING_NAME, 1534 IDS_FLAGS_DISABLE_THREADED_SCROLLING_NAME,
1535 IDS_FLAGS_DISABLE_THREADED_SCROLLING_DESCRIPTION, 1535 IDS_FLAGS_DISABLE_THREADED_SCROLLING_DESCRIPTION,
1536 kOsWin | kOsLinux | kOsCrOS | kOsAndroid | kOsMac, 1536 kOsWin | kOsLinux | kOsCrOS | kOsAndroid | kOsMac,
1537 SINGLE_VALUE_TYPE(switches::kDisableThreadedScrolling)}, 1537 SINGLE_VALUE_TYPE(switches::kDisableThreadedScrolling)},
1538 {"inert-visual-viewport",
1539 IDS_FLAGS_INERT_VISUAL_VIEWPORT_NAME,
1540 IDS_FLAGS_INERT_VISUAL_VIEWPORT_DESCRIPTION,
1541 kOsAll,
1542 SINGLE_VALUE_TYPE(switches::kInertVisualViewport)},
1538 {"bleeding-edge-renderer-mode", 1543 {"bleeding-edge-renderer-mode",
1539 IDS_FLAGS_BLEEDING_RENDERER_NAME, 1544 IDS_FLAGS_BLEEDING_RENDERER_NAME,
1540 IDS_FLAGS_BLEEDING_RENDERER_DESCRIPTION, 1545 IDS_FLAGS_BLEEDING_RENDERER_DESCRIPTION,
1541 kOsAndroid, 1546 kOsAndroid,
1542 SINGLE_VALUE_TYPE(switches::kEnableBleedingEdgeRenderingFastPaths)}, 1547 SINGLE_VALUE_TYPE(switches::kEnableBleedingEdgeRenderingFastPaths)},
1543 {"enable-settings-window", 1548 {"enable-settings-window",
1544 IDS_FLAGS_ENABLE_SETTINGS_WINDOW_NAME, 1549 IDS_FLAGS_ENABLE_SETTINGS_WINDOW_NAME,
1545 IDS_FLAGS_ENABLE_SETTINGS_WINDOW_DESCRIPTION, 1550 IDS_FLAGS_ENABLE_SETTINGS_WINDOW_DESCRIPTION,
1546 kOsDesktop, 1551 kOsDesktop,
1547 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableSettingsWindow, 1552 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableSettingsWindow,
(...skipping 1153 matching lines...) Expand 10 before | Expand all | Expand 10 after
2701 } 2706 }
2702 2707
2703 const Experiment* GetExperiments(size_t* count) { 2708 const Experiment* GetExperiments(size_t* count) {
2704 *count = num_experiments; 2709 *count = num_experiments;
2705 return experiments; 2710 return experiments;
2706 } 2711 }
2707 2712
2708 } // namespace testing 2713 } // namespace testing
2709 2714
2710 } // namespace about_flags 2715 } // namespace about_flags
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698