| 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/tab_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" |
| 11 #include "base/message_loop.h" | 11 #include "base/message_loop.h" |
| 12 #include "base/string_util.h" | 12 #include "base/string_util.h" |
| 13 #include "base/threading/thread.h" | 13 #include "base/threading/thread.h" |
| 14 #include "base/utf_string_conversions.h" | 14 #include "base/utf_string_conversions.h" |
| 15 #include "content/browser/renderer_host/render_process_host_impl.h" | 15 #include "content/browser/renderer_host/render_process_host_impl.h" |
| 16 #include "content/browser/renderer_host/render_view_host_impl.h" | 16 #include "content/browser/renderer_host/render_view_host_impl.h" |
| 17 #include "content/browser/renderer_host/resource_dispatcher_host_impl.h" | 17 #include "content/browser/renderer_host/resource_dispatcher_host_impl.h" |
| 18 #include "content/browser/site_instance_impl.h" | 18 #include "content/browser/site_instance_impl.h" |
| 19 #include "content/browser/tab_contents/navigation_controller_impl.h" | |
| 20 #include "content/browser/tab_contents/navigation_entry_impl.h" | |
| 21 #include "content/browser/tab_contents/tab_contents.h" | 19 #include "content/browser/tab_contents/tab_contents.h" |
| 20 #include "content/browser/web_contents/navigation_controller_impl.h" |
| 21 #include "content/browser/web_contents/navigation_entry_impl.h" |
| 22 #include "content/common/dom_storage_common.h" | 22 #include "content/common/dom_storage_common.h" |
| 23 #include "content/common/view_messages.h" | 23 #include "content/common/view_messages.h" |
| 24 #include "content/port/browser/render_widget_host_view_port.h" | 24 #include "content/port/browser/render_widget_host_view_port.h" |
| 25 #include "content/public/browser/browser_thread.h" | 25 #include "content/public/browser/browser_thread.h" |
| 26 #include "content/public/browser/dom_operation_notification_details.h" | 26 #include "content/public/browser/dom_operation_notification_details.h" |
| 27 #include "content/public/browser/interstitial_page_delegate.h" | 27 #include "content/public/browser/interstitial_page_delegate.h" |
| 28 #include "content/public/browser/invalidate_type.h" | 28 #include "content/public/browser/invalidate_type.h" |
| 29 #include "content/public/browser/notification_service.h" | 29 #include "content/public/browser/notification_service.h" |
| 30 #include "content/public/browser/notification_source.h" | 30 #include "content/public/browser/notification_source.h" |
| 31 #include "content/public/browser/web_contents_view.h" | 31 #include "content/public/browser/web_contents_view.h" |
| (...skipping 709 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 741 if (!tab->GetViewDelegate()) | 741 if (!tab->GetViewDelegate()) |
| 742 return; | 742 return; |
| 743 | 743 |
| 744 tab->GetViewDelegate()->TakeFocus(reverse); | 744 tab->GetViewDelegate()->TakeFocus(reverse); |
| 745 } | 745 } |
| 746 | 746 |
| 747 void InterstitialPageImpl::InterstitialPageRVHViewDelegate::OnFindReply( | 747 void InterstitialPageImpl::InterstitialPageRVHViewDelegate::OnFindReply( |
| 748 int request_id, int number_of_matches, const gfx::Rect& selection_rect, | 748 int request_id, int number_of_matches, const gfx::Rect& selection_rect, |
| 749 int active_match_ordinal, bool final_update) { | 749 int active_match_ordinal, bool final_update) { |
| 750 } | 750 } |
| OLD | NEW |