| 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/tab_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 23 matching lines...) Expand all Loading... |
| 34 #include "content/public/common/view_type.h" | 34 #include "content/public/common/view_type.h" |
| 35 #include "net/base/escape.h" | 35 #include "net/base/escape.h" |
| 36 #include "net/url_request/url_request_context_getter.h" | 36 #include "net/url_request/url_request_context_getter.h" |
| 37 | 37 |
| 38 using content::BrowserThread; | 38 using content::BrowserThread; |
| 39 using content::DomOperationNotificationDetails; | 39 using content::DomOperationNotificationDetails; |
| 40 using content::InterstitialPageDelegate; | 40 using content::InterstitialPageDelegate; |
| 41 using content::NavigationController; | 41 using content::NavigationController; |
| 42 using content::NavigationEntry; | 42 using content::NavigationEntry; |
| 43 using content::NavigationEntryImpl; | 43 using content::NavigationEntryImpl; |
| 44 using content::RenderViewHost; |
| 45 using content::RenderViewHostImpl; |
| 44 using content::RenderViewHostDelegate; | 46 using content::RenderViewHostDelegate; |
| 47 using content::RenderWidgetHost; |
| 48 using content::RenderWidgetHostImpl; |
| 45 using content::RenderWidgetHostView; | 49 using content::RenderWidgetHostView; |
| 46 using content::RenderWidgetHostViewPort; | 50 using content::RenderWidgetHostViewPort; |
| 47 using content::SiteInstance; | 51 using content::SiteInstance; |
| 48 using content::WebContents; | 52 using content::WebContents; |
| 49 using content::WebContentsView; | 53 using content::WebContentsView; |
| 50 using WebKit::WebDragOperation; | 54 using WebKit::WebDragOperation; |
| 51 using WebKit::WebDragOperationsMask; | 55 using WebKit::WebDragOperationsMask; |
| 52 | 56 |
| 53 namespace { | 57 namespace { |
| 54 | 58 |
| (...skipping 684 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 739 if (!tab->GetViewDelegate()) | 743 if (!tab->GetViewDelegate()) |
| 740 return; | 744 return; |
| 741 | 745 |
| 742 tab->GetViewDelegate()->TakeFocus(reverse); | 746 tab->GetViewDelegate()->TakeFocus(reverse); |
| 743 } | 747 } |
| 744 | 748 |
| 745 void InterstitialPageImpl::InterstitialPageRVHViewDelegate::OnFindReply( | 749 void InterstitialPageImpl::InterstitialPageRVHViewDelegate::OnFindReply( |
| 746 int request_id, int number_of_matches, const gfx::Rect& selection_rect, | 750 int request_id, int number_of_matches, const gfx::Rect& selection_rect, |
| 747 int active_match_ordinal, bool final_update) { | 751 int active_match_ordinal, bool final_update) { |
| 748 } | 752 } |
| OLD | NEW |