| Index: third_party/WebKit/Source/core/layout/LayoutThemeMobile.h
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutThemeAndroid.h b/third_party/WebKit/Source/core/layout/LayoutThemeMobile.h
|
| similarity index 86%
|
| copy from third_party/WebKit/Source/core/layout/LayoutThemeAndroid.h
|
| copy to third_party/WebKit/Source/core/layout/LayoutThemeMobile.h
|
| index 804d0736e0a7a4447f3360c2edc93b5eff08c637..77970392351ae2dc856caf3d18e6e65d309b184b 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutThemeAndroid.h
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutThemeMobile.h
|
| @@ -23,14 +23,14 @@
|
| * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -#ifndef LayoutThemeAndroid_h
|
| -#define LayoutThemeAndroid_h
|
| +#ifndef LayoutThemeMobile_h
|
| +#define LayoutThemeMobile_h
|
|
|
| #include "core/layout/LayoutThemeDefault.h"
|
|
|
| namespace blink {
|
|
|
| -class LayoutThemeAndroid final : public LayoutThemeDefault {
|
| +class LayoutThemeMobile : public LayoutThemeDefault {
|
| public:
|
| static PassRefPtr<LayoutTheme> create();
|
| String extraDefaultStyleSheet() override;
|
| @@ -43,21 +43,22 @@ public:
|
|
|
| Color platformTapHighlightColor() const override
|
| {
|
| - return LayoutThemeAndroid::defaultTapHighlightColor;
|
| + return LayoutThemeMobile::defaultTapHighlightColor;
|
| }
|
|
|
| Color platformActiveSelectionBackgroundColor() const override
|
| {
|
| - return LayoutThemeAndroid::defaultActiveSelectionBackgroundColor;
|
| + return LayoutThemeMobile::defaultActiveSelectionBackgroundColor;
|
| }
|
|
|
| -private:
|
| - ~LayoutThemeAndroid() override;
|
| +protected:
|
| + ~LayoutThemeMobile() override;
|
|
|
| +private:
|
| static const RGBA32 defaultTapHighlightColor = 0x6633b5e5;
|
| static const RGBA32 defaultActiveSelectionBackgroundColor = 0x6633b5e5;
|
| };
|
|
|
| } // namespace blink
|
|
|
| -#endif // LayoutThemeAndroid_h
|
| +#endif // LayoutThemeMobile_h
|
|
|