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_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 "ui/views/widget/native_widget_win.h" |
11 | 11 |
12 class WebDragBookmarkHandlerWin; | 12 class WebDragBookmarkHandlerWin; |
13 class WebDragDest; | 13 class WebDragDest; |
14 class TabContentsDragWin; | 14 class WebContentsDragWin; |
15 | 15 |
16 namespace content { | 16 namespace content { |
17 class RenderWidgetHostView; | 17 class RenderWidgetHostView; |
18 class WebContents; | 18 class WebContents; |
19 } | 19 } |
20 | 20 |
21 class NativeTabContentsViewWin : public views::NativeWidgetWin, | 21 class NativeTabContentsViewWin : public views::NativeWidgetWin, |
22 public NativeTabContentsView { | 22 public NativeTabContentsView { |
23 public: | 23 public: |
24 explicit NativeTabContentsViewWin( | 24 explicit NativeTabContentsViewWin( |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 | 74 |
75 void EndDragging(); | 75 void EndDragging(); |
76 | 76 |
77 internal::NativeTabContentsViewDelegate* delegate_; | 77 internal::NativeTabContentsViewDelegate* delegate_; |
78 | 78 |
79 scoped_ptr<WebDragBookmarkHandlerWin> bookmark_handler_; | 79 scoped_ptr<WebDragBookmarkHandlerWin> bookmark_handler_; |
80 // A drop target object that handles drags over this TabContents. | 80 // A drop target object that handles drags over this TabContents. |
81 scoped_refptr<WebDragDest> drag_dest_; | 81 scoped_refptr<WebDragDest> drag_dest_; |
82 | 82 |
83 // Used to handle the drag-and-drop. | 83 // Used to handle the drag-and-drop. |
84 scoped_refptr<TabContentsDragWin> drag_handler_; | 84 scoped_refptr<WebContentsDragWin> drag_handler_; |
85 | 85 |
86 DISALLOW_COPY_AND_ASSIGN(NativeTabContentsViewWin); | 86 DISALLOW_COPY_AND_ASSIGN(NativeTabContentsViewWin); |
87 }; | 87 }; |
88 | 88 |
89 #endif // CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_VIEW_WIN_H_ | 89 #endif // CHROME_BROWSER_UI_VIEWS_TAB_CONTENTS_NATIVE_TAB_CONTENTS_VIEW_WIN_H_ |
OLD | NEW |