Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(112)

Side by Side Diff: webkit/plugins/ppapi/webkit_forwarding_impl.h

Issue 7053022: Use the WebKit default fonts when specifying generic font families. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "ppapi/shared_impl/webkit_forwarding.h" 5 #include "ppapi/shared_impl/webkit_forwarding.h"
6 6
7 #include "base/compiler_specific.h" 7 #include "base/compiler_specific.h"
8 8
9 namespace ppapi {
10 struct Preferences;
11 }
12
9 namespace webkit { 13 namespace webkit {
10 namespace ppapi { 14 namespace ppapi {
11 15
12 class WebKitForwardingImpl : public ::ppapi::WebKitForwarding { 16 class WebKitForwardingImpl : public ::ppapi::WebKitForwarding {
13 public: 17 public:
14 WebKitForwardingImpl(); 18 WebKitForwardingImpl();
15 virtual ~WebKitForwardingImpl(); 19 virtual ~WebKitForwardingImpl();
16 20
17 virtual void CreateFontForwarding(base::WaitableEvent* event, 21 virtual void CreateFontForwarding(base::WaitableEvent* event,
18 const PP_FontDescription_Dev& desc, 22 const PP_FontDescription_Dev& desc,
19 const std::string& desc_face, 23 const std::string& desc_face,
24 const ::ppapi::Preferences& prefs,
20 Font** result) OVERRIDE; 25 Font** result) OVERRIDE;
21 }; 26 };
22 27
23 } // namespace ppapi 28 } // namespace ppapi
24 } // namespace webkit 29 } // namespace webkit
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698