Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / Source / core / layout / LayoutThemeLinux.cpp
blob4730fa6f13dbfcfbdaed9a4d3079e248bf8594b1
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "config.h"
6 #include "core/layout/LayoutThemeLinux.h"
8 #include "platform/PlatformResourceLoader.h"
10 namespace blink {
12 PassRefPtr<LayoutTheme> LayoutThemeLinux::create()
14 return adoptRef(new LayoutThemeLinux());
17 LayoutTheme& LayoutTheme::theme()
19 DEFINE_STATIC_REF(LayoutTheme, layoutTheme, (LayoutThemeLinux::create()));
20 return *layoutTheme;
23 String LayoutThemeLinux::extraDefaultStyleSheet()
25 return LayoutThemeDefault::extraDefaultStyleSheet() +
26 loadResourceAsASCIIString("themeChromiumLinux.css");
29 } // namespace blink