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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 virtual void OnTabCrashed(base::TerminationStatus status, | 58 virtual void OnTabCrashed(base::TerminationStatus status, |
59 int error_code) OVERRIDE; | 59 int error_code) OVERRIDE; |
60 virtual void SizeContents(const gfx::Size& size) OVERRIDE; | 60 virtual void SizeContents(const gfx::Size& size) OVERRIDE; |
61 virtual void RenderViewCreated(content::RenderViewHost* host) OVERRIDE; | 61 virtual void RenderViewCreated(content::RenderViewHost* host) OVERRIDE; |
62 virtual void Focus() OVERRIDE; | 62 virtual void Focus() OVERRIDE; |
63 virtual void SetInitialFocus() OVERRIDE; | 63 virtual void SetInitialFocus() OVERRIDE; |
64 virtual void StoreFocus() OVERRIDE; | 64 virtual void StoreFocus() OVERRIDE; |
65 virtual void RestoreFocus() OVERRIDE; | 65 virtual void RestoreFocus() OVERRIDE; |
66 virtual bool IsDoingDrag() const OVERRIDE; | 66 virtual bool IsDoingDrag() const OVERRIDE; |
67 virtual void CancelDragAndCloseTab() OVERRIDE; | 67 virtual void CancelDragAndCloseTab() OVERRIDE; |
| 68 virtual WebDropData* GetDropData() const OVERRIDE; |
68 virtual bool IsEventTracking() const OVERRIDE; | 69 virtual bool IsEventTracking() const OVERRIDE; |
69 virtual void CloseTabAfterEventTracking() OVERRIDE; | 70 virtual void CloseTabAfterEventTracking() OVERRIDE; |
70 virtual void GetViewBounds(gfx::Rect* out) const OVERRIDE; | 71 virtual void GetViewBounds(gfx::Rect* out) const OVERRIDE; |
71 | 72 |
72 // Implementation of RenderViewHostDelegate::View. | 73 // Implementation of RenderViewHostDelegate::View. |
73 virtual void CreateNewWindow( | 74 virtual void CreateNewWindow( |
74 int route_id, | 75 int route_id, |
75 const ViewHostMsg_CreateWindow_Params& params) OVERRIDE; | 76 const ViewHostMsg_CreateWindow_Params& params) OVERRIDE; |
76 virtual void CreateNewWidget(int route_id, | 77 virtual void CreateNewWidget(int route_id, |
77 WebKit::WebPopupType popup_type) OVERRIDE; | 78 WebKit::WebPopupType popup_type) OVERRIDE; |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 // Used to close the tab after the stack has unwound. | 146 // Used to close the tab after the stack has unwound. |
146 base::OneShotTimer<WebContentsViewWin> close_tab_timer_; | 147 base::OneShotTimer<WebContentsViewWin> close_tab_timer_; |
147 | 148 |
148 // Common implementations of some WebContentsView methods. | 149 // Common implementations of some WebContentsView methods. |
149 WebContentsViewHelper web_contents_view_helper_; | 150 WebContentsViewHelper web_contents_view_helper_; |
150 | 151 |
151 DISALLOW_COPY_AND_ASSIGN(WebContentsViewWin); | 152 DISALLOW_COPY_AND_ASSIGN(WebContentsViewWin); |
152 }; | 153 }; |
153 | 154 |
154 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_WIN_H_ | 155 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_WIN_H_ |
OLD | NEW |