| Index: third_party/WebKit/Source/core/layout/LayoutThemeMobile.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutThemeAndroid.cpp b/third_party/WebKit/Source/core/layout/LayoutThemeMobile.cpp
|
| similarity index 83%
|
| copy from third_party/WebKit/Source/core/layout/LayoutThemeAndroid.cpp
|
| copy to third_party/WebKit/Source/core/layout/LayoutThemeMobile.cpp
|
| index fe9782e1cdff54a04fe702692a0ce6237395c7eb..f93224325d3b13c225da8db1b89879a2bea0820b 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutThemeAndroid.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutThemeMobile.cpp
|
| @@ -23,7 +23,7 @@
|
| * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -#include "core/layout/LayoutThemeAndroid.h"
|
| +#include "core/layout/LayoutThemeMobile.h"
|
|
|
| #include "core/CSSValueKeywords.h"
|
| #include "core/InputTypeNames.h"
|
| @@ -40,29 +40,23 @@
|
|
|
| namespace blink {
|
|
|
| -PassRefPtr<LayoutTheme> LayoutThemeAndroid::create()
|
| +PassRefPtr<LayoutTheme> LayoutThemeMobile::create()
|
| {
|
| - return adoptRef(new LayoutThemeAndroid());
|
| + return adoptRef(new LayoutThemeMobile());
|
| }
|
|
|
| -LayoutTheme& LayoutTheme::theme()
|
| +LayoutThemeMobile::~LayoutThemeMobile()
|
| {
|
| - DEFINE_STATIC_REF(LayoutTheme, layoutTheme, (LayoutThemeAndroid::create()));
|
| - return *layoutTheme;
|
| }
|
|
|
| -LayoutThemeAndroid::~LayoutThemeAndroid()
|
| -{
|
| -}
|
| -
|
| -String LayoutThemeAndroid::extraMediaControlsStyleSheet()
|
| +String LayoutThemeMobile::extraMediaControlsStyleSheet()
|
| {
|
| return loadResourceAsASCIIString(
|
| RuntimeEnabledFeatures::newMediaPlaybackUiEnabled() ?
|
| "mediaControlsAndroidNew.css" : "mediaControlsAndroid.css");
|
| }
|
|
|
| -String LayoutThemeAndroid::extraDefaultStyleSheet()
|
| +String LayoutThemeMobile::extraDefaultStyleSheet()
|
| {
|
| return LayoutThemeDefault::extraDefaultStyleSheet() +
|
| loadResourceAsASCIIString("themeChromiumLinux.css") +
|
| @@ -70,7 +64,7 @@ String LayoutThemeAndroid::extraDefaultStyleSheet()
|
|
|
| }
|
|
|
| -void LayoutThemeAndroid::adjustInnerSpinButtonStyle(ComputedStyle& style) const
|
| +void LayoutThemeMobile::adjustInnerSpinButtonStyle(ComputedStyle& style) const
|
| {
|
| if (LayoutTestSupport::isRunningLayoutTest()) {
|
| // Match Linux spin button style in layout tests.
|
|
|