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

Side by Side Diff: ui/views/widget/native_widget_win.cc

Issue 6312156: Change includes of gfx/* to ui/gfx/* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 10 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 | « ui/views/view_unittest.cc ('k') | ui/views/widget/widget.h » ('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 #include "ui/views/widget/native_widget_win.h" 5 #include "ui/views/widget/native_widget_win.h"
6 6
7 #include "base/scoped_ptr.h" 7 #include "base/scoped_ptr.h"
8 #include "gfx/canvas_skia.h"
9 #include "gfx/path.h"
10 #include "gfx/native_theme_win.h"
11 #include "ui/base/system_monitor/system_monitor.h" 8 #include "ui/base/system_monitor/system_monitor.h"
12 #include "ui/base/view_prop.h" 9 #include "ui/base/view_prop.h"
13 #include "ui/base/win/hwnd_util.h" 10 #include "ui/base/win/hwnd_util.h"
11 #include "ui/gfx/canvas_skia.h"
12 #include "ui/gfx/native_theme_win.h"
13 #include "ui/gfx/path.h"
14 #include "ui/views/view.h" 14 #include "ui/views/view.h"
15 #include "ui/views/widget/widget.h" 15 #include "ui/views/widget/widget.h"
16 16
17 namespace ui { 17 namespace ui {
18 namespace internal { 18 namespace internal {
19 19
20 namespace { 20 namespace {
21 21
22 // Called from NativeWidgetWin::Paint() to asynchronously redraw child windows. 22 // Called from NativeWidgetWin::Paint() to asynchronously redraw child windows.
23 BOOL CALLBACK EnumChildProcForRedraw(HWND hwnd, LPARAM lparam) { 23 BOOL CALLBACK EnumChildProcForRedraw(HWND hwnd, LPARAM lparam) {
(...skipping 652 matching lines...) Expand 10 before | Expand all | Expand 10 after
676 if (parent_widget) { 676 if (parent_widget) {
677 widget = parent_widget; 677 widget = parent_widget;
678 parent_hwnd = ::GetAncestor(parent_hwnd, GA_PARENT); 678 parent_hwnd = ::GetAncestor(parent_hwnd, GA_PARENT);
679 } 679 }
680 } while (parent_hwnd != NULL && parent_widget != NULL); 680 } while (parent_hwnd != NULL && parent_widget != NULL);
681 681
682 return widget; 682 return widget;
683 } 683 }
684 684
685 } // namespace ui 685 } // namespace ui
OLDNEW
« no previous file with comments | « ui/views/view_unittest.cc ('k') | ui/views/widget/widget.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698