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

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

Issue 1724103002: Reverting changes that made window.scroll properties relative to the layout viewport. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2623
Patch Set: 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 1502 matching lines...) Expand 10 before | Expand all | Expand 10 after
1513 IDS_FLAGS_THREADED_SCROLLING_NAME, 1513 IDS_FLAGS_THREADED_SCROLLING_NAME,
1514 IDS_FLAGS_THREADED_SCROLLING_DESCRIPTION, 1514 IDS_FLAGS_THREADED_SCROLLING_DESCRIPTION,
1515 kOsWin | kOsLinux | kOsCrOS | kOsAndroid | kOsMac, 1515 kOsWin | kOsLinux | kOsCrOS | kOsAndroid | kOsMac,
1516 SINGLE_DISABLE_VALUE_TYPE(switches::kDisableThreadedScrolling)}, 1516 SINGLE_DISABLE_VALUE_TYPE(switches::kDisableThreadedScrolling)},
1517 {"enable-settings-window", 1517 {"enable-settings-window",
1518 IDS_FLAGS_SETTINGS_WINDOW_NAME, 1518 IDS_FLAGS_SETTINGS_WINDOW_NAME,
1519 IDS_FLAGS_SETTINGS_WINDOW_DESCRIPTION, 1519 IDS_FLAGS_SETTINGS_WINDOW_DESCRIPTION,
1520 kOsDesktop, 1520 kOsDesktop,
1521 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableSettingsWindow, 1521 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableSettingsWindow,
1522 switches::kDisableSettingsWindow)}, 1522 switches::kDisableSettingsWindow)},
1523 {"inert-visual-viewport",
1524 IDS_FLAGS_INERT_VISUAL_VIEWPORT_NAME,
1525 IDS_FLAGS_INERT_VISUAL_VIEWPORT_DESCRIPTION,
1526 kOsAll,
1527 SINGLE_VALUE_TYPE(switches::kInertVisualViewport)},
1523 #if defined(OS_MACOSX) 1528 #if defined(OS_MACOSX)
1524 {"enable-save-password-bubble", 1529 {"enable-save-password-bubble",
1525 IDS_FLAGS_SAVE_PASSWORD_BUBBLE_NAME, 1530 IDS_FLAGS_SAVE_PASSWORD_BUBBLE_NAME,
1526 IDS_FLAGS_SAVE_PASSWORD_BUBBLE_DESCRIPTION, 1531 IDS_FLAGS_SAVE_PASSWORD_BUBBLE_DESCRIPTION,
1527 kOsMac, 1532 kOsMac,
1528 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableSavePasswordBubble, 1533 ENABLE_DISABLE_VALUE_TYPE(switches::kEnableSavePasswordBubble,
1529 switches::kDisableSavePasswordBubble)}, 1534 switches::kDisableSavePasswordBubble)},
1530 #endif 1535 #endif
1531 {"enable-apps-file-associations", 1536 {"enable-apps-file-associations",
1532 IDS_FLAGS_APPS_FILE_ASSOCIATIONS_NAME, 1537 IDS_FLAGS_APPS_FILE_ASSOCIATIONS_NAME,
(...skipping 830 matching lines...) Expand 10 before | Expand all | Expand 10 after
2363 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0; 2368 const base::HistogramBase::Sample kBadSwitchFormatHistogramId = 0;
2364 2369
2365 const FeatureEntry* GetFeatureEntries(size_t* count) { 2370 const FeatureEntry* GetFeatureEntries(size_t* count) {
2366 *count = arraysize(kFeatureEntries); 2371 *count = arraysize(kFeatureEntries);
2367 return kFeatureEntries; 2372 return kFeatureEntries;
2368 } 2373 }
2369 2374
2370 } // namespace testing 2375 } // namespace testing
2371 2376
2372 } // namespace about_flags 2377 } // 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