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

Side by Side Diff: third_party/WebKit/Source/core/style/ComputedStyleConstants.h

Issue 2936113003: Make EIsolation an enum class. (Closed)
Patch Set: Fix code Created 3 years, 6 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 | « third_party/WebKit/Source/core/style/ComputedStyle.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org)
3 * (C) 2000 Antti Koivisto (koivisto@kde.org) 3 * (C) 2000 Antti Koivisto (koivisto@kde.org)
4 * (C) 2000 Dirk Mueller (mueller@kde.org) 4 * (C) 2000 Dirk Mueller (mueller@kde.org)
5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights
6 * reserved. 6 * reserved.
7 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) 7 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com)
8 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. 8 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved.
9 * (http://www.torchmobile.com/) 9 * (http://www.torchmobile.com/)
10 * 10 *
(...skipping 270 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 kAutoFlowColumnDense = 281 kAutoFlowColumnDense =
282 kInternalAutoFlowAlgorithmDense | kInternalAutoFlowDirectionColumn 282 kInternalAutoFlowAlgorithmDense | kInternalAutoFlowDirectionColumn
283 }; 283 };
284 284
285 enum DraggableRegionMode { 285 enum DraggableRegionMode {
286 kDraggableRegionNone, 286 kDraggableRegionNone,
287 kDraggableRegionDrag, 287 kDraggableRegionDrag,
288 kDraggableRegionNoDrag 288 kDraggableRegionNoDrag
289 }; 289 };
290 290
291 enum EIsolation { kIsolationAuto, kIsolationIsolate }; 291 enum class EIsolation { kAuto, kIsolate };
292 292
293 static const size_t kContainmentBits = 4; 293 static const size_t kContainmentBits = 4;
294 enum Containment { 294 enum Containment {
295 kContainsNone = 0x0, 295 kContainsNone = 0x0,
296 kContainsLayout = 0x1, 296 kContainsLayout = 0x1,
297 kContainsStyle = 0x2, 297 kContainsStyle = 0x2,
298 kContainsPaint = 0x4, 298 kContainsPaint = 0x4,
299 kContainsSize = 0x8, 299 kContainsSize = 0x8,
300 kContainsStrict = 300 kContainsStrict =
301 kContainsLayout | kContainsStyle | kContainsPaint | kContainsSize, 301 kContainsLayout | kContainsStyle | kContainsPaint | kContainsSize,
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
380 enum class PageSizeType { 380 enum class PageSizeType {
381 kAuto, // size: auto 381 kAuto, // size: auto
382 kLandscape, // size: landscape 382 kLandscape, // size: landscape
383 kPortrait, // size: portrait 383 kPortrait, // size: portrait
384 kResolved // Size is fully resolved. 384 kResolved // Size is fully resolved.
385 }; 385 };
386 386
387 } // namespace blink 387 } // namespace blink
388 388
389 #endif // ComputedStyleConstants_h 389 #endif // ComputedStyleConstants_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/style/ComputedStyle.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698