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

Side by Side Diff: ui/aura/bench/bench_main.cc

Issue 72503002: Remove some pass-thrus on RootWindow API in favor of exposing the RootWindowHost again. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 1 month 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 | « ui/aura/aura.gyp ('k') | ui/aura/demo/demo_main.cc » ('j') | 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) 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 #include "base/at_exit.h" 5 #include "base/at_exit.h"
6 #include "base/bind.h" 6 #include "base/bind.h"
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/i18n/icu_util.h" 8 #include "base/i18n/icu_util.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/message_loop/message_loop.h" 10 #include "base/message_loop/message_loop.h"
(...skipping 345 matching lines...) Expand 10 before | Expand all | Expand 10 after
356 } else { 356 } else {
357 bench.reset(new WebGLBench(&page_background, 357 bench.reset(new WebGLBench(&page_background,
358 root_window->compositor(), 358 root_window->compositor(),
359 frames)); 359 frames));
360 } 360 }
361 361
362 #ifndef NDEBUG 362 #ifndef NDEBUG
363 ui::PrintLayerHierarchy(root_window->window()->layer(), gfx::Point(100, 100)); 363 ui::PrintLayerHierarchy(root_window->window()->layer(), gfx::Point(100, 100));
364 #endif 364 #endif
365 365
366 root_window->ShowRootWindow(); 366 root_window->host()->Show();
367 base::MessageLoopForUI::current()->Run(); 367 base::MessageLoopForUI::current()->Run();
368 focus_client.reset(); 368 focus_client.reset();
369 root_window.reset(); 369 root_window.reset();
370 370
371 return 0; 371 return 0;
372 } 372 }
OLDNEW
« no previous file with comments | « ui/aura/aura.gyp ('k') | ui/aura/demo/demo_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698