OLD | NEW |
---|---|
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "content/browser/frame_host/interstitial_page_impl.h" | 5 #include "content/browser/frame_host/interstitial_page_impl.h" |
6 | 6 |
7 #include <vector> | 7 #include <vector> |
8 | 8 |
9 #include "base/bind.h" | 9 #include "base/bind.h" |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
415 controller_->delegate()->NotifyNavigationStateChanged(INVALIDATE_TYPE_TITLE); | 415 controller_->delegate()->NotifyNavigationStateChanged(INVALIDATE_TYPE_TITLE); |
416 } | 416 } |
417 | 417 |
418 AccessibilityMode InterstitialPageImpl::GetAccessibilityMode() const { | 418 AccessibilityMode InterstitialPageImpl::GetAccessibilityMode() const { |
419 if (web_contents_) | 419 if (web_contents_) |
420 return static_cast<WebContentsImpl*>(web_contents_)->GetAccessibilityMode(); | 420 return static_cast<WebContentsImpl*>(web_contents_)->GetAccessibilityMode(); |
421 else | 421 else |
422 return AccessibilityModeOff; | 422 return AccessibilityModeOff; |
423 } | 423 } |
424 | 424 |
425 void InterstitialPageImpl::Cut() { | |
nasko
2015/06/05 00:14:38
I think these methods will need to actually have b
mohsen
2015/06/05 02:02:10
Done.
| |
426 } | |
427 | |
428 void InterstitialPageImpl::Copy() { | |
429 } | |
430 | |
431 void InterstitialPageImpl::Paste() { | |
432 } | |
433 | |
425 RenderViewHostDelegateView* InterstitialPageImpl::GetDelegateView() { | 434 RenderViewHostDelegateView* InterstitialPageImpl::GetDelegateView() { |
426 return rvh_delegate_view_.get(); | 435 return rvh_delegate_view_.get(); |
427 } | 436 } |
428 | 437 |
429 const GURL& InterstitialPageImpl::GetMainFrameLastCommittedURL() const { | 438 const GURL& InterstitialPageImpl::GetMainFrameLastCommittedURL() const { |
430 return url_; | 439 return url_; |
431 } | 440 } |
432 | 441 |
433 void InterstitialPageImpl::RenderViewTerminated( | 442 void InterstitialPageImpl::RenderViewTerminated( |
434 RenderViewHost* render_view_host, | 443 RenderViewHost* render_view_host, |
(...skipping 458 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
893 void InterstitialPageImpl::UnderlyingContentObserver::NavigationEntryCommitted( | 902 void InterstitialPageImpl::UnderlyingContentObserver::NavigationEntryCommitted( |
894 const LoadCommittedDetails& load_details) { | 903 const LoadCommittedDetails& load_details) { |
895 interstitial_->OnNavigatingAwayOrTabClosing(); | 904 interstitial_->OnNavigatingAwayOrTabClosing(); |
896 } | 905 } |
897 | 906 |
898 void InterstitialPageImpl::UnderlyingContentObserver::WebContentsDestroyed() { | 907 void InterstitialPageImpl::UnderlyingContentObserver::WebContentsDestroyed() { |
899 interstitial_->OnNavigatingAwayOrTabClosing(); | 908 interstitial_->OnNavigatingAwayOrTabClosing(); |
900 } | 909 } |
901 | 910 |
902 } // namespace content | 911 } // namespace content |
OLD | NEW |