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

Unified Diff: third_party/WebKit/Source/core/html/HTMLMeterElement.h

Issue 1747763002: Remove OSX-specific <meter> rendering. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/html/HTMLMeterElement.h
diff --git a/third_party/WebKit/Source/core/html/HTMLMeterElement.h b/third_party/WebKit/Source/core/html/HTMLMeterElement.h
index 98c4c44ff9acc90dd929bc3b8847f58a0d2e1e5d..be16e6912009ddc461b693a1cbacd8833899696d 100644
--- a/third_party/WebKit/Source/core/html/HTMLMeterElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLMeterElement.h
@@ -26,8 +26,7 @@
namespace blink {
-class MeterValueElement;
-class LayoutMeter;
+class HTMLDivElement;
class CORE_EXPORT HTMLMeterElement final : public LabelableElement {
DEFINE_WRAPPERTYPEINFO();
@@ -71,7 +70,6 @@ private:
bool areAuthorShadowsAllowed() const override { return false; }
void willAddFirstAuthorShadowRoot() override;
- LayoutMeter* layoutMeter() const;
bool supportLabels() const override { return true; }
@@ -79,9 +77,10 @@ private:
void parseAttribute(const QualifiedName&, const AtomicString&, const AtomicString&) override;
void didElementStateChange();
+ void updateValueAppearance(double percentage);
void didAddUserAgentShadowRoot(ShadowRoot&) override;
- RefPtrWillBeMember<MeterValueElement> m_value;
+ RefPtrWillBeMember<HTMLDivElement> m_value;
};
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/frame/UseCounter.h ('k') | third_party/WebKit/Source/core/html/HTMLMeterElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698