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_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 Loading... |
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_ |
OLD | NEW |