OLD | NEW |
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2009 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 "config.h" | 5 #include "config.h" |
6 #include "webkit/glue/webkit_glue.h" | 6 #include "webkit/glue/webkit_glue.h" |
7 | 7 |
8 #if defined(OS_WIN) | 8 #if defined(OS_WIN) |
9 #include <objidl.h> | 9 #include <objidl.h> |
10 #include <mlang.h> | 10 #include <mlang.h> |
11 #elif defined(OS_LINUX) | 11 #elif defined(OS_LINUX) || defined(OS_FREEBSD) |
12 #include <sys/utsname.h> | 12 #include <sys/utsname.h> |
13 #endif | 13 #endif |
14 | 14 |
15 #include "BackForwardList.h" | 15 #include "BackForwardList.h" |
16 #include "Document.h" | 16 #include "Document.h" |
17 #include "FrameTree.h" | 17 #include "FrameTree.h" |
18 #include "FrameView.h" | 18 #include "FrameView.h" |
19 #include "Frame.h" | 19 #include "Frame.h" |
20 #include "HistoryItem.h" | 20 #include "HistoryItem.h" |
21 #include "ImageSource.h" | 21 #include "ImageSource.h" |
(...skipping 422 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
444 return canvas; | 444 return canvas; |
445 #elif WEBKIT_USING_CG | 445 #elif WEBKIT_USING_CG |
446 return canvas->getTopPlatformDevice().GetBitmapContext(); | 446 return canvas->getTopPlatformDevice().GetBitmapContext(); |
447 #else | 447 #else |
448 NOTIMPLEMENTED(); | 448 NOTIMPLEMENTED(); |
449 return NULL; | 449 return NULL; |
450 #endif | 450 #endif |
451 } | 451 } |
452 | 452 |
453 } // namespace webkit_glue | 453 } // namespace webkit_glue |
OLD | NEW |