| 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 "build/build_config.h" | 6 #include "build/build_config.h" |
| 6 | 7 |
| 7 #if defined(OS_WIN) | 8 #if defined(OS_WIN) |
| 8 #include <objidl.h> | 9 #include <objidl.h> |
| 9 #include <mlang.h> | 10 #include <mlang.h> |
| 10 #endif | 11 #endif |
| 11 | 12 |
| 12 #include "config.h" | 13 #include "config.h" |
| 13 #include "webkit_version.h" | 14 #include "webkit_version.h" |
| 14 #pragma warning(push, 0) | 15 MSVC_PUSH_WARNING_LEVEL(0); |
| 15 #include "BackForwardList.h" | 16 #include "BackForwardList.h" |
| 16 #include "Document.h" | 17 #include "Document.h" |
| 17 #include "FrameTree.h" | 18 #include "FrameTree.h" |
| 18 #include "FrameView.h" | 19 #include "FrameView.h" |
| 19 #include "Frame.h" | 20 #include "Frame.h" |
| 20 #include "HistoryItem.h" | 21 #include "HistoryItem.h" |
| 21 #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. |
| 22 #include "ImageSource.h" | 23 #include "ImageSource.h" |
| 23 #endif | 24 #endif |
| 24 #include "KURL.h" | 25 #include "KURL.h" |
| 25 #include "LogWin.h" | 26 #include "LogWin.h" |
| 26 #include "Page.h" | 27 #include "Page.h" |
| 27 #include "PlatformString.h" | 28 #include "PlatformString.h" |
| 28 #include "RenderTreeAsText.h" | 29 #include "RenderTreeAsText.h" |
| 29 #include "SharedBuffer.h" | 30 #include "SharedBuffer.h" |
| 30 #pragma warning(pop) | 31 MSVC_POP_WARNING(); |
| 31 | 32 |
| 32 #if USE(V8_BINDING) || USE(JAVASCRIPTCORE_BINDINGS) | 33 #if USE(V8_BINDING) || USE(JAVASCRIPTCORE_BINDINGS) |
| 33 #include "JSBridge.h" // for set flags | 34 #include "JSBridge.h" // for set flags |
| 34 #endif | 35 #endif |
| 35 | 36 |
| 36 #undef LOG | 37 #undef LOG |
| 37 #undef notImplemented | 38 #undef notImplemented |
| 38 #include "webkit/glue/webkit_glue.h" | 39 #include "webkit/glue/webkit_glue.h" |
| 39 | 40 |
| 40 #include "base/file_version_info.h" | 41 #include "base/file_version_info.h" |
| (...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 416 WebView* webview = webframe->GetView(); | 417 WebView* webview = webframe->GetView(); |
| 417 if (!webview) | 418 if (!webview) |
| 418 return; | 419 return; |
| 419 WebViewDelegate* delegate = webview->GetDelegate(); | 420 WebViewDelegate* delegate = webview->GetDelegate(); |
| 420 if (!delegate) | 421 if (!delegate) |
| 421 return; | 422 return; |
| 422 delegate->JSOutOfMemory(); | 423 delegate->JSOutOfMemory(); |
| 423 } | 424 } |
| 424 | 425 |
| 425 } // namespace webkit_glue | 426 } // namespace webkit_glue |
| OLD | NEW |