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 CHROME_BROWSER_TAB_CONTENTS_WEB_DRAG_BOOKMARK_HANDLER_AURA_H_ | 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_WEB_DRAG_BOOKMARK_HANDLER_AURA_H_ |
6 #define CHROME_BROWSER_TAB_CONTENTS_WEB_DRAG_BOOKMARK_HANDLER_AURA_H_ | 6 #define CHROME_BROWSER_TAB_CONTENTS_WEB_DRAG_BOOKMARK_HANDLER_AURA_H_ |
7 #pragma once | |
8 | 7 |
9 #include "content/public/browser/web_contents.h" | 8 #include "content/public/browser/web_contents.h" |
10 #include "content/public/browser/web_drag_dest_delegate.h" | 9 #include "content/public/browser/web_drag_dest_delegate.h" |
11 #include "chrome/browser/bookmarks/bookmark_node_data.h" | 10 #include "chrome/browser/bookmarks/bookmark_node_data.h" |
12 | 11 |
13 class TabContents; | 12 class TabContents; |
14 | 13 |
15 // Chrome needs to intercept content drag events so it can dispatch them to the | 14 // Chrome needs to intercept content drag events so it can dispatch them to the |
16 // bookmarks and extensions system. | 15 // bookmarks and extensions system. |
17 // Note that unlike the other platforms, Aura doesn't use all of the | 16 // Note that unlike the other platforms, Aura doesn't use all of the |
(...skipping 18 matching lines...) Expand all Loading... |
36 // TabContents (e.g. WebUI dialogs). | 35 // TabContents (e.g. WebUI dialogs). |
37 TabContents* tab_; | 36 TabContents* tab_; |
38 | 37 |
39 // The bookmark data for the active drag. Empty when there is no active drag. | 38 // The bookmark data for the active drag. Empty when there is no active drag. |
40 BookmarkNodeData bookmark_drag_data_; | 39 BookmarkNodeData bookmark_drag_data_; |
41 | 40 |
42 DISALLOW_COPY_AND_ASSIGN(WebDragBookmarkHandlerAura); | 41 DISALLOW_COPY_AND_ASSIGN(WebDragBookmarkHandlerAura); |
43 }; | 42 }; |
44 | 43 |
45 #endif // CHROME_BROWSER_TAB_CONTENTS_WEB_DRAG_BOOKMARK_HANDLER_AURA_H_ | 44 #endif // CHROME_BROWSER_TAB_CONTENTS_WEB_DRAG_BOOKMARK_HANDLER_AURA_H_ |
OLD | NEW |