Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1718)

Side by Side Diff: chrome/browser/ui/tab_contents/tab_contents_wrapper.h

Issue 7835004: Moved the following IPCs out of chrome into content where they are handled by (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
203 } 203 }
204 204
205 TranslateTabHelper* translate_tab_helper() { 205 TranslateTabHelper* translate_tab_helper() {
206 return translate_tab_helper_.get(); 206 return translate_tab_helper_.get();
207 } 207 }
208 208
209 WebIntentPickerController* web_intent_picker_controller() { 209 WebIntentPickerController* web_intent_picker_controller() {
210 return web_intent_picker_controller_.get(); 210 return web_intent_picker_controller_.get();
211 } 211 }
212 212
213 PluginObserver* plugin_observer() {
jam 2011/09/03 00:10:47 only tabhelpers have getters, not observers. but i
ananta 2011/09/03 00:43:23 Removed
214 return plugin_observer_.get();
215 }
216
213 // Overrides ----------------------------------------------------------------- 217 // Overrides -----------------------------------------------------------------
214 218
215 // TabContentsObserver overrides: 219 // TabContentsObserver overrides:
216 virtual void RenderViewCreated(RenderViewHost* render_view_host) OVERRIDE; 220 virtual void RenderViewCreated(RenderViewHost* render_view_host) OVERRIDE;
217 virtual void RenderViewGone() OVERRIDE; 221 virtual void RenderViewGone() OVERRIDE;
218 virtual void DidBecomeSelected() OVERRIDE; 222 virtual void DidBecomeSelected() OVERRIDE;
219 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 223 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
220 virtual void TabContentsDestroyed(TabContents* tab) OVERRIDE; 224 virtual void TabContentsDestroyed(TabContents* tab) OVERRIDE;
221 225
222 // NotificationObserver overrides: 226 // NotificationObserver overrides:
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 331
328 // The supporting objects need to outlive the TabContents dtor (as they may 332 // The supporting objects need to outlive the TabContents dtor (as they may
329 // be called upon during its execution). As a result, this must come last 333 // be called upon during its execution). As a result, this must come last
330 // in the list. 334 // in the list.
331 scoped_ptr<TabContents> tab_contents_; 335 scoped_ptr<TabContents> tab_contents_;
332 336
333 DISALLOW_COPY_AND_ASSIGN(TabContentsWrapper); 337 DISALLOW_COPY_AND_ASSIGN(TabContentsWrapper);
334 }; 338 };
335 339
336 #endif // CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_H_ 340 #endif // CHROME_BROWSER_UI_TAB_CONTENTS_TAB_CONTENTS_WRAPPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698