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

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

Issue 2862025: Canvas refactoring part 2.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 6 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_win.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 7
8 #include <atlbase.h> 8 #include <atlbase.h>
9 #include <atlapp.h> 9 #include <atlapp.h>
10 #include <atlcrack.h> 10 #include <atlcrack.h>
11 #include <atlmisc.h> 11 #include <atlmisc.h>
12 12
13 #include <vector> 13 #include <vector>
14 14
15 #include "app/win/window_impl.h" 15 #include "app/win/window_impl.h"
16 #include "base/message_loop.h" 16 #include "base/message_loop.h"
17 #include "base/scoped_comptr_win.h" 17 #include "base/scoped_comptr_win.h"
18 #include "views/focus/focus_manager.h" 18 #include "views/focus/focus_manager.h"
19 #include "views/layout_manager.h" 19 #include "views/layout_manager.h"
20 #include "views/widget/widget.h" 20 #include "views/widget/widget.h"
21 21
22 namespace gfx { 22 namespace gfx {
23 class Canvas; 23 class CanvasSkia;
24 class Rect; 24 class Rect;
25 } 25 }
26 26
27 namespace views { 27 namespace views {
28 28
29 class DefaultThemeProvider; 29 class DefaultThemeProvider;
30 class DropTargetWin; 30 class DropTargetWin;
31 class FocusSearch; 31 class FocusSearch;
32 class RootView; 32 class RootView;
33 class TooltipManagerWin; 33 class TooltipManagerWin;
(...skipping 492 matching lines...) Expand 10 before | Expand all | Expand 10 after
526 // must likely want to set this to false, or after changing the alpha toggle 526 // must likely want to set this to false, or after changing the alpha toggle
527 // the extended style bit to false than back to true. See MSDN for more 527 // the extended style bit to false than back to true. See MSDN for more
528 // details. 528 // details.
529 bool use_layered_buffer_; 529 bool use_layered_buffer_;
530 530
531 // The default alpha to be applied to the layered window. 531 // The default alpha to be applied to the layered window.
532 BYTE layered_alpha_; 532 BYTE layered_alpha_;
533 533
534 // A canvas that contains the window contents in the case of a layered 534 // A canvas that contains the window contents in the case of a layered
535 // window. 535 // window.
536 scoped_ptr<gfx::Canvas> contents_; 536 scoped_ptr<gfx::CanvasSkia> contents_;
537 537
538 // Whether or not the window should delete itself when it is destroyed. 538 // Whether or not the window should delete itself when it is destroyed.
539 // Set this to false via its setter for stack allocated instances. 539 // Set this to false via its setter for stack allocated instances.
540 bool delete_on_destroy_; 540 bool delete_on_destroy_;
541 541
542 // True if we are allowed to update the layered window from the DIB backing 542 // True if we are allowed to update the layered window from the DIB backing
543 // store if necessary. 543 // store if necessary.
544 bool can_update_layered_window_; 544 bool can_update_layered_window_;
545 545
546 // The following are used to detect duplicate mouse move events and not 546 // The following are used to detect duplicate mouse move events and not
(...skipping 28 matching lines...) Expand all
575 std::vector<View*> accessibility_view_events_; 575 std::vector<View*> accessibility_view_events_;
576 576
577 // The current position of the view events vector. When incrementing, 577 // The current position of the view events vector. When incrementing,
578 // we always mod this value with the max view events above . 578 // we always mod this value with the max view events above .
579 int accessibility_view_events_index_; 579 int accessibility_view_events_index_;
580 }; 580 };
581 581
582 } // namespace views 582 } // namespace views
583 583
584 #endif // VIEWS_WIDGET_WIDGET_WIN_H_ 584 #endif // VIEWS_WIDGET_WIDGET_WIN_H_
OLDNEW
« no previous file with comments | « views/widget/root_view_win.cc ('k') | views/widget/widget_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698