| OLD | NEW |
| 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 #ifndef UI_VIEWS_WIDGET_ROOT_VIEW_H_ | 5 #ifndef UI_VIEWS_WIDGET_ROOT_VIEW_H_ |
| 6 #define UI_VIEWS_WIDGET_ROOT_VIEW_H_ | 6 #define UI_VIEWS_WIDGET_ROOT_VIEW_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
| (...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 187 | 187 |
| 188 // The view currently handling gesture events. When set, this handler receives | 188 // The view currently handling gesture events. When set, this handler receives |
| 189 // all gesture events, except when there is an event handler for the specific | 189 // all gesture events, except when there is an event handler for the specific |
| 190 // gesture (e.g. scroll). | 190 // gesture (e.g. scroll). |
| 191 View* gesture_handler_; | 191 View* gesture_handler_; |
| 192 | 192 |
| 193 // The view currently handling scroll gesture events. | 193 // The view currently handling scroll gesture events. |
| 194 View* scroll_gesture_handler_; | 194 View* scroll_gesture_handler_; |
| 195 | 195 |
| 196 scoped_ptr<internal::PreEventDispatchHandler> pre_dispatch_handler_; | 196 scoped_ptr<internal::PreEventDispatchHandler> pre_dispatch_handler_; |
| 197 scoped_ptr<internal::PostEventDispatchHandler> post_dispatch_handler_; |
| 197 | 198 |
| 198 // Focus --------------------------------------------------------------------- | 199 // Focus --------------------------------------------------------------------- |
| 199 | 200 |
| 200 // The focus search algorithm. | 201 // The focus search algorithm. |
| 201 FocusSearch focus_search_; | 202 FocusSearch focus_search_; |
| 202 | 203 |
| 203 // Whether this root view belongs to the current active window. | 204 // Whether this root view belongs to the current active window. |
| 204 // bool activated_; | 205 // bool activated_; |
| 205 | 206 |
| 206 // The parent FocusTraversable, used for focus traversal. | 207 // The parent FocusTraversable, used for focus traversal. |
| (...skipping 11 matching lines...) Expand all Loading... |
| 218 // Tracks drag state for a view. | 219 // Tracks drag state for a view. |
| 219 View::DragInfo drag_info_; | 220 View::DragInfo drag_info_; |
| 220 | 221 |
| 221 DISALLOW_IMPLICIT_CONSTRUCTORS(RootView); | 222 DISALLOW_IMPLICIT_CONSTRUCTORS(RootView); |
| 222 }; | 223 }; |
| 223 | 224 |
| 224 } // namespace internal | 225 } // namespace internal |
| 225 } // namespace views | 226 } // namespace views |
| 226 | 227 |
| 227 #endif // UI_VIEWS_WIDGET_ROOT_VIEW_H_ | 228 #endif // UI_VIEWS_WIDGET_ROOT_VIEW_H_ |
| OLD | NEW |