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

Side by Side Diff: content/browser/renderer_host/render_view_host_unittest.cc

Issue 264033002: Move some interfaces from content/port to internal content since they're not referenced in content/… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: sync Created 6 years, 7 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 "base/path_service.h" 5 #include "base/path_service.h"
6 #include "base/strings/utf_string_conversions.h" 6 #include "base/strings/utf_string_conversions.h"
7 #include "content/browser/child_process_security_policy_impl.h" 7 #include "content/browser/child_process_security_policy_impl.h"
8 #include "content/browser/frame_host/render_frame_host_impl.h" 8 #include "content/browser/frame_host/render_frame_host_impl.h"
9 #include "content/browser/renderer_host/render_view_host_delegate_view.h"
9 #include "content/common/input_messages.h" 10 #include "content/common/input_messages.h"
10 #include "content/common/view_messages.h" 11 #include "content/common/view_messages.h"
11 #include "content/port/browser/render_view_host_delegate_view.h"
12 #include "content/public/browser/navigation_entry.h" 12 #include "content/public/browser/navigation_entry.h"
13 #include "content/public/common/bindings_policy.h" 13 #include "content/public/common/bindings_policy.h"
14 #include "content/public/common/drop_data.h" 14 #include "content/public/common/drop_data.h"
15 #include "content/public/common/page_transition_types.h" 15 #include "content/public/common/page_transition_types.h"
16 #include "content/public/common/url_constants.h" 16 #include "content/public/common/url_constants.h"
17 #include "content/public/test/mock_render_process_host.h" 17 #include "content/public/test/mock_render_process_host.h"
18 #include "content/test/test_content_browser_client.h" 18 #include "content/test/test_content_browser_client.h"
19 #include "content/test/test_render_view_host.h" 19 #include "content/test/test_render_view_host.h"
20 #include "content/test/test_web_contents.h" 20 #include "content/test/test_web_contents.h"
21 #include "net/base/filename_util.h" 21 #include "net/base/filename_util.h"
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 } 280 }
281 281
282 TEST_F(RenderViewHostTest, RoutingIdSane) { 282 TEST_F(RenderViewHostTest, RoutingIdSane) {
283 RenderFrameHostImpl* root_rfh = 283 RenderFrameHostImpl* root_rfh =
284 contents()->GetFrameTree()->root()->current_frame_host(); 284 contents()->GetFrameTree()->root()->current_frame_host();
285 EXPECT_EQ(test_rvh()->GetProcess(), root_rfh->GetProcess()); 285 EXPECT_EQ(test_rvh()->GetProcess(), root_rfh->GetProcess());
286 EXPECT_NE(test_rvh()->GetRoutingID(), root_rfh->routing_id()); 286 EXPECT_NE(test_rvh()->GetRoutingID(), root_rfh->routing_id());
287 } 287 }
288 288
289 } // namespace content 289 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_view_host_impl.cc ('k') | content/browser/renderer_host/render_widget_host_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698