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

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

Issue 1602773006: blink: Make WebMainThreadScrollingReason wrap the cc enum. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: enumwrap: . 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
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef WebMainThreadScrollingReason_h
6 #define WebMainThreadScrollingReason_h
7
8 #include "WebCommon.h"
9
10 namespace blink {
11
12 // Ensure this stays in sync with cc::MainThreadScrollingReason.
13 namespace WebMainThreadScrollingReason {
14 enum WebMainThreadScrollingReason {
15 NotScrollingOnMain = 0,
16 HasBackgroundAttachmentFixedObjects = 1 << 0,
17 HasNonLayerViewportConstrainedObjects = 1 << 1,
18 ThreadedScrollingDisabled = 1 << 2,
19 ScrollBarScrolling = 1 << 3,
20 PageOverlay = 1 << 4
21 };
22 } // namespace MainThreadScrollingReason
23
24 } // namespace blink
25
26 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698