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

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

Issue 113443: ChromeCanvas->gfx::Canvas (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 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_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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 "base/message_loop.h" 13 #include "base/message_loop.h"
14 #include "base/system_monitor.h" 14 #include "base/system_monitor.h"
15 #include "views/focus/focus_manager.h" 15 #include "views/focus/focus_manager.h"
16 #include "views/layout_manager.h" 16 #include "views/layout_manager.h"
17 #include "views/widget/widget.h" 17 #include "views/widget/widget.h"
18 18
19 class ChromeCanvas;
20
21 namespace gfx { 19 namespace gfx {
20 class Canvas;
22 class Rect; 21 class Rect;
23 } 22 }
24 23
25 namespace views { 24 namespace views {
26 25
27 class RootView; 26 class RootView;
28 class TooltipManager; 27 class TooltipManager;
29 class DefaultThemeProvider; 28 class DefaultThemeProvider;
30 class Window; 29 class Window;
31 30
(...skipping 569 matching lines...) Expand 10 before | Expand all | Expand 10 after
601 // must likely want to set this to false, or after changing the alpha toggle 600 // must likely want to set this to false, or after changing the alpha toggle
602 // the extended style bit to false than back to true. See MSDN for more 601 // the extended style bit to false than back to true. See MSDN for more
603 // details. 602 // details.
604 bool use_layered_buffer_; 603 bool use_layered_buffer_;
605 604
606 // The default alpha to be applied to the layered window. 605 // The default alpha to be applied to the layered window.
607 BYTE layered_alpha_; 606 BYTE layered_alpha_;
608 607
609 // A canvas that contains the window contents in the case of a layered 608 // A canvas that contains the window contents in the case of a layered
610 // window. 609 // window.
611 scoped_ptr<ChromeCanvas> contents_; 610 scoped_ptr<gfx::Canvas> contents_;
612 611
613 // Whether or not the window should delete itself when it is destroyed. 612 // Whether or not the window should delete itself when it is destroyed.
614 // Set this to false via its setter for stack allocated instances. 613 // Set this to false via its setter for stack allocated instances.
615 bool delete_on_destroy_; 614 bool delete_on_destroy_;
616 615
617 // True if we are allowed to update the layered window from the DIB backing 616 // True if we are allowed to update the layered window from the DIB backing
618 // store if necessary. 617 // store if necessary.
619 bool can_update_layered_window_; 618 bool can_update_layered_window_;
620 619
621 // The following are used to detect duplicate mouse move events and not 620 // The following are used to detect duplicate mouse move events and not
(...skipping 12 matching lines...) Expand all
634 633
635 scoped_ptr<DefaultThemeProvider> default_theme_provider_; 634 scoped_ptr<DefaultThemeProvider> default_theme_provider_;
636 635
637 // Our hwnd. 636 // Our hwnd.
638 HWND hwnd_; 637 HWND hwnd_;
639 }; 638 };
640 639
641 } // namespace views 640 } // namespace views
642 641
643 #endif // #ifndef VIEWS_WIDGET_WIDGET_WIN_H_ 642 #endif // #ifndef 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