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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutTheme.cpp

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/layout/LayoutTheme.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutTheme.cpp b/third_party/WebKit/Source/core/layout/LayoutTheme.cpp
index 1081176450534ad7ea452ac9d2bd1e8933f74b7f..1d4941064e56d2796cddbcbc828df8f880789c61 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTheme.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutTheme.cpp
@@ -35,7 +35,6 @@
#include "core/html/HTMLDataListOptionsCollection.h"
#include "core/html/HTMLFormControlElement.h"
#include "core/html/HTMLInputElement.h"
-#include "core/html/HTMLMeterElement.h"
#include "core/html/HTMLOptionElement.h"
#include "core/html/parser/HTMLParserIdioms.h"
#include "core/html/shadow/MediaControlElements.h"
@@ -399,10 +398,6 @@ bool LayoutTheme::isControlStyled(const ComputedStyle& style) const
case ButtonPart:
case ProgressBarPart:
case MeterPart:
- case RelevancyLevelIndicatorPart:
- case ContinuousCapacityLevelIndicatorPart:
- case DiscreteCapacityLevelIndicatorPart:
- case RatingLevelIndicatorPart:
return style.hasAuthorBackground() || style.hasAuthorBorder();
case MenulistPart:
@@ -622,16 +617,6 @@ void LayoutTheme::adjustMenuListStyle(ComputedStyle&, Element*) const
{
}
-IntSize LayoutTheme::meterSizeForBounds(const LayoutMeter&, const IntRect& bounds) const
-{
- return bounds.size();
-}
-
-bool LayoutTheme::supportsMeter(ControlPart) const
-{
- return false;
-}
-
double LayoutTheme::animationRepeatIntervalForProgressBar() const
{
return 0;
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutTheme.h ('k') | third_party/WebKit/Source/core/layout/LayoutThemeMac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698