| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/web_contents/interstitial_page_impl.h" | 5 #include "content/browser/web_contents/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 658 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 669 NOTREACHED() << "InterstitialPage does not support showing drop-downs yet."; | 669 NOTREACHED() << "InterstitialPage does not support showing drop-downs yet."; |
| 670 } | 670 } |
| 671 | 671 |
| 672 void InterstitialPageImpl::ShowCreatedFullscreenWidget(int route_id) { | 672 void InterstitialPageImpl::ShowCreatedFullscreenWidget(int route_id) { |
| 673 NOTREACHED() | 673 NOTREACHED() |
| 674 << "InterstitialPage does not support showing full screen popups."; | 674 << "InterstitialPage does not support showing full screen popups."; |
| 675 } | 675 } |
| 676 | 676 |
| 677 void InterstitialPageImpl::ShowContextMenu( | 677 void InterstitialPageImpl::ShowContextMenu( |
| 678 const content::ContextMenuParams& params, | 678 const content::ContextMenuParams& params, |
| 679 const content::ContextMenuSourceType& type) { | 679 content::ContextMenuSourceType type) { |
| 680 } | 680 } |
| 681 | 681 |
| 682 void InterstitialPageImpl::Disable() { | 682 void InterstitialPageImpl::Disable() { |
| 683 enabled_ = false; | 683 enabled_ = false; |
| 684 } | 684 } |
| 685 | 685 |
| 686 void InterstitialPageImpl::TakeActionOnResourceDispatcher( | 686 void InterstitialPageImpl::TakeActionOnResourceDispatcher( |
| 687 ResourceRequestAction action) { | 687 ResourceRequestAction action) { |
| 688 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)) << | 688 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)) << |
| 689 "TakeActionOnResourceDispatcher should be called on the main thread."; | 689 "TakeActionOnResourceDispatcher should be called on the main thread."; |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 756 if (!web_contents->GetDelegateView()) | 756 if (!web_contents->GetDelegateView()) |
| 757 return; | 757 return; |
| 758 | 758 |
| 759 web_contents->GetDelegateView()->TakeFocus(reverse); | 759 web_contents->GetDelegateView()->TakeFocus(reverse); |
| 760 } | 760 } |
| 761 | 761 |
| 762 void InterstitialPageImpl::InterstitialPageRVHDelegateView::OnFindReply( | 762 void InterstitialPageImpl::InterstitialPageRVHDelegateView::OnFindReply( |
| 763 int request_id, int number_of_matches, const gfx::Rect& selection_rect, | 763 int request_id, int number_of_matches, const gfx::Rect& selection_rect, |
| 764 int active_match_ordinal, bool final_update) { | 764 int active_match_ordinal, bool final_update) { |
| 765 } | 765 } |
| OLD | NEW |