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

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

Issue 11066098: Fix a test which uses the RenderViewTest harness running in unit_test binaries. This gives an asser… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix deps Created 8 years, 2 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_PUBLIC_TEST_RENDER_WIDGET_BROWSERTEST_H_ 5 #ifndef CONTENT_PUBLIC_TEST_RENDER_WIDGET_TEST_H_
6 #define CONTENT_PUBLIC_TEST_RENDER_WIDGET_BROWSERTEST_H_ 6 #define CONTENT_PUBLIC_TEST_RENDER_WIDGET_TEST_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/file_path.h" 9 #include "base/file_path.h"
10 #include "content/public/test/render_view_test.h" 10 #include "content/public/test/render_view_test.h"
11 11
12 class SkBitmap; 12 class SkBitmap;
13 13
14 namespace gfx { 14 namespace gfx {
15 class Size; 15 class Size;
16 } 16 }
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 } // namespace content 58 } // namespace content
59 59
60 #endif // CONTENT_PUBLIC_TEST_RENDER_WIDGET_BROWSERTEST_H_ 60 #endif // CONTENT_PUBLIC_TEST_RENDER_WIDGET_TEST_H_
OLDNEW
« no previous file with comments | « content/public/test/render_widget_browsertest.cc ('k') | content/public/test/render_widget_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698