OLD | NEW |
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_VIEW_AURA_H_ | 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_ |
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_ | 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_ |
7 #pragma once | |
8 | 7 |
9 #include <vector> | 8 #include <vector> |
10 | 9 |
11 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
12 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
13 #include "content/common/content_export.h" | 12 #include "content/common/content_export.h" |
14 #include "content/port/browser/render_view_host_delegate_view.h" | 13 #include "content/port/browser/render_view_host_delegate_view.h" |
15 #include "content/public/browser/web_contents_view.h" | 14 #include "content/public/browser/web_contents_view.h" |
16 #include "ui/aura/client/drag_drop_delegate.h" | 15 #include "ui/aura/client/drag_drop_delegate.h" |
17 #include "ui/aura/window_delegate.h" | 16 #include "ui/aura/window_delegate.h" |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 // We keep track of the render view host we're dragging over. If it changes | 137 // We keep track of the render view host we're dragging over. If it changes |
139 // during a drag, we need to re-send the DragEnter message. WARNING: | 138 // during a drag, we need to re-send the DragEnter message. WARNING: |
140 // this pointer should never be dereferenced. We only use it for comparing | 139 // this pointer should never be dereferenced. We only use it for comparing |
141 // pointers. | 140 // pointers. |
142 void* current_rvh_for_drag_; | 141 void* current_rvh_for_drag_; |
143 | 142 |
144 DISALLOW_COPY_AND_ASSIGN(WebContentsViewAura); | 143 DISALLOW_COPY_AND_ASSIGN(WebContentsViewAura); |
145 }; | 144 }; |
146 | 145 |
147 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_ | 146 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_ |
OLD | NEW |