Chromium Code Reviews| 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 | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| (...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 131 WebContentsViewHelper web_contents_view_helper_; | 131 WebContentsViewHelper web_contents_view_helper_; |
| 132 | 132 |
| 133 WebKit::WebDragOperationsMask current_drag_op_; | 133 WebKit::WebDragOperationsMask current_drag_op_; |
| 134 | 134 |
| 135 // Set to true if we want to close the tab after the system drag operation | 135 // Set to true if we want to close the tab after the system drag operation |
| 136 // has finished. | 136 // has finished. |
| 137 bool close_tab_after_drag_ends_; | 137 bool close_tab_after_drag_ends_; |
| 138 | 138 |
| 139 content::WebDragDestDelegate* drag_dest_delegate_; | 139 content::WebDragDestDelegate* drag_dest_delegate_; |
| 140 | 140 |
| 141 // We keep track of the render view host we're dragging over. If it changes | |
| 142 // during a drag, we need to re-send the DragEnter message. WARNING: | |
| 143 // this pointer should never be dereferenced. We only use it for comparing | |
| 144 // pointers. | |
| 145 content::RenderViewHost* current_rvh_for_drag_; | |
|
sky
2012/05/14 13:57:15
Can you make this a void*?
varunjain
2012/05/14 17:31:07
Done.
| |
| 146 | |
| 141 DISALLOW_COPY_AND_ASSIGN(WebContentsViewAura); | 147 DISALLOW_COPY_AND_ASSIGN(WebContentsViewAura); |
| 142 }; | 148 }; |
| 143 | 149 |
| 144 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_ | 150 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_ |
| OLD | NEW |