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

Side by Side Diff: content/renderer/render_widget_browsertest.h

Issue 7537033: Move more files from chrome/test to chrome/test/base, part #5 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 4 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_browsertest_mac.mm ('k') | no next file » | 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_RENDERER_RENDER_WIDGET_BROWSERTEST_H_ 5 #ifndef CONTENT_RENDERER_RENDER_WIDGET_BROWSERTEST_H_
6 #define CONTENT_RENDERER_RENDER_WIDGET_BROWSERTEST_H_ 6 #define CONTENT_RENDERER_RENDER_WIDGET_BROWSERTEST_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/file_path.h" 10 #include "base/file_path.h"
11 #include "chrome/test/render_view_test.h" 11 #include "chrome/test/base/render_view_test.h"
12 12
13 namespace gfx { 13 namespace gfx {
14 class Size; 14 class Size;
15 } 15 }
16 16
17 class SkBitmap; 17 class SkBitmap;
18 class TransportDIB; 18 class TransportDIB;
19 19
20 class RenderWidgetTest : public RenderViewTest { 20 class RenderWidgetTest : public RenderViewTest {
21 public: 21 public:
(...skipping 27 matching lines...) Expand all
49 // This can be used for debugging if you want to output a bitmap 49 // This can be used for debugging if you want to output a bitmap
50 // image to a file. 50 // image to a file.
51 // FilePath tmp_path; 51 // FilePath tmp_path;
52 // file_util::CreateTemporaryFile(&tmp_path); 52 // file_util::CreateTemporaryFile(&tmp_path);
53 // OutputBitmapToFile(bitmap, tmp_path); 53 // OutputBitmapToFile(bitmap, tmp_path);
54 // LOG(INFO) << "Bitmap image stored at: " << tmp_path.value(); 54 // LOG(INFO) << "Bitmap image stored at: " << tmp_path.value();
55 void OutputBitmapToFile(const SkBitmap& bitmap, const FilePath& file_path); 55 void OutputBitmapToFile(const SkBitmap& bitmap, const FilePath& file_path);
56 }; 56 };
57 57
58 #endif // CONTENT_RENDERER_RENDER_WIDGET_BROWSERTEST_H_ 58 #endif // CONTENT_RENDERER_RENDER_WIDGET_BROWSERTEST_H_
OLDNEW
« no previous file with comments | « content/renderer/render_view_browsertest_mac.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698