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

Unified Diff: views/desktop/desktop_main.cc

Issue 7206055: Add an option to run Chrome in the views desktop. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 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 | « chrome/common/chrome_switches.cc ('k') | views/desktop/desktop_window.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/desktop/desktop_main.cc
===================================================================
--- views/desktop/desktop_main.cc (revision 89890)
+++ views/desktop/desktop_main.cc (working copy)
@@ -50,6 +50,10 @@
views::Widget::SetPureViews(true);
views::desktop::DesktopWindow::CreateDesktopWindow();
+ views::desktop::DesktopWindow::desktop_window->CreateTestWindow(
+ L"Sample Window 1", SK_ColorWHITE, gfx::Rect(500, 200, 400, 400), true);
+ views::desktop::DesktopWindow::desktop_window->CreateTestWindow(
+ L"Sample Window 2", SK_ColorRED, gfx::Rect(600, 450, 450, 300), false);
views::AcceleratorHandler accelerator_handler;
MessageLoopForUI::current()->Run(&accelerator_handler);
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | views/desktop/desktop_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698