| 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_UI_COCOA_TAB_CONTENTS_WEB_DRAG_BOOKMARK_HANDLER_MAC_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_TAB_CONTENTS_WEB_DRAG_BOOKMARK_HANDLER_MAC_H_ |
| 6 #define CHROME_BROWSER_UI_COCOA_TAB_CONTENTS_WEB_DRAG_BOOKMARK_HANDLER_MAC_H_ | 6 #define CHROME_BROWSER_UI_COCOA_TAB_CONTENTS_WEB_DRAG_BOOKMARK_HANDLER_MAC_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "components/bookmarks/core/browser/bookmark_node_data.h" | 9 #include "components/bookmarks/browser/bookmark_node_data.h" |
| 10 #include "content/public/browser/web_drag_dest_delegate.h" | 10 #include "content/public/browser/web_drag_dest_delegate.h" |
| 11 | 11 |
| 12 class BookmarkTabHelper; | 12 class BookmarkTabHelper; |
| 13 | 13 |
| 14 namespace content { | 14 namespace content { |
| 15 class WebContents; | 15 class WebContents; |
| 16 } | 16 } |
| 17 | 17 |
| 18 // Chrome needs to intercept content drag events so it can dispatch them to the | 18 // Chrome needs to intercept content drag events so it can dispatch them to the |
| 19 // bookmarks and extensions system. | 19 // bookmarks and extensions system. |
| (...skipping 18 matching lines...) Expand all Loading... |
| 38 content::WebContents* web_contents_; | 38 content::WebContents* web_contents_; |
| 39 | 39 |
| 40 // The bookmark data for the current tab. This will be empty if there is not | 40 // The bookmark data for the current tab. This will be empty if there is not |
| 41 // a native bookmark drag. | 41 // a native bookmark drag. |
| 42 BookmarkNodeData bookmark_drag_data_; | 42 BookmarkNodeData bookmark_drag_data_; |
| 43 | 43 |
| 44 DISALLOW_COPY_AND_ASSIGN(WebDragBookmarkHandlerMac); | 44 DISALLOW_COPY_AND_ASSIGN(WebDragBookmarkHandlerMac); |
| 45 }; | 45 }; |
| 46 | 46 |
| 47 #endif // CHROME_BROWSER_UI_COCOA_TAB_CONTENTS_WEB_DRAG_BOOKMARK_HANDLER_MAC_H_ | 47 #endif // CHROME_BROWSER_UI_COCOA_TAB_CONTENTS_WEB_DRAG_BOOKMARK_HANDLER_MAC_H_ |
| OLD | NEW |