| 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 470 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 481 WebViewDelegate* d = webview_->delegate(); | 481 WebViewDelegate* d = webview_->delegate(); |
| 482 if (d) | 482 if (d) |
| 483 d->EnableSuddenTermination(); | 483 d->EnableSuddenTermination(); |
| 484 } | 484 } |
| 485 | 485 |
| 486 void ChromeClientImpl::disableSuddenTermination() { | 486 void ChromeClientImpl::disableSuddenTermination() { |
| 487 WebViewDelegate* d = webview_->delegate(); | 487 WebViewDelegate* d = webview_->delegate(); |
| 488 if (d) | 488 if (d) |
| 489 d->DisableSuddenTermination(); | 489 d->DisableSuddenTermination(); |
| 490 } | 490 } |
| 491 |
| 492 void ChromeClientImpl::formStateDidChange(const WebCore::Node*) { |
| 493 WebViewDelegate* d = webview_->delegate(); |
| 494 if (d) |
| 495 d->OnNavStateChanged(webview_); |
| 496 } |
| OLD | NEW |