| 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_PRERENDER_PRERENDER_CONTENTS_H_ | 5 #ifndef CHROME_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_ |
| 6 #define CHROME_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_ | 6 #define CHROME_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 144 virtual int GetBrowserWindowID() const OVERRIDE; | 144 virtual int GetBrowserWindowID() const OVERRIDE; |
| 145 virtual void DidNavigate( | 145 virtual void DidNavigate( |
| 146 RenderViewHost* render_view_host, | 146 RenderViewHost* render_view_host, |
| 147 const ViewHostMsg_FrameNavigate_Params& params) OVERRIDE; | 147 const ViewHostMsg_FrameNavigate_Params& params) OVERRIDE; |
| 148 virtual void UpdateTitle(RenderViewHost* render_view_host, | 148 virtual void UpdateTitle(RenderViewHost* render_view_host, |
| 149 int32 page_id, | 149 int32 page_id, |
| 150 const std::wstring& title); | 150 const std::wstring& title); |
| 151 virtual WebPreferences GetWebkitPrefs() OVERRIDE; | 151 virtual WebPreferences GetWebkitPrefs() OVERRIDE; |
| 152 virtual void Close(RenderViewHost* render_view_host) OVERRIDE; | 152 virtual void Close(RenderViewHost* render_view_host) OVERRIDE; |
| 153 virtual RendererPreferences GetRendererPrefs(Profile* profile) const OVERRIDE; | 153 virtual RendererPreferences GetRendererPrefs(Profile* profile) const OVERRIDE; |
| 154 virtual bool IsHidden() const OVERRIDE; |
| 154 | 155 |
| 155 // TabContentsObserver implementation. | 156 // TabContentsObserver implementation. |
| 156 virtual void DidStopLoading() OVERRIDE; | 157 virtual void DidStopLoading() OVERRIDE; |
| 157 | 158 |
| 158 // RenderViewHostDelegate::View | 159 // RenderViewHostDelegate::View |
| 159 // TODO(dominich): Remove when no longer a delegate for the view. | 160 // TODO(dominich): Remove when no longer a delegate for the view. |
| 160 virtual void CreateNewWindow( | 161 virtual void CreateNewWindow( |
| 161 int route_id, | 162 int route_id, |
| 162 const ViewHostMsg_CreateWindow_Params& params) OVERRIDE; | 163 const ViewHostMsg_CreateWindow_Params& params) OVERRIDE; |
| 163 virtual void CreateNewWidget(int route_id, | 164 virtual void CreateNewWidget(int route_id, |
| (...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 336 scoped_ptr<TabContentsWrapper> prerender_contents_; | 337 scoped_ptr<TabContentsWrapper> prerender_contents_; |
| 337 | 338 |
| 338 scoped_ptr<PrerenderRenderViewHostObserver> render_view_host_observer_; | 339 scoped_ptr<PrerenderRenderViewHostObserver> render_view_host_observer_; |
| 339 | 340 |
| 340 DISALLOW_COPY_AND_ASSIGN(PrerenderContents); | 341 DISALLOW_COPY_AND_ASSIGN(PrerenderContents); |
| 341 }; | 342 }; |
| 342 | 343 |
| 343 } // namespace prerender | 344 } // namespace prerender |
| 344 | 345 |
| 345 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_ | 346 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_ |
| OLD | NEW |