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

Side by Side Diff: chrome/browser/tab_contents/web_drag_bookmark_handler_aura.h

Issue 10528002: TabContentsWrapper -> TabContents, part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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
OLDNEW
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 7 #pragma once
8 8
9 #include "content/public/browser/web_contents.h" 9 #include "content/public/browser/web_contents.h"
10 #include "content/public/browser/web_drag_dest_delegate.h" 10 #include "content/public/browser/web_drag_dest_delegate.h"
11 #include "chrome/browser/bookmarks/bookmark_node_data.h" 11 #include "chrome/browser/bookmarks/bookmark_node_data.h"
12 12
13 class TabContentsWrapper; 13 class TabContents;
14 typedef TabContents TabContentsWrapper;
14 15
15 // Chrome needs to intercept content drag events so it can dispatch them to the 16 // Chrome needs to intercept content drag events so it can dispatch them to the
16 // bookmarks and extensions system. 17 // bookmarks and extensions system.
17 // Note that unlike the other platforms, Aura doesn't use all of the 18 // Note that unlike the other platforms, Aura doesn't use all of the
18 // WebDragDest infrastructure, just the WebDragDestDelegate. 19 // WebDragDest infrastructure, just the WebDragDestDelegate.
19 class WebDragBookmarkHandlerAura : public content::WebDragDestDelegate { 20 class WebDragBookmarkHandlerAura : public content::WebDragDestDelegate {
20 public: 21 public:
21 WebDragBookmarkHandlerAura(); 22 WebDragBookmarkHandlerAura();
22 virtual ~WebDragBookmarkHandlerAura(); 23 virtual ~WebDragBookmarkHandlerAura();
23 24
(...skipping 12 matching lines...) Expand all
36 // (e.g. WebUI dialogs). 37 // (e.g. WebUI dialogs).
37 TabContentsWrapper* tab_; 38 TabContentsWrapper* tab_;
38 39
39 // The bookmark data for the active drag. Empty when there is no active drag. 40 // The bookmark data for the active drag. Empty when there is no active drag.
40 BookmarkNodeData bookmark_drag_data_; 41 BookmarkNodeData bookmark_drag_data_;
41 42
42 DISALLOW_COPY_AND_ASSIGN(WebDragBookmarkHandlerAura); 43 DISALLOW_COPY_AND_ASSIGN(WebDragBookmarkHandlerAura);
43 }; 44 };
44 45
45 #endif // CHROME_BROWSER_TAB_CONTENTS_WEB_DRAG_BOOKMARK_HANDLER_AURA_H_ 46 #endif // CHROME_BROWSER_TAB_CONTENTS_WEB_DRAG_BOOKMARK_HANDLER_AURA_H_
OLDNEW
« no previous file with comments | « chrome/browser/tab_contents/tab_contents_ssl_helper.h ('k') | chrome/browser/tab_contents/web_drag_bookmark_handler_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698