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

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

Issue 212703005: Preserve Page::openedByDOM state across process swaps. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 8 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
« no previous file with comments | « content/renderer/render_view_impl_params.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 297 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 return main_render_frame_host_; 308 return main_render_frame_host_;
309 } 309 }
310 void set_main_render_frame_host(TestRenderFrameHost* rfh) { 310 void set_main_render_frame_host(TestRenderFrameHost* rfh) {
311 main_render_frame_host_ = rfh; 311 main_render_frame_host_ = rfh;
312 } 312 }
313 313
314 // RenderViewHost overrides -------------------------------------------------- 314 // RenderViewHost overrides --------------------------------------------------
315 315
316 virtual bool CreateRenderView(const base::string16& frame_name, 316 virtual bool CreateRenderView(const base::string16& frame_name,
317 int opener_route_id, 317 int opener_route_id,
318 int32 max_page_id) OVERRIDE; 318 int32 max_page_id,
319 bool window_was_created_with_opener) OVERRIDE;
319 virtual bool IsRenderViewLive() const OVERRIDE; 320 virtual bool IsRenderViewLive() const OVERRIDE;
320 virtual bool IsFullscreen() const OVERRIDE; 321 virtual bool IsFullscreen() const OVERRIDE;
321 322
322 private: 323 private:
323 FRIEND_TEST_ALL_PREFIXES(RenderViewHostTest, FilterNavigate); 324 FRIEND_TEST_ALL_PREFIXES(RenderViewHostTest, FilterNavigate);
324 325
325 void SendNavigateWithTransitionAndResponseCode(int page_id, 326 void SendNavigateWithTransitionAndResponseCode(int page_id,
326 const GURL& url, 327 const GURL& url,
327 PageTransition transition, 328 PageTransition transition,
328 int response_code); 329 int response_code);
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 private: 382 private:
382 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors> 383 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors>
383 ScopedSetSupportedScaleFactors; 384 ScopedSetSupportedScaleFactors;
384 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; 385 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_;
385 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); 386 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness);
386 }; 387 };
387 388
388 } // namespace content 389 } // namespace content
389 390
390 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ 391 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_
OLDNEW
« no previous file with comments | « content/renderer/render_view_impl_params.cc ('k') | content/test/test_render_view_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698