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

Side by Side Diff: views/widget/root_view.cc

Issue 150133: Fixing the GTK toolkit views build (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 5 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 | « no previous file | no next file » | 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 #include "views/widget/root_view.h" 5 #include "views/widget/root_view.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "app/drag_drop_types.h" 9 #include "app/drag_drop_types.h"
10 #include "app/gfx/canvas.h" 10 #include "app/gfx/canvas.h"
11 #if defined(OS_WIN) 11 #if defined(OS_WIN)
12 #include "base/base_drag_source.h" 12 #include "base/base_drag_source.h"
13 #endif 13 #endif
14 #include "base/logging.h" 14 #include "base/logging.h"
15 #include "base/message_loop.h" 15 #include "base/message_loop.h"
16 #include "views/focus/view_storage.h"
16 #if defined(OS_WIN) 17 #if defined(OS_WIN)
17 #include "views/focus/view_storage.h"
18 #include "views/widget/root_view_drop_target.h" 18 #include "views/widget/root_view_drop_target.h"
19 #endif 19 #endif
20 #include "views/widget/widget.h" 20 #include "views/widget/widget.h"
21 #include "views/window/window.h" 21 #include "views/window/window.h"
22 22
23 namespace views { 23 namespace views {
24 24
25 ///////////////////////////////////////////////////////////////////////////// 25 /////////////////////////////////////////////////////////////////////////////
26 // 26 //
27 // A Task to trigger non urgent painting. 27 // A Task to trigger non urgent painting.
(...skipping 911 matching lines...) Expand 10 before | Expand all | Expand 10 after
939 previous_cursor_ = NULL; 939 previous_cursor_ = NULL;
940 } 940 }
941 #elif defined(OS_LINUX) 941 #elif defined(OS_LINUX)
942 gdk_window_set_cursor(GetWidget()->GetNativeView()->window, cursor); 942 gdk_window_set_cursor(GetWidget()->GetNativeView()->window, cursor);
943 if (cursor) 943 if (cursor)
944 gdk_cursor_destroy(cursor); 944 gdk_cursor_destroy(cursor);
945 #endif 945 #endif
946 } 946 }
947 947
948 } // namespace views 948 } // namespace views
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698