Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | |
|
vandebo (ex-Chrome)
2011/11/18 21:35:18
Use Chrome filename naming conventions.
arthurhsu
2011/11/22 00:56:23
Done.
| |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
|
vandebo (ex-Chrome)
2011/11/18 21:35:18
Add generic include guards and pragma once: http:/
arthurhsu
2011/11/22 00:56:23
Done.
| |
| 5 #ifdef WIN32 | |
|
vandebo (ex-Chrome)
2011/11/18 21:35:18
I don't think you need this guard.
arthurhsu
2011/11/22 00:56:23
Done.
| |
| 6 | |
| 7 #include <windows.h> | |
| 8 | |
| 9 namespace skia { | |
| 10 class ISandboxSupport { | |
|
vandebo (ex-Chrome)
2011/11/18 21:35:18
If you want to note this as an interface, the Chro
vandebo (ex-Chrome)
2011/11/18 21:35:18
*** I don't think we need this to be a class. Coul
arthurhsu
2011/11/22 00:56:23
Use static global function pointer instead.
arthurhsu
2011/11/22 00:56:23
Done.
| |
| 11 public: | |
| 12 virtual void EnsureFontLoad(LOGFONT logfont) = 0; | |
| 13 }; | |
| 14 static ISandboxSupport* g_SkiaSandboxSupport; | |
|
vandebo (ex-Chrome)
2011/11/18 21:35:18
If we keep this as a class, should we make this pr
vandebo (ex-Chrome)
2011/11/18 21:35:18
skia/ext is considered Chrome code, so use Chrome
arthurhsu
2011/11/22 00:56:23
Use static global function pointer instead.
arthurhsu
2011/11/22 00:56:23
Done.
| |
| 15 } | |
| 16 | |
| 17 #endif | |
| OLD | NEW |