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

Side by Side Diff: third_party/WebKit/public/platform/WebMainThreadScrollingReason.h

Issue 1604053002: cc: Fix enum style conformance in InputHandler. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: enumname: fixcasts Created 4 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 unified diff | Download patch
« no previous file with comments | « cc/trees/layer_tree_host_unittest_scroll.cc ('k') | ui/events/blink/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #ifndef WebMainThreadScrollingReason_h 5 #ifndef WebMainThreadScrollingReason_h
6 #define WebMainThreadScrollingReason_h 6 #define WebMainThreadScrollingReason_h
7 7
8 #include "WebCommon.h" 8 #include "WebCommon.h"
9 9
10 namespace blink { 10 namespace blink {
11 11
12 // Ensure this stays in sync with InputHandler::MainThreadScrollingReason. 12 // Ensure this stays in sync with cc::MainThreadScrollingReason.
13 namespace WebMainThreadScrollingReason { 13 namespace WebMainThreadScrollingReason {
14 enum WebMainThreadScrollingReason { 14 enum WebMainThreadScrollingReason {
15 NotScrollingOnMain = 0, 15 NotScrollingOnMain = 0,
16 HasBackgroundAttachmentFixedObjects = 1 << 0, 16 HasBackgroundAttachmentFixedObjects = 1 << 0,
17 HasNonLayerViewportConstrainedObjects = 1 << 1, 17 HasNonLayerViewportConstrainedObjects = 1 << 1,
18 ThreadedScrollingDisabled = 1 << 2, 18 ThreadedScrollingDisabled = 1 << 2,
19 ScrollBarScrolling = 1 << 3, 19 ScrollBarScrolling = 1 << 3,
20 PageOverlay = 1 << 4 20 PageOverlay = 1 << 4
21 }; 21 };
22 } // namespace MainThreadScrollingReason 22 } // namespace MainThreadScrollingReason
23 23
24 } // namespace blink 24 } // namespace blink
25 25
26 #endif 26 #endif
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host_unittest_scroll.cc ('k') | ui/events/blink/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698