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

Unified Diff: content/public/test/render_widget_test.h

Issue 154083008: Remove Tabpose feature on mac, and supporting infrastructure (PaintAtSize) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase, merge Created 6 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/public/browser/render_widget_host.h ('k') | content/public/test/render_widget_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/test/render_widget_test.h
diff --git a/content/public/test/render_widget_test.h b/content/public/test/render_widget_test.h
index 849719431c930e3df6834da3429f21289644ee15..e5f140e7ac96ed6d8c6fc2be3edd14ccced9306a 100644
--- a/content/public/test/render_widget_test.h
+++ b/content/public/test/render_widget_test.h
@@ -31,32 +31,8 @@ class RenderWidgetTest : public RenderViewTest {
static const int kTextPositionY;
static const uint32 kRedARGB;
- // Helper function which calls OnMsgPaintAtSize and also paints the result
- // in the given bitmap. The widget is resized to |page_size| before we paint
- // and the final image is resized to |desired_size|. This method is virtual so
- // that TestResizeAndPaint() can be reused by subclasses of this test class.
- virtual void ResizeAndPaint(const gfx::Size& page_size,
- const gfx::Size& desired_size,
- SkBitmap* snapshot);
-
- // Test for ResizeAndPaint.
- void TestResizeAndPaint();
-
// Test for OnResize and Resize.
void TestOnResize();
-
- // Helper function which returns true if the given bitmap contains the given
- // ARGB color and false otherwise.
- bool ImageContainsColor(const SkBitmap& bitmap, uint32 argb_color);
-
- // This can be used for debugging if you want to output a bitmap
- // image to a file.
- // FilePath tmp_path;
- // base::CreateTemporaryFile(&tmp_path);
- // OutputBitmapToFile(bitmap, tmp_path);
- // VLOG(0) << "Bitmap image stored at: " << tmp_path.value();
- void OutputBitmapToFile(const SkBitmap& bitmap,
- const base::FilePath& file_path);
};
} // namespace content
« no previous file with comments | « content/public/browser/render_widget_host.h ('k') | content/public/test/render_widget_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698