| 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 #ifndef VIEWS_WIDGET_WIDGET_WIN_H_ | 5 #ifndef VIEWS_WIDGET_WIDGET_WIN_H_ |
| 6 #define VIEWS_WIDGET_WIDGET_WIN_H_ | 6 #define VIEWS_WIDGET_WIDGET_WIN_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <atlbase.h> | 9 #include <atlbase.h> |
| 10 #include <atlapp.h> | 10 #include <atlapp.h> |
| (...skipping 491 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 502 static const int kMaxAccessibilityViewEvents = 20; | 502 static const int kMaxAccessibilityViewEvents = 20; |
| 503 | 503 |
| 504 // A vector used to access views for which we have sent notifications to | 504 // A vector used to access views for which we have sent notifications to |
| 505 // accessibility clients. It is used as a circular queue. | 505 // accessibility clients. It is used as a circular queue. |
| 506 std::vector<View*> accessibility_view_events_; | 506 std::vector<View*> accessibility_view_events_; |
| 507 | 507 |
| 508 // The current position of the view events vector. When incrementing, | 508 // The current position of the view events vector. When incrementing, |
| 509 // we always mod this value with the max view events above . | 509 // we always mod this value with the max view events above . |
| 510 int accessibility_view_events_index_; | 510 int accessibility_view_events_index_; |
| 511 | 511 |
| 512 // The last cursor that was active before the current one was selected. Saved | |
| 513 // so that we can restore it. | |
| 514 gfx::NativeCursor previous_cursor_; | |
| 515 | |
| 516 ViewProps props_; | 512 ViewProps props_; |
| 517 | 513 |
| 518 scoped_ptr<InputMethod> input_method_; | 514 scoped_ptr<InputMethod> input_method_; |
| 519 | 515 |
| 520 // Indicates if the |input_method_| is an InputMethodWin instance. | 516 // Indicates if the |input_method_| is an InputMethodWin instance. |
| 521 bool is_input_method_win_; | 517 bool is_input_method_win_; |
| 522 | 518 |
| 523 DISALLOW_COPY_AND_ASSIGN(WidgetWin); | 519 DISALLOW_COPY_AND_ASSIGN(WidgetWin); |
| 524 }; | 520 }; |
| 525 | 521 |
| 526 } // namespace views | 522 } // namespace views |
| 527 | 523 |
| 528 #endif // VIEWS_WIDGET_WIDGET_WIN_H_ | 524 #endif // VIEWS_WIDGET_WIDGET_WIN_H_ |
| OLD | NEW |