Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(152)

Side by Side Diff: content/browser/tab_contents/interstitial_page_impl.cc

Issue 9420007: Move RenderWidgetHostView into content namespace. Fix include paths. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix linux_chromeos_gtk build issue not caught by trybots. Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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"
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.h" 16 #include "content/browser/renderer_host/render_view_host.h"
17 #include "content/browser/renderer_host/render_widget_host_view.h"
18 #include "content/browser/renderer_host/resource_dispatcher_host.h" 17 #include "content/browser/renderer_host/resource_dispatcher_host.h"
19 #include "content/browser/site_instance_impl.h" 18 #include "content/browser/site_instance_impl.h"
20 #include "content/browser/tab_contents/navigation_controller_impl.h" 19 #include "content/browser/tab_contents/navigation_controller_impl.h"
21 #include "content/browser/tab_contents/navigation_entry_impl.h" 20 #include "content/browser/tab_contents/navigation_entry_impl.h"
22 #include "content/browser/tab_contents/tab_contents.h" 21 #include "content/browser/tab_contents/tab_contents.h"
23 #include "content/common/dom_storage_common.h" 22 #include "content/common/dom_storage_common.h"
24 #include "content/common/view_messages.h" 23 #include "content/common/view_messages.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"
32 #include "content/public/common/bindings_policy.h" 32 #include "content/public/common/bindings_policy.h"
33 #include "content/public/common/page_transition_types.h" 33 #include "content/public/common/page_transition_types.h"
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::RenderViewHostDelegate; 44 using content::RenderViewHostDelegate;
45 using content::RenderWidgetHostView;
45 using content::RenderWidgetHostViewPort; 46 using content::RenderWidgetHostViewPort;
46 using content::SiteInstance; 47 using content::SiteInstance;
47 using content::WebContents; 48 using content::WebContents;
48 using content::WebContentsView; 49 using content::WebContentsView;
49 using WebKit::WebDragOperation; 50 using WebKit::WebDragOperation;
50 using WebKit::WebDragOperationsMask; 51 using WebKit::WebDragOperationsMask;
51 52
52 namespace { 53 namespace {
53 54
54 void ResourceRequestHelper(ResourceDispatcherHost* resource_dispatcher_host, 55 void ResourceRequestHelper(ResourceDispatcherHost* resource_dispatcher_host,
(...skipping 680 matching lines...) Expand 10 before | Expand all | Expand 10 after
735 if (!tab->GetViewDelegate()) 736 if (!tab->GetViewDelegate())
736 return; 737 return;
737 738
738 tab->GetViewDelegate()->TakeFocus(reverse); 739 tab->GetViewDelegate()->TakeFocus(reverse);
739 } 740 }
740 741
741 void InterstitialPageImpl::InterstitialPageRVHViewDelegate::OnFindReply( 742 void InterstitialPageImpl::InterstitialPageRVHViewDelegate::OnFindReply(
742 int request_id, int number_of_matches, const gfx::Rect& selection_rect, 743 int request_id, int number_of_matches, const gfx::Rect& selection_rect,
743 int active_match_ordinal, bool final_update) { 744 int active_match_ordinal, bool final_update) {
744 } 745 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698