blob: ec54d8bd1ba28e97514e012a41ba2ceca2ee382d [file] [log] [blame]
// Copyright 2019 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "third_party/blink/renderer/core/layout/layout_theme_touchless.h"
#include "third_party/blink/renderer/platform/data_resource_helper.h"
namespace blink {
scoped_refptr<LayoutTheme> LayoutThemeTouchless::Create() {
return base::AdoptRef(new LayoutThemeTouchless());
}
LayoutTheme& LayoutTheme::NativeTheme() {
DEFINE_STATIC_REF(LayoutTheme, layout_theme,
(LayoutThemeTouchless::Create()));
return *layout_theme;
}
LayoutThemeTouchless::~LayoutThemeTouchless() {}
String LayoutThemeTouchless::ExtraDefaultStyleSheet() {
return LayoutThemeMobile::ExtraDefaultStyleSheet() +
UncompressResourceAsASCIIString(IDR_UASTYLE_THEME_TOUCHLESS_CSS);
}
bool LayoutThemeTouchless::IsFocusRingOutset() const {
return true;
}
} // namespace blink