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

Unified Diff: webkit/tools/test_shell/test_shell_win.cc

Issue 6283019: Render using WebPaintSurface. Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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
Index: webkit/tools/test_shell/test_shell_win.cc
===================================================================
--- webkit/tools/test_shell/test_shell_win.cc (revision 73503)
+++ webkit/tools/test_shell/test_shell_win.cc (working copy)
@@ -631,6 +631,15 @@
}
break;
}
+ case IDM_SHOW_PAINT_RECTS: {
+ HMENU menu = GetSubMenu(GetMenu(hwnd), 1);
+ bool was_checked =
+ (GetMenuState(menu, wmId, MF_BYCOMMAND) & MF_CHECKED) != 0;
+ CheckMenuItem(menu, wmId,
+ MF_BYCOMMAND | (was_checked ? MF_UNCHECKED : MF_CHECKED));
+ WebWidget::showDebugPaintRects(!was_checked);
+ break;
+ }
case IDM_SHOW_DEV_TOOLS:
shell->ShowDevTools();
break;
« no previous file with comments | « webkit/tools/test_shell/simple_webpaintsurface_impl.cc ('k') | webkit/tools/test_shell/test_webview_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698