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

Side by Side Diff: Source/core/css/parser/SizesAttributeParser.cpp

Issue 331633003: Qualify the generated includes in core (partial). (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #include "config.h" 5 #include "config.h"
6 #include "SizesAttributeParser.h" 6 #include "core/css/parser/SizesAttributeParser.h"
7 7
8 #include "MediaTypeNames.h" 8 #include "core/MediaTypeNames.h"
9 #include "core/css/MediaQueryEvaluator.h" 9 #include "core/css/MediaQueryEvaluator.h"
10 #include "core/css/parser/MediaQueryTokenizer.h" 10 #include "core/css/parser/MediaQueryTokenizer.h"
11 #include "core/css/parser/SizesCalcParser.h" 11 #include "core/css/parser/SizesCalcParser.h"
12 12
13 namespace WebCore { 13 namespace WebCore {
14 14
15 unsigned SizesAttributeParser::findEffectiveSize(const String& attribute, PassRe fPtr<MediaValues> mediaValues) 15 unsigned SizesAttributeParser::findEffectiveSize(const String& attribute, PassRe fPtr<MediaValues> mediaValues)
16 { 16 {
17 Vector<MediaQueryToken> tokens; 17 Vector<MediaQueryToken> tokens;
18 SizesAttributeParser parser(mediaValues); 18 SizesAttributeParser parser(mediaValues);
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 } 132 }
133 133
134 unsigned SizesAttributeParser::effectiveSizeDefaultValue() 134 unsigned SizesAttributeParser::effectiveSizeDefaultValue()
135 { 135 {
136 // Returning the equivalent of "100%" 136 // Returning the equivalent of "100%"
137 return m_mediaValues->viewportWidth(); 137 return m_mediaValues->viewportWidth();
138 } 138 }
139 139
140 } // namespace 140 } // namespace
141 141
OLDNEW
« no previous file with comments | « Source/core/css/parser/MediaQueryTokenizer.cpp ('k') | Source/core/css/resolver/AnimatedStyleBuilder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698