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_AURA_H_ | 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_ |
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_ | 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 virtual void OnTabCrashed(base::TerminationStatus status, | 49 virtual void OnTabCrashed(base::TerminationStatus status, |
50 int error_code) OVERRIDE; | 50 int error_code) OVERRIDE; |
51 virtual void SizeContents(const gfx::Size& size) OVERRIDE; | 51 virtual void SizeContents(const gfx::Size& size) OVERRIDE; |
52 virtual void RenderViewCreated(content::RenderViewHost* host) OVERRIDE; | 52 virtual void RenderViewCreated(content::RenderViewHost* host) OVERRIDE; |
53 virtual void Focus() OVERRIDE; | 53 virtual void Focus() OVERRIDE; |
54 virtual void SetInitialFocus() OVERRIDE; | 54 virtual void SetInitialFocus() OVERRIDE; |
55 virtual void StoreFocus() OVERRIDE; | 55 virtual void StoreFocus() OVERRIDE; |
56 virtual void RestoreFocus() OVERRIDE; | 56 virtual void RestoreFocus() OVERRIDE; |
57 virtual bool IsDoingDrag() const OVERRIDE; | 57 virtual bool IsDoingDrag() const OVERRIDE; |
58 virtual void CancelDragAndCloseTab() OVERRIDE; | 58 virtual void CancelDragAndCloseTab() OVERRIDE; |
| 59 virtual WebDropData* GetDropData() const OVERRIDE; |
59 virtual bool IsEventTracking() const OVERRIDE; | 60 virtual bool IsEventTracking() const OVERRIDE; |
60 virtual void CloseTabAfterEventTracking() OVERRIDE; | 61 virtual void CloseTabAfterEventTracking() OVERRIDE; |
61 virtual void GetViewBounds(gfx::Rect* out) const OVERRIDE; | 62 virtual void GetViewBounds(gfx::Rect* out) const OVERRIDE; |
62 | 63 |
63 // Overridden from RenderViewHostDelegate::View: | 64 // Overridden from RenderViewHostDelegate::View: |
64 virtual void CreateNewWindow( | 65 virtual void CreateNewWindow( |
65 int route_id, | 66 int route_id, |
66 const ViewHostMsg_CreateWindow_Params& params) OVERRIDE; | 67 const ViewHostMsg_CreateWindow_Params& params) OVERRIDE; |
67 virtual void CreateNewWidget(int route_id, | 68 virtual void CreateNewWidget(int route_id, |
68 WebKit::WebPopupType popup_type) OVERRIDE; | 69 WebKit::WebPopupType popup_type) OVERRIDE; |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 // Set to true if we want to close the tab after the system drag operation | 135 // Set to true if we want to close the tab after the system drag operation |
135 // has finished. | 136 // has finished. |
136 bool close_tab_after_drag_ends_; | 137 bool close_tab_after_drag_ends_; |
137 | 138 |
138 content::WebDragDestDelegate* drag_dest_delegate_; | 139 content::WebDragDestDelegate* drag_dest_delegate_; |
139 | 140 |
140 DISALLOW_COPY_AND_ASSIGN(WebContentsViewAura); | 141 DISALLOW_COPY_AND_ASSIGN(WebContentsViewAura); |
141 }; | 142 }; |
142 | 143 |
143 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_ | 144 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_ |
OLD | NEW |