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

Side by Side Diff: Source/core/html/shadow/MeterShadowElement.cpp

Issue 66643004: Remove QualifiedName argument from most HTMLElement::create functions (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Hack for XML prefix Created 7 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 25 matching lines...) Expand all
36 #include "HTMLNames.h" 36 #include "HTMLNames.h"
37 #include "core/html/HTMLMeterElement.h" 37 #include "core/html/HTMLMeterElement.h"
38 #include "core/rendering/RenderMeter.h" 38 #include "core/rendering/RenderMeter.h"
39 #include "core/rendering/RenderTheme.h" 39 #include "core/rendering/RenderTheme.h"
40 40
41 namespace WebCore { 41 namespace WebCore {
42 42
43 using namespace HTMLNames; 43 using namespace HTMLNames;
44 44
45 inline MeterShadowElement::MeterShadowElement(Document& document) 45 inline MeterShadowElement::MeterShadowElement(Document& document)
46 : HTMLDivElement(HTMLNames::divTag, document) 46 : HTMLDivElement(document)
47 { 47 {
48 } 48 }
49 49
50 HTMLMeterElement* MeterShadowElement::meterElement() const 50 HTMLMeterElement* MeterShadowElement::meterElement() const
51 { 51 {
52 return toHTMLMeterElement(shadowHost()); 52 return toHTMLMeterElement(shadowHost());
53 } 53 }
54 54
55 bool MeterShadowElement::rendererIsNeeded(const RenderStyle& style) 55 bool MeterShadowElement::rendererIsNeeded(const RenderStyle& style)
56 { 56 {
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 return optimumPseudoId; 130 return optimumPseudoId;
131 } 131 }
132 } 132 }
133 133
134 void MeterValueElement::setWidthPercentage(double width) 134 void MeterValueElement::setWidthPercentage(double width)
135 { 135 {
136 setInlineStyleProperty(CSSPropertyWidth, width, CSSPrimitiveValue::CSS_PERCE NTAGE); 136 setInlineStyleProperty(CSSPropertyWidth, width, CSSPrimitiveValue::CSS_PERCE NTAGE);
137 } 137 }
138 138
139 } 139 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698