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

Side by Side Diff: content/public/common/content_switches.cc

Issue 14268004: Add overscroll edge effect animations for Android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use vsync ticks to drive overscroll animation Created 7 years, 8 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 "content/public/common/content_switches.h" 5 #include "content/public/common/content_switches.h"
6 6
7 namespace switches { 7 namespace switches {
8 8
9 // By default, file:// URIs cannot read other file:// URIs. This is an 9 // By default, file:// URIs cannot read other file:// URIs. This is an
10 // override for developers who need the old behavior for testing. 10 // override for developers who need the old behavior for testing.
(...skipping 768 matching lines...) Expand 10 before | Expand all | Expand 10 after
779 // Use a vsync signal from the browser to the renderer to schedule rendering. 779 // Use a vsync signal from the browser to the renderer to schedule rendering.
780 const char kEnableVsyncNotification[] = "enable-vsync-notification"; 780 const char kEnableVsyncNotification[] = "enable-vsync-notification";
781 781
782 // Enables history navigation in response to horizontal overscroll. 782 // Enables history navigation in response to horizontal overscroll.
783 const char kEnableOverscrollHistoryNavigation[] = 783 const char kEnableOverscrollHistoryNavigation[] =
784 "enable-overscroll-history-navigation"; 784 "enable-overscroll-history-navigation";
785 785
786 // Enables 'image/webp' accept header for image requests. 786 // Enables 'image/webp' accept header for image requests.
787 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header"; 787 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header";
788 788
789 #if defined(OS_ANDROID)
790 // Enables overscroll edge effects like those found in Android views.
791 const char kEnableOverscrollEdgeEffect[] = "enable-overscroll-edge-effect";
aelias_OOO_until_Jul13 2013/04/22 23:46:48 As part of this patch, please also append this fla
jdduke (slow) 2013/04/23 16:02:13 Done.
792 #endif
793
789 } // namespace switches 794 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698