| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 CHROME_VIEWS_WIDGET_ROOT_VIEW_H_ | 5 #ifndef CHROME_VIEWS_WIDGET_ROOT_VIEW_H_ |
| 6 #define CHROME_VIEWS_WIDGET_ROOT_VIEW_H_ | 6 #define CHROME_VIEWS_WIDGET_ROOT_VIEW_H_ |
| 7 | 7 |
| 8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
| 9 | 9 |
| 10 #if defined(TOOLKIT_GTK) | 10 #if defined(TOOLKIT_GTK) |
| (...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 309 | 309 |
| 310 // true if mouse_handler_ has been explicitly set | 310 // true if mouse_handler_ has been explicitly set |
| 311 bool explicit_mouse_handler_; | 311 bool explicit_mouse_handler_; |
| 312 | 312 |
| 313 #if defined(OS_WIN) | 313 #if defined(OS_WIN) |
| 314 // Previous cursor | 314 // Previous cursor |
| 315 HCURSOR previous_cursor_; | 315 HCURSOR previous_cursor_; |
| 316 #endif | 316 #endif |
| 317 | 317 |
| 318 // Default keyboard handler | 318 // Default keyboard handler |
| 319 View* default_keyboard_hander_; | 319 View* default_keyboard_handler_; |
| 320 | 320 |
| 321 // The listener that gets focus change notifications. | 321 // The listener that gets focus change notifications. |
| 322 FocusListener* focus_listener_; | 322 FocusListener* focus_listener_; |
| 323 | 323 |
| 324 // Whether this root view should make our hwnd focused | 324 // Whether this root view should make our hwnd focused |
| 325 // when an unprocessed mouse press event occurs | 325 // when an unprocessed mouse press event occurs |
| 326 bool focus_on_mouse_pressed_; | 326 bool focus_on_mouse_pressed_; |
| 327 | 327 |
| 328 // Flag used to ignore focus events when we focus the native window associated | 328 // Flag used to ignore focus events when we focus the native window associated |
| 329 // with a view. | 329 // with a view. |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 362 | 362 |
| 363 #ifndef NDEBUG | 363 #ifndef NDEBUG |
| 364 // True if we're currently processing paint. | 364 // True if we're currently processing paint. |
| 365 bool is_processing_paint_; | 365 bool is_processing_paint_; |
| 366 #endif | 366 #endif |
| 367 }; | 367 }; |
| 368 | 368 |
| 369 } // namespace views | 369 } // namespace views |
| 370 | 370 |
| 371 #endif // CHROME_VIEWS_WIDGET_ROOT_VIEW_H_ | 371 #endif // CHROME_VIEWS_WIDGET_ROOT_VIEW_H_ |
| OLD | NEW |