| 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 "config.h" | 5 #include "config.h" |
| 6 | 6 |
| 7 #include "base/compiler_specific.h" | 7 #include "base/compiler_specific.h" |
| 8 | 8 |
| 9 MSVC_PUSH_WARNING_LEVEL(0); | 9 MSVC_PUSH_WARNING_LEVEL(0); |
| 10 #include "Cursor.h" | 10 #include "Cursor.h" |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 #undef LOG | 24 #undef LOG |
| 25 | 25 |
| 26 #include "webkit/glue/chrome_client_impl.h" | 26 #include "webkit/glue/chrome_client_impl.h" |
| 27 | 27 |
| 28 #include "base/gfx/rect.h" | 28 #include "base/gfx/rect.h" |
| 29 #include "googleurl/src/gurl.h" | 29 #include "googleurl/src/gurl.h" |
| 30 #include "webkit/glue/glue_util.h" | 30 #include "webkit/glue/glue_util.h" |
| 31 #include "webkit/glue/webframe_impl.h" | 31 #include "webkit/glue/webframe_impl.h" |
| 32 #include "webkit/glue/webinputevent.h" | 32 #include "webkit/glue/webinputevent.h" |
| 33 #include "webkit/glue/webkit_glue.h" | 33 #include "webkit/glue/webkit_glue.h" |
| 34 #include "webkit/glue/weburlrequest_impl.h" |
| 34 #include "webkit/glue/webview_delegate.h" | 35 #include "webkit/glue/webview_delegate.h" |
| 35 #include "webkit/glue/webview_impl.h" | 36 #include "webkit/glue/webview_impl.h" |
| 36 #include "webkit/glue/webwidget_impl.h" | 37 #include "webkit/glue/webwidget_impl.h" |
| 37 | 38 |
| 38 struct IWebURLResponse; | 39 struct IWebURLResponse; |
| 39 | 40 |
| 40 // Callback class that's given to the WebViewDelegate during a file choose | 41 // Callback class that's given to the WebViewDelegate during a file choose |
| 41 // operation. | 42 // operation. |
| 42 class WebFileChooserCallbackImpl : public WebFileChooserCallback { | 43 class WebFileChooserCallbackImpl : public WebFileChooserCallback { |
| 43 public: | 44 public: |
| (...skipping 485 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 529 WebViewDelegate* d = webview_->delegate(); | 530 WebViewDelegate* d = webview_->delegate(); |
| 530 if (d) | 531 if (d) |
| 531 d->DisableSuddenTermination(); | 532 d->DisableSuddenTermination(); |
| 532 } | 533 } |
| 533 | 534 |
| 534 void ChromeClientImpl::formStateDidChange(const WebCore::Node*) { | 535 void ChromeClientImpl::formStateDidChange(const WebCore::Node*) { |
| 535 WebViewDelegate* d = webview_->delegate(); | 536 WebViewDelegate* d = webview_->delegate(); |
| 536 if (d) | 537 if (d) |
| 537 d->OnNavStateChanged(webview_); | 538 d->OnNavStateChanged(webview_); |
| 538 } | 539 } |
| OLD | NEW |