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

Side by Side Diff: ui/aura/root_window.cc

Issue 10889024: [cros] Initialize OOBE in parallel when boot animation is disabled. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Subscription fixes Created 8 years, 3 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
« no previous file with comments | « chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc ('k') | no next file » | 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 "ui/aura/root_window.h" 5 #include "ui/aura/root_window.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/auto_reset.h" 9 #include "base/auto_reset.h"
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 110
111 RootWindow::RootWindow(const gfx::Rect& initial_bounds) 111 RootWindow::RootWindow(const gfx::Rect& initial_bounds)
112 : Window(NULL), 112 : Window(NULL),
113 ALLOW_THIS_IN_INITIALIZER_LIST( 113 ALLOW_THIS_IN_INITIALIZER_LIST(
114 host_(RootWindowHost::Create(this, initial_bounds))), 114 host_(RootWindowHost::Create(this, initial_bounds))),
115 ALLOW_THIS_IN_INITIALIZER_LIST(schedule_paint_factory_(this)), 115 ALLOW_THIS_IN_INITIALIZER_LIST(schedule_paint_factory_(this)),
116 ALLOW_THIS_IN_INITIALIZER_LIST(event_factory_(this)), 116 ALLOW_THIS_IN_INITIALIZER_LIST(event_factory_(this)),
117 mouse_button_flags_(0), 117 mouse_button_flags_(0),
118 touch_ids_down_(0), 118 touch_ids_down_(0),
119 last_cursor_(ui::kCursorNull), 119 last_cursor_(ui::kCursorNull),
120 // TODO(ivankr): this currently tracks the default state in
121 // RootWindowHostLinux. Other platforms do not implement ShowCursor().
122 cursor_shown_(true),
120 mouse_pressed_handler_(NULL), 123 mouse_pressed_handler_(NULL),
121 mouse_moved_handler_(NULL), 124 mouse_moved_handler_(NULL),
122 mouse_event_dispatch_target_(NULL), 125 mouse_event_dispatch_target_(NULL),
123 ALLOW_THIS_IN_INITIALIZER_LIST( 126 ALLOW_THIS_IN_INITIALIZER_LIST(
124 gesture_recognizer_(ui::GestureRecognizer::Create(this))), 127 gesture_recognizer_(ui::GestureRecognizer::Create(this))),
125 synthesize_mouse_move_(false), 128 synthesize_mouse_move_(false),
126 waiting_on_compositing_end_(false), 129 waiting_on_compositing_end_(false),
127 draw_on_compositing_end_(false), 130 draw_on_compositing_end_(false),
128 defer_draw_scheduling_(false), 131 defer_draw_scheduling_(false),
129 mouse_move_hold_count_(0), 132 mouse_move_hold_count_(0),
(...skipping 956 matching lines...) Expand 10 before | Expand all | Expand 10 after
1086 void RootWindow::UnlockCompositor() { 1089 void RootWindow::UnlockCompositor() {
1087 DCHECK(compositor_lock_); 1090 DCHECK(compositor_lock_);
1088 compositor_lock_ = NULL; 1091 compositor_lock_ = NULL;
1089 if (draw_on_compositor_unlock_) { 1092 if (draw_on_compositor_unlock_) {
1090 draw_on_compositor_unlock_ = false; 1093 draw_on_compositor_unlock_ = false;
1091 ScheduleDraw(); 1094 ScheduleDraw();
1092 } 1095 }
1093 } 1096 }
1094 1097
1095 } // namespace aura 1098 } // namespace aura
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698