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 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
221 virtual int32 GetMaxPageIDForSiteInstance( | 221 virtual int32 GetMaxPageIDForSiteInstance( |
222 SiteInstance* site_instance) OVERRIDE; | 222 SiteInstance* site_instance) OVERRIDE; |
223 virtual SiteInstance* GetSiteInstance() const OVERRIDE; | 223 virtual SiteInstance* GetSiteInstance() const OVERRIDE; |
224 virtual SiteInstance* GetPendingSiteInstance() const OVERRIDE; | 224 virtual SiteInstance* GetPendingSiteInstance() const OVERRIDE; |
225 virtual bool IsLoading() const OVERRIDE; | 225 virtual bool IsLoading() const OVERRIDE; |
226 virtual bool IsWaitingForResponse() const OVERRIDE; | 226 virtual bool IsWaitingForResponse() const OVERRIDE; |
227 virtual const net::LoadStateWithParam& GetLoadState() const OVERRIDE; | 227 virtual const net::LoadStateWithParam& GetLoadState() const OVERRIDE; |
228 virtual const string16& GetLoadStateHost() const OVERRIDE; | 228 virtual const string16& GetLoadStateHost() const OVERRIDE; |
229 virtual uint64 GetUploadSize() const OVERRIDE; | 229 virtual uint64 GetUploadSize() const OVERRIDE; |
230 virtual uint64 GetUploadPosition() const OVERRIDE; | 230 virtual uint64 GetUploadPosition() const OVERRIDE; |
| 231 virtual std::set<GURL> GetSitesInTab() const OVERRIDE; |
231 virtual const std::string& GetEncoding() const OVERRIDE; | 232 virtual const std::string& GetEncoding() const OVERRIDE; |
232 virtual bool DisplayedInsecureContent() const OVERRIDE; | 233 virtual bool DisplayedInsecureContent() const OVERRIDE; |
233 virtual void IncrementCapturerCount() OVERRIDE; | 234 virtual void IncrementCapturerCount() OVERRIDE; |
234 virtual void DecrementCapturerCount() OVERRIDE; | 235 virtual void DecrementCapturerCount() OVERRIDE; |
235 virtual bool IsCrashed() const OVERRIDE; | 236 virtual bool IsCrashed() const OVERRIDE; |
236 virtual void SetIsCrashed(base::TerminationStatus status, | 237 virtual void SetIsCrashed(base::TerminationStatus status, |
237 int error_code) OVERRIDE; | 238 int error_code) OVERRIDE; |
238 virtual base::TerminationStatus GetCrashedStatus() const OVERRIDE; | 239 virtual base::TerminationStatus GetCrashedStatus() const OVERRIDE; |
239 virtual bool IsBeingDestroyed() const OVERRIDE; | 240 virtual bool IsBeingDestroyed() const OVERRIDE; |
240 virtual void NotifyNavigationStateChanged(unsigned changed_flags) OVERRIDE; | 241 virtual void NotifyNavigationStateChanged(unsigned changed_flags) OVERRIDE; |
(...skipping 704 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
945 // Maps the ids of pending image downloads to their callbacks | 946 // Maps the ids of pending image downloads to their callbacks |
946 typedef std::map<int, ImageDownloadCallback> ImageDownloadMap; | 947 typedef std::map<int, ImageDownloadCallback> ImageDownloadMap; |
947 ImageDownloadMap image_download_map_; | 948 ImageDownloadMap image_download_map_; |
948 | 949 |
949 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 950 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
950 }; | 951 }; |
951 | 952 |
952 } // namespace content | 953 } // namespace content |
953 | 954 |
954 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 955 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |