blob: 3851dd9883429c445929d683a8e65a4bb0dbe236 [file] [log] [blame]
// Copyright 2014 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 "core/layout/LayoutThemeLinux.h"
#include "platform/PlatformResourceLoader.h"
namespace blink {
PassRefPtr<LayoutTheme> LayoutThemeLinux::create() {
return adoptRef(new LayoutThemeLinux());
}
LayoutTheme& LayoutTheme::nativeTheme() {
DEFINE_STATIC_REF(LayoutTheme, layoutTheme, (LayoutThemeLinux::create()));
return *layoutTheme;
}
String LayoutThemeLinux::extraDefaultStyleSheet() {
return LayoutThemeDefault::extraDefaultStyleSheet() +
loadResourceAsASCIIString("themeChromiumLinux.css");
}
} // namespace blink