OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 "base/compiler_specific.h" | 5 #include "base/compiler_specific.h" |
6 #include "build/build_config.h" | 6 #include "build/build_config.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 #endif | 11 #endif |
12 | 12 |
13 #include "config.h" | 13 #include "config.h" |
14 #include "webkit_version.h" | 14 #include "webkit_version.h" |
15 MSVC_PUSH_WARNING_LEVEL(0); | 15 MSVC_PUSH_WARNING_LEVEL(0); |
16 #include "BackForwardList.h" | 16 #include "BackForwardList.h" |
17 #include "Document.h" | 17 #include "Document.h" |
18 #include "FrameTree.h" | 18 #include "FrameTree.h" |
19 #include "FrameView.h" | 19 #include "FrameView.h" |
20 #include "Frame.h" | 20 #include "Frame.h" |
21 #include "HistoryItem.h" | 21 #include "HistoryItem.h" |
22 #if defined(OS_WIN) // TODO(port): unnecessary after the webkit merge lands. | 22 #if defined(OS_WIN) // TODO(port): unnecessary after the webkit merge lands. |
23 #include "ImageSource.h" | 23 #include "ImageSource.h" |
24 #endif | 24 #endif |
25 #include "KURL.h" | 25 #include "KURL.h" |
26 #include "LogWin.h" | |
27 #include "Page.h" | 26 #include "Page.h" |
28 #include "PlatformString.h" | 27 #include "PlatformString.h" |
29 #include "RenderTreeAsText.h" | 28 #include "RenderTreeAsText.h" |
30 #include "RenderView.h" | 29 #include "RenderView.h" |
31 #include "ScriptController.h" | 30 #include "ScriptController.h" |
32 #include "SharedBuffer.h" | 31 #include "SharedBuffer.h" |
33 MSVC_POP_WARNING(); | 32 MSVC_POP_WARNING(); |
34 | 33 |
35 #undef LOG | 34 #undef LOG |
36 #undef notImplemented | |
37 #include "webkit/glue/webkit_glue.h" | 35 #include "webkit/glue/webkit_glue.h" |
38 | 36 |
39 #include "base/file_version_info.h" | 37 #include "base/file_version_info.h" |
40 #include "base/string_util.h" | 38 #include "base/string_util.h" |
41 #include "skia/include/SkBitmap.h" | 39 #include "skia/include/SkBitmap.h" |
42 #include "webkit/glue/event_conversion.h" | 40 #include "webkit/glue/event_conversion.h" |
43 #include "webkit/glue/glue_util.h" | 41 #include "webkit/glue/glue_util.h" |
44 #include "webkit/glue/weburlrequest_impl.h" | 42 #include "webkit/glue/weburlrequest_impl.h" |
45 #include "webkit/glue/webframe_impl.h" | 43 #include "webkit/glue/webframe_impl.h" |
46 #include "webkit/glue/webview_impl.h" | 44 #include "webkit/glue/webview_impl.h" |
(...skipping 390 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
437 WebView* webview = webframe->GetView(); | 435 WebView* webview = webframe->GetView(); |
438 if (!webview) | 436 if (!webview) |
439 return; | 437 return; |
440 WebViewDelegate* delegate = webview->GetDelegate(); | 438 WebViewDelegate* delegate = webview->GetDelegate(); |
441 if (!delegate) | 439 if (!delegate) |
442 return; | 440 return; |
443 delegate->JSOutOfMemory(); | 441 delegate->JSOutOfMemory(); |
444 } | 442 } |
445 | 443 |
446 } // namespace webkit_glue | 444 } // namespace webkit_glue |
OLD | NEW |