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

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: Attempt to fix win aura linker error 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 namespace aura { 13 namespace aura {
14 class DropTargetEvent; 14 class DropTargetEvent;
15 } 15 }
16 16
17 namespace content { 17 namespace content {
18 class WebContents; 18 class WebContents;
19 class WebDragDestDelegate;
19 } 20 }
20 21
21 namespace ui { 22 namespace ui {
22 class OSExchangeDataProviderAura; 23 class OSExchangeDataProviderAura;
23 } 24 }
24 25
25 class NativeTabContentsViewAura : public views::NativeWidgetAura, 26 class NativeTabContentsViewAura : public views::NativeWidgetAura,
26 public NativeTabContentsView { 27 public NativeTabContentsView {
27 public: 28 public:
28 explicit NativeTabContentsViewAura( 29 explicit NativeTabContentsViewAura(
(...skipping 28 matching lines...) Expand all
57 virtual int OnPerformDrop(const aura::DropTargetEvent& event) OVERRIDE; 58 virtual int OnPerformDrop(const aura::DropTargetEvent& event) OVERRIDE;
58 59
59 // Informs the renderer that the drag operation it initiated has ended and 60 // Informs the renderer that the drag operation it initiated has ended and
60 // |ops| drag operations were applied. 61 // |ops| drag operations were applied.
61 void EndDrag(WebKit::WebDragOperationsMask ops); 62 void EndDrag(WebKit::WebDragOperationsMask ops);
62 63
63 internal::NativeTabContentsViewDelegate* delegate_; 64 internal::NativeTabContentsViewDelegate* delegate_;
64 65
65 WebKit::WebDragOperationsMask current_drag_op_; 66 WebKit::WebDragOperationsMask current_drag_op_;
66 67
68 content::WebDragDestDelegate* drag_dest_delegate_;
69
67 DISALLOW_COPY_AND_ASSIGN(NativeTabContentsViewAura); 70 DISALLOW_COPY_AND_ASSIGN(NativeTabContentsViewAura);
68 }; 71 };
69 72
70 #endif // CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_VIEW_AURA_H_ 73 #endif // CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_VIEW_AURA_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698