| OLD | NEW |
| 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 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 244 void SendNavigateWithOriginalRequestURL( | 244 void SendNavigateWithOriginalRequestURL( |
| 245 int page_id, const GURL& url, const GURL& original_request_url); | 245 int page_id, const GURL& url, const GURL& original_request_url); |
| 246 | 246 |
| 247 void SendNavigateWithFile( | 247 void SendNavigateWithFile( |
| 248 int page_id, const GURL& url, const base::FilePath& file_path); | 248 int page_id, const GURL& url, const base::FilePath& file_path); |
| 249 | 249 |
| 250 void SendNavigateWithParams( | 250 void SendNavigateWithParams( |
| 251 FrameHostMsg_DidCommitProvisionalLoad_Params* params); | 251 FrameHostMsg_DidCommitProvisionalLoad_Params* params); |
| 252 | 252 |
| 253 void TestOnUpdateStateWithFile( | 253 void TestOnUpdateStateWithFile( |
| 254 int process_id, const base::FilePath& file_path); | 254 int page_id, const base::FilePath& file_path); |
| 255 | 255 |
| 256 void TestOnStartDragging(const DropData& drop_data); | 256 void TestOnStartDragging(const DropData& drop_data); |
| 257 | 257 |
| 258 // If set, *delete_counter is incremented when this object destructs. | 258 // If set, *delete_counter is incremented when this object destructs. |
| 259 void set_delete_counter(int* delete_counter) { | 259 void set_delete_counter(int* delete_counter) { |
| 260 delete_counter_ = delete_counter; | 260 delete_counter_ = delete_counter; |
| 261 } | 261 } |
| 262 | 262 |
| 263 // Sets whether the RenderView currently exists or not. This controls the | 263 // Sets whether the RenderView currently exists or not. This controls the |
| 264 // return value from IsRenderViewLive, which the rest of the system uses to | 264 // return value from IsRenderViewLive, which the rest of the system uses to |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 373 private: | 373 private: |
| 374 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors> | 374 typedef scoped_ptr<ui::test::ScopedSetSupportedScaleFactors> |
| 375 ScopedSetSupportedScaleFactors; | 375 ScopedSetSupportedScaleFactors; |
| 376 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; | 376 ScopedSetSupportedScaleFactors scoped_set_supported_scale_factors_; |
| 377 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); | 377 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); |
| 378 }; | 378 }; |
| 379 | 379 |
| 380 } // namespace content | 380 } // namespace content |
| 381 | 381 |
| 382 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ | 382 #endif // CONTENT_TEST_TEST_RENDER_VIEW_HOST_H_ |
| OLD | NEW |