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

Side by Side Diff: views/widget/widget_win.h

Issue 6880201: Scrap WNDCLASSEX.hCursor, update GetCursorForPoint, etc. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use brace style struct init for WNDCLASSEX |class_ex|, fix comment. Created 9 years, 7 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 | « views/widget/root_view.cc ('k') | views/widget/widget_win.cc » ('j') | 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) 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
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_
OLDNEW
« no previous file with comments | « views/widget/root_view.cc ('k') | views/widget/widget_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698