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

Side by Side Diff: third_party/WebKit/Source/core/style/StyleRareNonInheritedData.cpp

Issue 2908933002: Make PageSizeType an enum class. (Closed)
Patch Set: 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Antti Koivisto (koivisto@kde.org) 2 * Copyright (C) 1999 Antti Koivisto (koivisto@kde.org)
3 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. 3 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 visited_link_border_right_color_(StyleColor::CurrentColor()), 93 visited_link_border_right_color_(StyleColor::CurrentColor()),
94 visited_link_border_top_color_(StyleColor::CurrentColor()), 94 visited_link_border_top_color_(StyleColor::CurrentColor()),
95 visited_link_border_bottom_color_(StyleColor::CurrentColor()), 95 visited_link_border_bottom_color_(StyleColor::CurrentColor()),
96 variables_(ComputedStyle::InitialNonInheritedVariables()), 96 variables_(ComputedStyle::InitialNonInheritedVariables()),
97 align_content_(ComputedStyle::InitialContentAlignment()), 97 align_content_(ComputedStyle::InitialContentAlignment()),
98 align_items_(ComputedStyle::InitialDefaultAlignment()), 98 align_items_(ComputedStyle::InitialDefaultAlignment()),
99 align_self_(ComputedStyle::InitialSelfAlignment()), 99 align_self_(ComputedStyle::InitialSelfAlignment()),
100 justify_content_(ComputedStyle::InitialContentAlignment()), 100 justify_content_(ComputedStyle::InitialContentAlignment()),
101 justify_items_(ComputedStyle::InitialSelfAlignment()), 101 justify_items_(ComputedStyle::InitialSelfAlignment()),
102 justify_self_(ComputedStyle::InitialSelfAlignment()), 102 justify_self_(ComputedStyle::InitialSelfAlignment()),
103 page_size_type_(PAGE_SIZE_AUTO), 103 page_size_type_(static_cast<unsigned>(PageSizeType::kAuto)),
104 transform_style3d_(ComputedStyle::InitialTransformStyle3D()), 104 transform_style3d_(ComputedStyle::InitialTransformStyle3D()),
105 backface_visibility_(ComputedStyle::InitialBackfaceVisibility()), 105 backface_visibility_(ComputedStyle::InitialBackfaceVisibility()),
106 user_drag(ComputedStyle::InitialUserDrag()), 106 user_drag(ComputedStyle::InitialUserDrag()),
107 text_overflow(ComputedStyle::InitialTextOverflow()), 107 text_overflow(ComputedStyle::InitialTextOverflow()),
108 margin_before_collapse(kMarginCollapseCollapse), 108 margin_before_collapse(kMarginCollapseCollapse),
109 margin_after_collapse(kMarginCollapseCollapse), 109 margin_after_collapse(kMarginCollapseCollapse),
110 appearance_(ComputedStyle::InitialAppearance()), 110 appearance_(ComputedStyle::InitialAppearance()),
111 text_decoration_style_(ComputedStyle::InitialTextDecorationStyle()), 111 text_decoration_style_(ComputedStyle::InitialTextDecorationStyle()),
112 has_current_opacity_animation_(false), 112 has_current_opacity_animation_(false),
113 has_current_transform_animation_(false), 113 has_current_transform_animation_(false),
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 requires_accelerated_compositing_for_external_reasons_ == 287 requires_accelerated_compositing_for_external_reasons_ ==
288 o.requires_accelerated_compositing_for_external_reasons_ && 288 o.requires_accelerated_compositing_for_external_reasons_ &&
289 has_inline_transform_ == o.has_inline_transform_ && 289 has_inline_transform_ == o.has_inline_transform_ &&
290 resize_ == o.resize_ && 290 resize_ == o.resize_ &&
291 has_compositor_proxy_ == o.has_compositor_proxy_ && 291 has_compositor_proxy_ == o.has_compositor_proxy_ &&
292 has_author_background_ == o.has_author_background_ && 292 has_author_background_ == o.has_author_background_ &&
293 has_author_border_ == o.has_author_border_; 293 has_author_border_ == o.has_author_border_;
294 } 294 }
295 295
296 } // namespace blink 296 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/style/StyleRareNonInheritedData.h ('k') | third_party/WebKit/Source/web/WebLocalFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698