| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <utility> | 9 #include <utility> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 165 // |url| and |session_storage_namespace|. | 165 // |url| and |session_storage_namespace|. |
| 166 bool Matches( | 166 bool Matches( |
| 167 const GURL& url, | 167 const GURL& url, |
| 168 const content::SessionStorageNamespace* session_storage_namespace) const; | 168 const content::SessionStorageNamespace* session_storage_namespace) const; |
| 169 | 169 |
| 170 // content::WebContentsObserver implementation. | 170 // content::WebContentsObserver implementation. |
| 171 virtual void DidStopLoading( | 171 virtual void DidStopLoading( |
| 172 content::RenderViewHost* render_view_host) OVERRIDE; | 172 content::RenderViewHost* render_view_host) OVERRIDE; |
| 173 virtual void DidStartProvisionalLoadForFrame( | 173 virtual void DidStartProvisionalLoadForFrame( |
| 174 int64 frame_id, | 174 int64 frame_id, |
| 175 int64 parent_frame_id, |
| 175 bool is_main_frame, | 176 bool is_main_frame, |
| 176 const GURL& validated_url, | 177 const GURL& validated_url, |
| 177 bool is_error_page, | 178 bool is_error_page, |
| 178 content::RenderViewHost* render_view_host) OVERRIDE; | 179 content::RenderViewHost* render_view_host) OVERRIDE; |
| 179 virtual void DidFinishLoad( | 180 virtual void DidFinishLoad( |
| 180 int64 frame_id, | 181 int64 frame_id, |
| 181 const GURL& validated_url, | 182 const GURL& validated_url, |
| 182 bool is_main_frame, | 183 bool is_main_frame, |
| 183 content::RenderViewHost* render_view_host) OVERRIDE; | 184 content::RenderViewHost* render_view_host) OVERRIDE; |
| 184 | 185 |
| (...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 396 | 397 |
| 397 // Caches pages to be added to the history. | 398 // Caches pages to be added to the history. |
| 398 AddPageVector add_page_vector_; | 399 AddPageVector add_page_vector_; |
| 399 | 400 |
| 400 DISALLOW_COPY_AND_ASSIGN(PrerenderContents); | 401 DISALLOW_COPY_AND_ASSIGN(PrerenderContents); |
| 401 }; | 402 }; |
| 402 | 403 |
| 403 } // namespace prerender | 404 } // namespace prerender |
| 404 | 405 |
| 405 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_ | 406 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_CONTENTS_H_ |
| OLD | NEW |