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