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 20 matching lines...) Expand all Loading... |
31 #include "content/public/common/bindings_policy.h" | 31 #include "content/public/common/bindings_policy.h" |
32 #include "content/public/common/page_transition_types.h" | 32 #include "content/public/common/page_transition_types.h" |
33 #include "content/public/common/view_type.h" | 33 #include "content/public/common/view_type.h" |
34 #include "net/base/escape.h" | 34 #include "net/base/escape.h" |
35 #include "net/url_request/url_request_context_getter.h" | 35 #include "net/url_request/url_request_context_getter.h" |
36 #include "webkit/dom_storage/dom_storage_types.h" | 36 #include "webkit/dom_storage/dom_storage_types.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::NativeWebKeyboardEvent; |
41 using content::NavigationController; | 42 using content::NavigationController; |
42 using content::NavigationEntry; | 43 using content::NavigationEntry; |
43 using content::NavigationEntryImpl; | 44 using content::NavigationEntryImpl; |
44 using content::RenderViewHost; | 45 using content::RenderViewHost; |
45 using content::RenderViewHostImpl; | 46 using content::RenderViewHostImpl; |
46 using content::RenderViewHostDelegate; | 47 using content::RenderViewHostDelegate; |
47 using content::RenderWidgetHost; | 48 using content::RenderWidgetHost; |
48 using content::RenderWidgetHostImpl; | 49 using content::RenderWidgetHostImpl; |
49 using content::RenderWidgetHostView; | 50 using content::RenderWidgetHostView; |
50 using content::RenderWidgetHostViewPort; | 51 using content::RenderWidgetHostViewPort; |
(...skipping 697 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
748 if (!web_contents->GetViewDelegate()) | 749 if (!web_contents->GetViewDelegate()) |
749 return; | 750 return; |
750 | 751 |
751 web_contents->GetViewDelegate()->TakeFocus(reverse); | 752 web_contents->GetViewDelegate()->TakeFocus(reverse); |
752 } | 753 } |
753 | 754 |
754 void InterstitialPageImpl::InterstitialPageRVHViewDelegate::OnFindReply( | 755 void InterstitialPageImpl::InterstitialPageRVHViewDelegate::OnFindReply( |
755 int request_id, int number_of_matches, const gfx::Rect& selection_rect, | 756 int request_id, int number_of_matches, const gfx::Rect& selection_rect, |
756 int active_match_ordinal, bool final_update) { | 757 int active_match_ordinal, bool final_update) { |
757 } | 758 } |
OLD | NEW |