| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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.h" | 5 #include "content/browser/tab_contents/interstitial_page.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 11 matching lines...) Expand all Loading... |
| 22 #include "content/browser/tab_contents/tab_contents.h" | 22 #include "content/browser/tab_contents/tab_contents.h" |
| 23 #include "content/browser/tab_contents/tab_contents_view.h" | 23 #include "content/browser/tab_contents/tab_contents_view.h" |
| 24 #include "content/common/dom_storage_common.h" | 24 #include "content/common/dom_storage_common.h" |
| 25 #include "content/common/view_messages.h" | 25 #include "content/common/view_messages.h" |
| 26 #include "content/public/browser/browser_thread.h" | 26 #include "content/public/browser/browser_thread.h" |
| 27 #include "content/public/browser/content_browser_client.h" | 27 #include "content/public/browser/content_browser_client.h" |
| 28 #include "content/public/browser/notification_service.h" | 28 #include "content/public/browser/notification_service.h" |
| 29 #include "content/public/browser/notification_source.h" | 29 #include "content/public/browser/notification_source.h" |
| 30 #include "content/public/common/bindings_policy.h" | 30 #include "content/public/common/bindings_policy.h" |
| 31 #include "content/public/common/page_transition_types.h" | 31 #include "content/public/common/page_transition_types.h" |
| 32 #include "content/public/common/view_types.h" | 32 #include "content/public/common/view_type.h" |
| 33 #include "net/base/escape.h" | 33 #include "net/base/escape.h" |
| 34 #include "net/url_request/url_request_context_getter.h" | 34 #include "net/url_request/url_request_context_getter.h" |
| 35 | 35 |
| 36 using content::BrowserThread; | 36 using content::BrowserThread; |
| 37 using WebKit::WebDragOperation; | 37 using WebKit::WebDragOperation; |
| 38 using WebKit::WebDragOperationsMask; | 38 using WebKit::WebDragOperationsMask; |
| 39 | 39 |
| 40 namespace { | 40 namespace { |
| 41 | 41 |
| 42 void ResourceRequestHelper(ResourceDispatcherHost* resource_dispatcher_host, | 42 void ResourceRequestHelper(ResourceDispatcherHost* resource_dispatcher_host, |
| (...skipping 603 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 646 void InterstitialPage::InterstitialPageRVHViewDelegate::TakeFocus( | 646 void InterstitialPage::InterstitialPageRVHViewDelegate::TakeFocus( |
| 647 bool reverse) { | 647 bool reverse) { |
| 648 if (interstitial_page_->tab() && interstitial_page_->tab()->GetViewDelegate()) | 648 if (interstitial_page_->tab() && interstitial_page_->tab()->GetViewDelegate()) |
| 649 interstitial_page_->tab()->GetViewDelegate()->TakeFocus(reverse); | 649 interstitial_page_->tab()->GetViewDelegate()->TakeFocus(reverse); |
| 650 } | 650 } |
| 651 | 651 |
| 652 void InterstitialPage::InterstitialPageRVHViewDelegate::OnFindReply( | 652 void InterstitialPage::InterstitialPageRVHViewDelegate::OnFindReply( |
| 653 int request_id, int number_of_matches, const gfx::Rect& selection_rect, | 653 int request_id, int number_of_matches, const gfx::Rect& selection_rect, |
| 654 int active_match_ordinal, bool final_update) { | 654 int active_match_ordinal, bool final_update) { |
| 655 } | 655 } |
| OLD | NEW |