| 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 CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_WIN_H_ | 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_WIN_H_ |
| 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_WIN_H_ | 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_WIN_H_ |
| 7 | 7 |
| 8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "base/timer.h" | 10 #include "base/timer.h" |
| 11 #include "base/win/win_util.h" | 11 #include "base/win/win_util.h" |
| 12 #include "content/common/content_export.h" | 12 #include "content/common/content_export.h" |
| 13 #include "content/port/browser/render_view_host_delegate_view.h" | 13 #include "content/port/browser/render_view_host_delegate_view.h" |
| 14 #include "content/public/browser/web_contents_view.h" | 14 #include "content/public/browser/web_contents_view.h" |
| 15 #include "ui/base/win/window_impl.h" | 15 #include "ui/base/win/window_impl.h" |
| 16 | 16 |
| 17 class WebDragDest; | |
| 18 | |
| 19 namespace ui { | 17 namespace ui { |
| 20 class HWNDMessageFilter; | 18 class HWNDMessageFilter; |
| 21 } | 19 } |
| 22 | 20 |
| 23 namespace content { | 21 namespace content { |
| 24 class RenderWidgetHostViewWin; | 22 class RenderWidgetHostViewWin; |
| 25 class WebContentsViewDelegate; | |
| 26 class WebContentsDragWin; | 23 class WebContentsDragWin; |
| 27 class WebContentsImpl; | 24 class WebContentsImpl; |
| 25 class WebContentsViewDelegate; |
| 26 class WebDragDest; |
| 28 | 27 |
| 29 // An implementation of WebContentsView for Windows. | 28 // An implementation of WebContentsView for Windows. |
| 30 class CONTENT_EXPORT WebContentsViewWin | 29 class CONTENT_EXPORT WebContentsViewWin |
| 31 : public WebContentsView, | 30 : public WebContentsView, |
| 32 public RenderViewHostDelegateView, | 31 public RenderViewHostDelegateView, |
| 33 public ui::WindowImpl { | 32 public ui::WindowImpl { |
| 34 public: | 33 public: |
| 35 WebContentsViewWin(WebContentsImpl* web_contents, | 34 WebContentsViewWin(WebContentsImpl* web_contents, |
| 36 WebContentsViewDelegate* delegate); | 35 WebContentsViewDelegate* delegate); |
| 37 virtual ~WebContentsViewWin(); | 36 virtual ~WebContentsViewWin(); |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 scoped_refptr<WebContentsDragWin> drag_handler_; | 137 scoped_refptr<WebContentsDragWin> drag_handler_; |
| 139 | 138 |
| 140 scoped_ptr<ui::HWNDMessageFilter> hwnd_message_filter_; | 139 scoped_ptr<ui::HWNDMessageFilter> hwnd_message_filter_; |
| 141 | 140 |
| 142 DISALLOW_COPY_AND_ASSIGN(WebContentsViewWin); | 141 DISALLOW_COPY_AND_ASSIGN(WebContentsViewWin); |
| 143 }; | 142 }; |
| 144 | 143 |
| 145 } // namespace content | 144 } // namespace content |
| 146 | 145 |
| 147 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_WIN_H_ | 146 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_WIN_H_ |
| OLD | NEW |