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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 virtual void GetContainerBounds(gfx::Rect* out) const OVERRIDE; | 66 virtual void GetContainerBounds(gfx::Rect* out) const OVERRIDE; |
67 virtual void RenderViewCreated(RenderViewHost* host) OVERRIDE; | 67 virtual void RenderViewCreated(RenderViewHost* host) OVERRIDE; |
68 virtual void SetPageTitle(const std::wstring& title) OVERRIDE; | 68 virtual void SetPageTitle(const std::wstring& title) OVERRIDE; |
69 virtual void OnTabCrashed(base::TerminationStatus status, | 69 virtual void OnTabCrashed(base::TerminationStatus status, |
70 int error_code) OVERRIDE; | 70 int error_code) OVERRIDE; |
71 virtual void SizeContents(const gfx::Size& size) OVERRIDE; | 71 virtual void SizeContents(const gfx::Size& size) OVERRIDE; |
72 virtual void Focus() OVERRIDE; | 72 virtual void Focus() OVERRIDE; |
73 virtual void SetInitialFocus() OVERRIDE; | 73 virtual void SetInitialFocus() OVERRIDE; |
74 virtual void StoreFocus() OVERRIDE; | 74 virtual void StoreFocus() OVERRIDE; |
75 virtual void RestoreFocus() OVERRIDE; | 75 virtual void RestoreFocus() OVERRIDE; |
76 virtual void UpdatePreferredSize(const gfx::Size& pref_size) OVERRIDE; | |
77 virtual bool IsDoingDrag() const OVERRIDE; | 76 virtual bool IsDoingDrag() const OVERRIDE; |
78 virtual void CancelDragAndCloseTab() OVERRIDE; | 77 virtual void CancelDragAndCloseTab() OVERRIDE; |
79 virtual bool IsEventTracking() const OVERRIDE; | 78 virtual bool IsEventTracking() const OVERRIDE; |
80 virtual void CloseTabAfterEventTracking() OVERRIDE; | 79 virtual void CloseTabAfterEventTracking() OVERRIDE; |
81 virtual void GetViewBounds(gfx::Rect* out) const OVERRIDE; | 80 virtual void GetViewBounds(gfx::Rect* out) const OVERRIDE; |
82 | 81 |
83 // Backend implementation of RenderViewHostDelegate::View. | 82 // Backend implementation of RenderViewHostDelegate::View. |
84 virtual void CreateNewWindow( | 83 virtual void CreateNewWindow( |
85 int route_id, | 84 int route_id, |
86 const ViewHostMsg_CreateWindow_Params& params); | 85 const ViewHostMsg_CreateWindow_Params& params); |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 | 153 |
155 // 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. |
156 class TabContents; | 155 class TabContents; |
157 class TabContentsView; | 156 class TabContentsView; |
158 | 157 |
159 namespace tab_contents_view_mac { | 158 namespace tab_contents_view_mac { |
160 TabContentsView* CreateTabContentsView(TabContents* tab_contents); | 159 TabContentsView* CreateTabContentsView(TabContents* tab_contents); |
161 } | 160 } |
162 | 161 |
163 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_MAC_H_ | 162 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_VIEW_MAC_H_ |
OLD | NEW |