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 CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
322 const std::string& encoding) OVERRIDE; | 322 const std::string& encoding) OVERRIDE; |
323 virtual void UpdateTargetURL(int32 page_id, const GURL& url) OVERRIDE; | 323 virtual void UpdateTargetURL(int32 page_id, const GURL& url) OVERRIDE; |
324 virtual void Close(RenderViewHost* render_view_host) OVERRIDE; | 324 virtual void Close(RenderViewHost* render_view_host) OVERRIDE; |
325 virtual void RequestMove(const gfx::Rect& new_bounds) OVERRIDE; | 325 virtual void RequestMove(const gfx::Rect& new_bounds) OVERRIDE; |
326 virtual void SwappedOut(RenderViewHost* render_view_host) OVERRIDE; | 326 virtual void SwappedOut(RenderViewHost* render_view_host) OVERRIDE; |
327 virtual void DidStartLoading(RenderViewHost* render_view_host) OVERRIDE; | 327 virtual void DidStartLoading(RenderViewHost* render_view_host) OVERRIDE; |
328 virtual void DidStopLoading(RenderViewHost* render_view_host) OVERRIDE; | 328 virtual void DidStopLoading(RenderViewHost* render_view_host) OVERRIDE; |
329 virtual void DidCancelLoading() OVERRIDE; | 329 virtual void DidCancelLoading() OVERRIDE; |
330 virtual void DidChangeLoadProgress(double progress) OVERRIDE; | 330 virtual void DidChangeLoadProgress(double progress) OVERRIDE; |
331 virtual void DidDisownOpener(RenderViewHost* rvh) OVERRIDE; | 331 virtual void DidDisownOpener(RenderViewHost* rvh) OVERRIDE; |
| 332 virtual void DidAccessInitialDocument() OVERRIDE; |
332 virtual void DidUpdateFrameTree(RenderViewHost* rvh) OVERRIDE; | 333 virtual void DidUpdateFrameTree(RenderViewHost* rvh) OVERRIDE; |
333 virtual void DocumentAvailableInMainFrame( | 334 virtual void DocumentAvailableInMainFrame( |
334 RenderViewHost* render_view_host) OVERRIDE; | 335 RenderViewHost* render_view_host) OVERRIDE; |
335 virtual void DocumentOnLoadCompletedInMainFrame( | 336 virtual void DocumentOnLoadCompletedInMainFrame( |
336 RenderViewHost* render_view_host, | 337 RenderViewHost* render_view_host, |
337 int32 page_id) OVERRIDE; | 338 int32 page_id) OVERRIDE; |
338 virtual void RequestOpenURL(RenderViewHost* rvh, | 339 virtual void RequestOpenURL(RenderViewHost* rvh, |
339 const GURL& url, | 340 const GURL& url, |
340 const Referrer& referrer, | 341 const Referrer& referrer, |
341 WindowOpenDisposition disposition, | 342 WindowOpenDisposition disposition, |
(...skipping 533 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
875 // Maps the ids of pending favicon downloads to their callbacks | 876 // Maps the ids of pending favicon downloads to their callbacks |
876 typedef std::map<int, FaviconDownloadCallback> FaviconDownloadMap; | 877 typedef std::map<int, FaviconDownloadCallback> FaviconDownloadMap; |
877 FaviconDownloadMap favicon_download_map_; | 878 FaviconDownloadMap favicon_download_map_; |
878 | 879 |
879 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 880 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
880 }; | 881 }; |
881 | 882 |
882 } // namespace content | 883 } // namespace content |
883 | 884 |
884 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 885 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |