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

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

Issue 526493004: Revert of Keep a copy of page id in RenderViewHost. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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/renderer/render_view_impl.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 231 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 void SendNavigateWithOriginalRequestURL( 242 void SendNavigateWithOriginalRequestURL(
243 int page_id, const GURL& url, const GURL& original_request_url); 243 int page_id, const GURL& url, const GURL& original_request_url);
244 244
245 void SendNavigateWithFile( 245 void SendNavigateWithFile(
246 int page_id, const GURL& url, const base::FilePath& file_path); 246 int page_id, const GURL& url, const base::FilePath& file_path);
247 247
248 void SendNavigateWithParams( 248 void SendNavigateWithParams(
249 FrameHostMsg_DidCommitProvisionalLoad_Params* params); 249 FrameHostMsg_DidCommitProvisionalLoad_Params* params);
250 250
251 void TestOnUpdateStateWithFile( 251 void TestOnUpdateStateWithFile(
252 int page_id, const base::FilePath& file_path); 252 int process_id, const base::FilePath& file_path);
253 253
254 void TestOnStartDragging(const DropData& drop_data); 254 void TestOnStartDragging(const DropData& drop_data);
255 255
256 // If set, *delete_counter is incremented when this object destructs. 256 // If set, *delete_counter is incremented when this object destructs.
257 void set_delete_counter(int* delete_counter) { 257 void set_delete_counter(int* delete_counter) {
258 delete_counter_ = delete_counter; 258 delete_counter_ = delete_counter;
259 } 259 }
260 260
261 // Sets whether the RenderView currently exists or not. This controls the 261 // Sets whether the RenderView currently exists or not. This controls the
262 // return value from IsRenderViewLive, which the rest of the system uses to 262 // return value from IsRenderViewLive, which the rest of the system uses to
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 private: 398 private:
399 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors> 399 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors>
400 ScopedSetSupportedScaleFactors; 400 ScopedSetSupportedScaleFactors;
401 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; 401 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_;
402 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); 402 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness);
403 }; 403 };
404 404
405 } // namespace content 405 } // namespace content
406 406
407 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ 407 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_
OLDNEW
« no previous file with comments | « content/renderer/render_view_impl.cc ('k') | content/test/test_render_view_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698