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_TAB_CONTENTS_TAB_CONTENTS_VIEW_MAC_H_ | 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_MAC_H_ |
6 #define CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_MAC_H_ | 6 #define CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_MAC_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #if defined(__OBJC__) | 9 #if defined(__OBJC__) |
10 | 10 |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 virtual void CancelDragAndCloseTab() OVERRIDE; | 81 virtual void CancelDragAndCloseTab() OVERRIDE; |
82 virtual bool IsEventTracking() const OVERRIDE; | 82 virtual bool IsEventTracking() const OVERRIDE; |
83 virtual void CloseTabAfterEventTracking() OVERRIDE; | 83 virtual void CloseTabAfterEventTracking() OVERRIDE; |
84 virtual void GetViewBounds(gfx::Rect* out) const OVERRIDE; | 84 virtual void GetViewBounds(gfx::Rect* out) const OVERRIDE; |
85 virtual void InstallOverlayView(gfx::NativeView view) OVERRIDE; | 85 virtual void InstallOverlayView(gfx::NativeView view) OVERRIDE; |
86 virtual void RemoveOverlayView() OVERRIDE; | 86 virtual void RemoveOverlayView() OVERRIDE; |
87 | 87 |
88 // Backend implementation of RenderViewHostDelegate::View. | 88 // Backend implementation of RenderViewHostDelegate::View. |
89 virtual void CreateNewWindow( | 89 virtual void CreateNewWindow( |
90 int route_id, | 90 int route_id, |
91 const ViewHostMsg_CreateWindow_Params& params) OVERRIDE; | 91 const ViewHostMsg_CreateWindow_Params& params, |
| 92 ContentFrame* opener) OVERRIDE; |
92 virtual void CreateNewWidget(int route_id, | 93 virtual void CreateNewWidget(int route_id, |
93 WebKit::WebPopupType popup_type) OVERRIDE; | 94 WebKit::WebPopupType popup_type) OVERRIDE; |
94 virtual void CreateNewFullscreenWidget(int route_id) OVERRIDE; | 95 virtual void CreateNewFullscreenWidget(int route_id) OVERRIDE; |
95 virtual void ShowCreatedWindow(int route_id, | 96 virtual void ShowCreatedWindow(int route_id, |
96 WindowOpenDisposition disposition, | 97 WindowOpenDisposition disposition, |
97 const gfx::Rect& initial_pos, | 98 const gfx::Rect& initial_pos, |
98 bool user_gesture) OVERRIDE; | 99 bool user_gesture) OVERRIDE; |
99 virtual void ShowCreatedWidget(int route_id, | 100 virtual void ShowCreatedWidget(int route_id, |
100 const gfx::Rect& initial_pos) OVERRIDE; | 101 const gfx::Rect& initial_pos) OVERRIDE; |
101 virtual void ShowCreatedFullscreenWidget(int route_id) OVERRIDE; | 102 virtual void ShowCreatedFullscreenWidget(int route_id) OVERRIDE; |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 | 153 |
153 // Functions that may be accessed from non-Objective-C C/C++ code. | 154 // Functions that may be accessed from non-Objective-C C/C++ code. |
154 class TabContents; | 155 class TabContents; |
155 class TabContentsView; | 156 class TabContentsView; |
156 | 157 |
157 namespace tab_contents_view_mac { | 158 namespace tab_contents_view_mac { |
158 TabContentsView* CreateTabContentsView(TabContents* tab_contents); | 159 TabContentsView* CreateTabContentsView(TabContents* tab_contents); |
159 } | 160 } |
160 | 161 |
161 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_MAC_H_ | 162 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_MAC_H_ |
OLD | NEW |