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

Side by Side Diff: content/test/test_render_view_host.h

Issue 1110943003: Revert of Classify navigations without page id in parallel to the existing classifier. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « content/test/test_render_frame_host.cc ('k') | content/test/test_render_view_host.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ 5 #ifndef CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_
6 #define CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ 6 #define CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 22 matching lines...) Expand all
33 namespace gfx { 33 namespace gfx {
34 class Rect; 34 class Rect;
35 } 35 }
36 36
37 namespace content { 37 namespace content {
38 38
39 class SiteInstance; 39 class SiteInstance;
40 class TestRenderFrameHost; 40 class TestRenderFrameHost;
41 class TestWebContents; 41 class TestWebContents;
42 42
43 // Utility function to initialize FrameHostMsg_DidCommitProvisionalLoad_Params 43 // Utility function to initialize ViewHostMsg_NavigateParams_Params
44 // with given parameters. 44 // with given |page_id|, |url| and |transition_type|.
45 void InitNavigateParams(FrameHostMsg_DidCommitProvisionalLoad_Params* params, 45 void InitNavigateParams(FrameHostMsg_DidCommitProvisionalLoad_Params* params,
46 int page_id, 46 int page_id,
47 int nav_entry_id,
48 bool did_create_new_entry,
49 const GURL& url, 47 const GURL& url,
50 ui::PageTransition transition_type); 48 ui::PageTransition transition_type);
51 49
52 // TestRenderViewHostView ------------------------------------------------------ 50 // TestRenderViewHostView ------------------------------------------------------
53 51
54 // Subclass the RenderViewHost's view so that we can call Show(), etc., 52 // Subclass the RenderViewHost's view so that we can call Show(), etc.,
55 // without having side-effects. 53 // without having side-effects.
56 class TestRenderWidgetHostView : public RenderWidgetHostViewBase { 54 class TestRenderWidgetHostView : public RenderWidgetHostViewBase {
57 public: 55 public:
58 explicit TestRenderWidgetHostView(RenderWidgetHost* rwh); 56 explicit TestRenderWidgetHostView(RenderWidgetHost* rwh);
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
315 private: 313 private:
316 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors> 314 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors>
317 ScopedSetSupportedScaleFactors; 315 ScopedSetSupportedScaleFactors;
318 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; 316 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_;
319 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); 317 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness);
320 }; 318 };
321 319
322 } // namespace content 320 } // namespace content
323 321
324 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ 322 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_
OLDNEW
« no previous file with comments | « content/test/test_render_frame_host.cc ('k') | content/test/test_render_view_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698