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_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_H_ | 5 #ifndef CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_H_ |
6 #define CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_H_ | 6 #define CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 } | 212 } |
213 | 213 |
214 WebIntentPickerController* web_intent_picker_controller() { | 214 WebIntentPickerController* web_intent_picker_controller() { |
215 return web_intent_picker_controller_.get(); | 215 return web_intent_picker_controller_.get(); |
216 } | 216 } |
217 | 217 |
218 // Overrides ----------------------------------------------------------------- | 218 // Overrides ----------------------------------------------------------------- |
219 | 219 |
220 // TabContentsObserver overrides: | 220 // TabContentsObserver overrides: |
221 virtual void RenderViewCreated(RenderViewHost* render_view_host) OVERRIDE; | 221 virtual void RenderViewCreated(RenderViewHost* render_view_host) OVERRIDE; |
222 virtual void RenderViewGone() OVERRIDE; | |
223 virtual void DidBecomeSelected() OVERRIDE; | 222 virtual void DidBecomeSelected() OVERRIDE; |
224 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; | 223 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; |
225 virtual void TabContentsDestroyed(TabContents* tab) OVERRIDE; | 224 virtual void TabContentsDestroyed(TabContents* tab) OVERRIDE; |
226 | 225 |
227 // NotificationObserver overrides: | 226 // NotificationObserver overrides: |
228 virtual void Observe(int type, | 227 virtual void Observe(int type, |
229 const NotificationSource& source, | 228 const NotificationSource& source, |
230 const NotificationDetails& details) OVERRIDE; | 229 const NotificationDetails& details) OVERRIDE; |
231 | 230 |
232 private: | 231 private: |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
333 | 332 |
334 // The supporting objects need to outlive the TabContents dtor (as they may | 333 // The supporting objects need to outlive the TabContents dtor (as they may |
335 // be called upon during its execution). As a result, this must come last | 334 // be called upon during its execution). As a result, this must come last |
336 // in the list. | 335 // in the list. |
337 scoped_ptr<TabContents> tab_contents_; | 336 scoped_ptr<TabContents> tab_contents_; |
338 | 337 |
339 DISALLOW_COPY_AND_ASSIGN(TabContentsWrapper); | 338 DISALLOW_COPY_AND_ASSIGN(TabContentsWrapper); |
340 }; | 339 }; |
341 | 340 |
342 #endif // CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_H_ | 341 #endif // CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_H_ |
OLD | NEW |