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

Side by Side Diff: content/public/test/layouttest_support.h

Issue 18590002: Migrate MediaStream test code from content/shell/renderer/ to content/test/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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
« no previous file with comments | « content/public/renderer/content_renderer_client.cc ('k') | content/renderer/render_view_impl.h » ('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_PUBLIC_TEST_LAYOUTTEST_SUPPORT_H_ 5 #ifndef CONTENT_PUBLIC_TEST_LAYOUTTEST_SUPPORT_H_
6 #define CONTENT_PUBLIC_TEST_LAYOUTTEST_SUPPORT_H_ 6 #define CONTENT_PUBLIC_TEST_LAYOUTTEST_SUPPORT_H_
7 7
8 #include "base/callback_forward.h" 8 #include "base/callback_forward.h"
9 9
10 namespace WebKit { 10 namespace WebKit {
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 // Set the device scale factor and force the compositor to resize. 57 // Set the device scale factor and force the compositor to resize.
58 void SetDeviceScaleFactor(RenderView* render_view, float factor); 58 void SetDeviceScaleFactor(RenderView* render_view, float factor);
59 59
60 // Control auto resize mode. 60 // Control auto resize mode.
61 void EnableAutoResizeMode(RenderView* render_view, 61 void EnableAutoResizeMode(RenderView* render_view,
62 const WebKit::WebSize& min_size, 62 const WebKit::WebSize& min_size,
63 const WebKit::WebSize& max_size); 63 const WebKit::WebSize& max_size);
64 void DisableAutoResizeMode(RenderView* render_view, 64 void DisableAutoResizeMode(RenderView* render_view,
65 const WebKit::WebSize& new_size); 65 const WebKit::WebSize& new_size);
66 66
67 // Forces the |render_view| to use mock media streams.
68 void UseMockMediaStreams(RenderView* render_view);
69
67 } // namespace content 70 } // namespace content
68 71
69 #endif // CONTENT_PUBLIC_TEST_LAYOUTTEST_SUPPORT_H_ 72 #endif // CONTENT_PUBLIC_TEST_LAYOUTTEST_SUPPORT_H_
OLDNEW
« no previous file with comments | « content/public/renderer/content_renderer_client.cc ('k') | content/renderer/render_view_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698