summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/Source/core/layout/LayoutThemeLinux.cpp
blob: 0555d6916e6006bdadaf041e1e8d1844ed701606 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// 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