blob: e973cda23d5ba57441071b1e104f6fb17bc595da [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/public/resources/grit/blink_resources.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