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

Side by Side Diff: chrome/browser/ui/views/tab_contents/native_tab_contents_view_aura.h

Issue 9757001: Support custom drag-and-drop of bookmarks in Aura (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_VIEW_AURA_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_VIEW_AURA_H_
6 #define CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_VIEW_AURA_H_ 6 #define CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_VIEW_AURA_H_
7 #pragma once 7 #pragma once
8 8
9 #include "chrome/browser/ui/views/tab_contents/native_tab_contents_view.h" 9 #include "chrome/browser/ui/views/tab_contents/native_tab_contents_view.h"
10 #include "ui/base/events.h" 10 #include "ui/base/events.h"
11 #include "ui/views/widget/native_widget_aura.h" 11 #include "ui/views/widget/native_widget_aura.h"
12 12
13 class WebDragBookmarkHandlerAura;
14
13 namespace aura { 15 namespace aura {
14 class DropTargetEvent; 16 class DropTargetEvent;
15 } 17 }
16 18
17 namespace content { 19 namespace content {
18 class WebContents; 20 class WebContents;
19 } 21 }
20 22
21 namespace ui { 23 namespace ui {
22 class OSExchangeDataProviderAura; 24 class OSExchangeDataProviderAura;
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 virtual int OnPerformDrop(const aura::DropTargetEvent& event) OVERRIDE; 59 virtual int OnPerformDrop(const aura::DropTargetEvent& event) OVERRIDE;
58 60
59 // Informs the renderer that the drag operation it initiated has ended and 61 // Informs the renderer that the drag operation it initiated has ended and
60 // |ops| drag operations were applied. 62 // |ops| drag operations were applied.
61 void EndDrag(WebKit::WebDragOperationsMask ops); 63 void EndDrag(WebKit::WebDragOperationsMask ops);
62 64
63 internal::NativeTabContentsViewDelegate* delegate_; 65 internal::NativeTabContentsViewDelegate* delegate_;
64 66
65 WebKit::WebDragOperationsMask current_drag_op_; 67 WebKit::WebDragOperationsMask current_drag_op_;
66 68
69 scoped_ptr<WebDragBookmarkHandlerAura> bookmark_handler_;
70
67 DISALLOW_COPY_AND_ASSIGN(NativeTabContentsViewAura); 71 DISALLOW_COPY_AND_ASSIGN(NativeTabContentsViewAura);
68 }; 72 };
69 73
70 #endif // CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_VIEW_AURA_H_ 74 #endif // CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_VIEW_AURA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698