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

Side by Side Diff: content/browser/web_contents/web_contents_drag_win.h

Issue 10967009: content: Forward declare SkBitmap instead of including its header file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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 | content/browser/web_contents/web_contents_drag_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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_DRAG_WIN_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_DRAG_WIN_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_DRAG_WIN_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_DRAG_WIN_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "base/threading/platform_thread.h" 12 #include "base/threading/platform_thread.h"
13 #include "content/common/content_export.h" 13 #include "content/common/content_export.h"
14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDragOperation.h" 14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDragOperation.h"
15 #include "third_party/skia/include/core/SkBitmap.h"
16 #include "ui/base/dragdrop/os_exchange_data_provider_win.h" 15 #include "ui/base/dragdrop/os_exchange_data_provider_win.h"
17 #include "ui/gfx/native_widget_types.h" 16 #include "ui/gfx/native_widget_types.h"
18 #include "ui/gfx/point.h" 17 #include "ui/gfx/point.h"
19 18
20 class DragDropThread; 19 class DragDropThread;
20 class SkBitmap;
21 class WebDragDest; 21 class WebDragDest;
22 class WebDragSource; 22 class WebDragSource;
23 struct WebDropData; 23 struct WebDropData;
24 24
25 namespace content { 25 namespace content {
26 class WebContents; 26 class WebContents;
27 } 27 }
28 28
29 namespace gfx { 29 namespace gfx {
30 class ImageSkia; 30 class ImageSkia;
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 105
106 // The flag to guard that EndDragging is not called twice. 106 // The flag to guard that EndDragging is not called twice.
107 bool drag_ended_; 107 bool drag_ended_;
108 108
109 base::Callback<void()> drag_end_callback_; 109 base::Callback<void()> drag_end_callback_;
110 110
111 DISALLOW_COPY_AND_ASSIGN(WebContentsDragWin); 111 DISALLOW_COPY_AND_ASSIGN(WebContentsDragWin);
112 }; 112 };
113 113
114 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_DRAG_WIN_H_ 114 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_DRAG_WIN_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/web_contents/web_contents_drag_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698