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

Side by Side Diff: views/drag_utils.cc

Issue 3066014: Cleanup: Remove unneeded headers from app/ (part 2) (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: rebase Created 10 years, 4 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/controls/tree/tree_view.cc ('k') | views/focus/focus_manager_unittest.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 #include "views/drag_utils.h" 5 #include "views/drag_utils.h"
6 6
7 #include "app/l10n_util.h"
8 #include "app/os_exchange_data.h" 7 #include "app/os_exchange_data.h"
9 #include "app/resource_bundle.h" 8 #include "app/resource_bundle.h"
10 #include "base/file_util.h" 9 #include "base/file_util.h"
11 #include "base/logging.h" 10 #include "base/logging.h"
12 #include "base/utf_string_conversions.h" 11 #include "base/utf_string_conversions.h"
13 #include "gfx/canvas_skia.h" 12 #include "gfx/canvas_skia.h"
14 #include "gfx/font.h" 13 #include "gfx/font.h"
15 #include "googleurl/src/gurl.h" 14 #include "googleurl/src/gurl.h"
16 #include "grit/app_resources.h" 15 #include "grit/app_resources.h"
17 #include "views/controls/button/text_button.h" 16 #include "views/controls/button/text_button.h"
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 93
95 void SetDragImageOnDataObject(const gfx::Canvas& canvas, 94 void SetDragImageOnDataObject(const gfx::Canvas& canvas,
96 const gfx::Size& size, 95 const gfx::Size& size,
97 const gfx::Point& cursor_offset, 96 const gfx::Point& cursor_offset,
98 OSExchangeData* data_object) { 97 OSExchangeData* data_object) {
99 SetDragImageOnDataObject( 98 SetDragImageOnDataObject(
100 canvas.AsCanvasSkia()->ExtractBitmap(), size, cursor_offset, data_object); 99 canvas.AsCanvasSkia()->ExtractBitmap(), size, cursor_offset, data_object);
101 } 100 }
102 101
103 } // namespace drag_utils 102 } // namespace drag_utils
OLDNEW
« no previous file with comments | « views/controls/tree/tree_view.cc ('k') | views/focus/focus_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698