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

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

Issue 2181953004: Changed ComputedStyle's EVisibility to be an enum class and fixed naming (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@_move_computedstyle_around
Patch Set: Rebase Created 4 years, 4 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 /* 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 reserved. 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights reserved.
6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) 6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com)
7 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/) 7 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo bile.com/)
8 * 8 *
9 * This library is free software; you can redistribute it and/or 9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Library General Public 10 * modify it under the terms of the GNU Library General Public
(...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after
379 enum EEmptyCells { 379 enum EEmptyCells {
380 EmptyCellsShow, EmptyCellsHide 380 EmptyCellsShow, EmptyCellsHide
381 }; 381 };
382 382
383 enum ECaptionSide { 383 enum ECaptionSide {
384 CaptionSideTop, CaptionSideBottom, CaptionSideLeft, CaptionSideRight 384 CaptionSideTop, CaptionSideBottom, CaptionSideLeft, CaptionSideRight
385 }; 385 };
386 386
387 enum EListStylePosition { ListStylePositionOutside, ListStylePositionInside }; 387 enum EListStylePosition { ListStylePositionOutside, ListStylePositionInside };
388 388
389 enum EVisibility { VISIBLE, HIDDEN, COLLAPSE }; 389 enum class EVisibility { Visible, Hidden, Collapse };
390 390
391 enum ECursor { 391 enum ECursor {
392 // The following must match the order in CSSValueKeywords.in. 392 // The following must match the order in CSSValueKeywords.in.
393 CURSOR_AUTO, 393 CURSOR_AUTO,
394 CURSOR_CROSS, 394 CURSOR_CROSS,
395 CURSOR_DEFAULT, 395 CURSOR_DEFAULT,
396 CURSOR_POINTER, 396 CURSOR_POINTER,
397 CURSOR_MOVE, 397 CURSOR_MOVE,
398 CURSOR_VERTICAL_TEXT, 398 CURSOR_VERTICAL_TEXT,
399 CURSOR_CELL, 399 CURSOR_CELL,
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
613 613
614 enum AutoRepeatType { 614 enum AutoRepeatType {
615 NoAutoRepeat, 615 NoAutoRepeat,
616 AutoFill, 616 AutoFill,
617 AutoFit 617 AutoFit
618 }; 618 };
619 619
620 } // namespace blink 620 } // namespace blink
621 621
622 #endif // ComputedStyleConstants_h 622 #endif // ComputedStyleConstants_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698