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

Side by Side Diff: content/browser/renderer_host/test_render_view_host.h

Issue 18281002: Move WebDropData to content::DropData and split off conversion function. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Mac build error. Created 7 years, 5 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 #ifndef CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 // function for simulating the most common types of loads. 255 // function for simulating the most common types of loads.
256 void SendNavigateWithOriginalRequestURL( 256 void SendNavigateWithOriginalRequestURL(
257 int page_id, const GURL& url, const GURL& original_request_url); 257 int page_id, const GURL& url, const GURL& original_request_url);
258 258
259 void SendNavigateWithFile( 259 void SendNavigateWithFile(
260 int page_id, const GURL& url, const base::FilePath& file_path); 260 int page_id, const GURL& url, const base::FilePath& file_path);
261 261
262 void TestOnUpdateStateWithFile( 262 void TestOnUpdateStateWithFile(
263 int process_id, const base::FilePath& file_path); 263 int process_id, const base::FilePath& file_path);
264 264
265 void TestOnStartDragging(const WebDropData& drop_data); 265 void TestOnStartDragging(const DropData& drop_data);
266 266
267 // If set, *delete_counter is incremented when this object destructs. 267 // If set, *delete_counter is incremented when this object destructs.
268 void set_delete_counter(int* delete_counter) { 268 void set_delete_counter(int* delete_counter) {
269 delete_counter_ = delete_counter; 269 delete_counter_ = delete_counter;
270 } 270 }
271 271
272 // Sets whether the RenderView currently exists or not. This controls the 272 // Sets whether the RenderView currently exists or not. This controls the
273 // return value from IsRenderViewLive, which the rest of the system uses to 273 // return value from IsRenderViewLive, which the rest of the system uses to
274 // check whether the RenderView has crashed or not. 274 // check whether the RenderView has crashed or not.
275 void set_render_view_created(bool created) { 275 void set_render_view_created(bool created) {
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
364 TestRenderViewHost* active_test_rvh(); 364 TestRenderViewHost* active_test_rvh();
365 TestWebContents* contents(); 365 TestWebContents* contents();
366 366
367 private: 367 private:
368 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness); 368 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness);
369 }; 369 };
370 370
371 } // namespace content 371 } // namespace content
372 372
373 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_ 373 #endif // CONTENT_BROWSER_RENDERER_HOST_TEST_RENDER_VIEW_HOST_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_view_host_unittest.cc ('k') | content/browser/renderer_host/test_render_view_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698