| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_WIN_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_VIEW_WIN_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_VIEW_WIN_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_VIEW_WIN_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/views/widget/native_widget_win.h" | 10 #include "views/widget/native_widget_win.h" |
| 11 | 11 |
| 12 class WebDropTarget; | 12 class WebDropTarget; |
| 13 class TabContents; | 13 class TabContents; |
| 14 class TabContentsDragWin; | 14 class TabContentsDragWin; |
| 15 | 15 |
| 16 class NativeTabContentsViewWin : public views::NativeWidgetWin, | 16 class NativeTabContentsViewWin : public views::NativeWidgetWin, |
| 17 public NativeTabContentsView { | 17 public NativeTabContentsView { |
| 18 public: | 18 public: |
| 19 explicit NativeTabContentsViewWin( | 19 explicit NativeTabContentsViewWin( |
| 20 internal::NativeTabContentsViewDelegate* delegate); | 20 internal::NativeTabContentsViewDelegate* delegate); |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 // A drop target object that handles drags over this TabContents. | 73 // A drop target object that handles drags over this TabContents. |
| 74 scoped_refptr<WebDropTarget> drop_target_; | 74 scoped_refptr<WebDropTarget> drop_target_; |
| 75 | 75 |
| 76 // Used to handle the drag-and-drop. | 76 // Used to handle the drag-and-drop. |
| 77 scoped_refptr<TabContentsDragWin> drag_handler_; | 77 scoped_refptr<TabContentsDragWin> drag_handler_; |
| 78 | 78 |
| 79 DISALLOW_COPY_AND_ASSIGN(NativeTabContentsViewWin); | 79 DISALLOW_COPY_AND_ASSIGN(NativeTabContentsViewWin); |
| 80 }; | 80 }; |
| 81 | 81 |
| 82 #endif // CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_VIEW_WIN_H_ | 82 #endif // CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_VIEW_WIN_H_ |
| OLD | NEW |