| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "aura/root_window.h" | 5 #include "ui/aura/root_window.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 #include "aura/event.h" | 8 #include "ui/aura/event.h" |
| 9 #include "aura/focus_manager.h" | 9 #include "ui/aura/focus_manager.h" |
| 10 #include "aura/window_delegate.h" | 10 #include "ui/aura/window_delegate.h" |
| 11 #include "ui/base/events.h" | 11 #include "ui/base/events.h" |
| 12 | 12 |
| 13 namespace aura { | 13 namespace aura { |
| 14 namespace internal { | 14 namespace internal { |
| 15 | 15 |
| 16 RootWindow::RootWindow() | 16 RootWindow::RootWindow() |
| 17 : Window(NULL), | 17 : Window(NULL), |
| 18 mouse_pressed_handler_(NULL), | 18 mouse_pressed_handler_(NULL), |
| 19 ALLOW_THIS_IN_INITIALIZER_LIST(focus_manager_(new FocusManager(this))) { | 19 ALLOW_THIS_IN_INITIALIZER_LIST(focus_manager_(new FocusManager(this))) { |
| 20 } | 20 } |
| (...skipping 28 matching lines...) Expand all Loading... |
| 49 bool RootWindow::IsTopLevelWindowContainer() const { | 49 bool RootWindow::IsTopLevelWindowContainer() const { |
| 50 return true; | 50 return true; |
| 51 } | 51 } |
| 52 | 52 |
| 53 FocusManager* RootWindow::GetFocusManager() { | 53 FocusManager* RootWindow::GetFocusManager() { |
| 54 return focus_manager_.get(); | 54 return focus_manager_.get(); |
| 55 } | 55 } |
| 56 | 56 |
| 57 } // namespace internal | 57 } // namespace internal |
| 58 } // namespace aura | 58 } // namespace aura |
| OLD | NEW |