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

Side by Side Diff: chrome/browser/tab_contents/web_drag_source.cc

Issue 194051: Remove unused ATL headers. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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 | « chrome/browser/first_run_win.cc ('k') | chrome/renderer/webplugin_delegate_proxy.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 #if defined(OS_WIN)
6 #include <atlbase.h>
7 #include <atlapp.h>
8 #include <atlmisc.h>
9 #endif
10
11 #include "chrome/browser/tab_contents/web_drag_source.h" 5 #include "chrome/browser/tab_contents/web_drag_source.h"
12 6
13 #include "chrome/browser/renderer_host/render_view_host.h" 7 #include "chrome/browser/renderer_host/render_view_host.h"
14 #include "chrome/browser/tab_contents/tab_contents.h" 8 #include "chrome/browser/tab_contents/tab_contents.h"
15 #include "chrome/common/notification_type.h" 9 #include "chrome/common/notification_type.h"
16 #include "chrome/common/notification_service.h" 10 #include "chrome/common/notification_service.h"
17 11
18 using WebKit::WebDragOperationNone; 12 using WebKit::WebDragOperationNone;
19 using WebKit::WebDragOperationCopy; 13 using WebKit::WebDragOperationCopy;
20 14
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 const NotificationSource& source, const NotificationDetails& details) { 83 const NotificationSource& source, const NotificationDetails& details) {
90 if (NotificationType::TAB_CONTENTS_SWAPPED == type) { 84 if (NotificationType::TAB_CONTENTS_SWAPPED == type) {
91 // When the tab contents get swapped, our render view host goes away. 85 // When the tab contents get swapped, our render view host goes away.
92 // That's OK, we can continue the drag, we just can't send messages back to 86 // That's OK, we can continue the drag, we just can't send messages back to
93 // our drag source. 87 // our drag source.
94 render_view_host_ = NULL; 88 render_view_host_ = NULL;
95 } else if (NotificationType::TAB_CONTENTS_DISCONNECTED) { 89 } else if (NotificationType::TAB_CONTENTS_DISCONNECTED) {
96 NOTREACHED(); 90 NOTREACHED();
97 } 91 }
98 } 92 }
OLDNEW
« no previous file with comments | « chrome/browser/first_run_win.cc ('k') | chrome/renderer/webplugin_delegate_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698