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

Side by Side Diff: content/browser/web_contents/web_contents_impl.h

Issue 1406133002: Several Site Details / Memory metrics fixes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@no_isolate_apps4
Patch Set: thestig's fixes. Created 5 years, 1 month 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
OLDNEW
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 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 int32 GetMaxPageIDForSiteInstance(SiteInstance* site_instance) override; 263 int32 GetMaxPageIDForSiteInstance(SiteInstance* site_instance) override;
264 SiteInstanceImpl* GetSiteInstance() const override; 264 SiteInstanceImpl* GetSiteInstance() const override;
265 SiteInstanceImpl* GetPendingSiteInstance() const override; 265 SiteInstanceImpl* GetPendingSiteInstance() const override;
266 bool IsLoading() const override; 266 bool IsLoading() const override;
267 bool IsLoadingToDifferentDocument() const override; 267 bool IsLoadingToDifferentDocument() const override;
268 bool IsWaitingForResponse() const override; 268 bool IsWaitingForResponse() const override;
269 const net::LoadStateWithParam& GetLoadState() const override; 269 const net::LoadStateWithParam& GetLoadState() const override;
270 const base::string16& GetLoadStateHost() const override; 270 const base::string16& GetLoadStateHost() const override;
271 uint64 GetUploadSize() const override; 271 uint64 GetUploadSize() const override;
272 uint64 GetUploadPosition() const override; 272 uint64 GetUploadPosition() const override;
273 std::set<GURL> GetSitesInTab() const override;
274 const std::string& GetEncoding() const override; 273 const std::string& GetEncoding() const override;
275 bool DisplayedInsecureContent() const override; 274 bool DisplayedInsecureContent() const override;
276 void IncrementCapturerCount(const gfx::Size& capture_size) override; 275 void IncrementCapturerCount(const gfx::Size& capture_size) override;
277 void DecrementCapturerCount() override; 276 void DecrementCapturerCount() override;
278 int GetCapturerCount() const override; 277 int GetCapturerCount() const override;
279 bool IsAudioMuted() const override; 278 bool IsAudioMuted() const override;
280 void SetAudioMuted(bool mute) override; 279 void SetAudioMuted(bool mute) override;
281 bool IsCrashed() const override; 280 bool IsCrashed() const override;
282 void SetIsCrashed(base::TerminationStatus status, int error_code) override; 281 void SetIsCrashed(base::TerminationStatus status, int error_code) override;
283 base::TerminationStatus GetCrashedStatus() const override; 282 base::TerminationStatus GetCrashedStatus() const override;
(...skipping 1047 matching lines...) Expand 10 before | Expand all | Expand 10 after
1331 // Adds/removes a callback called on creation of each new WebContents. 1330 // Adds/removes a callback called on creation of each new WebContents.
1332 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); 1331 static void AddCreatedCallbackForTesting(const CreatedCallback& callback);
1333 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); 1332 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback);
1334 1333
1335 DISALLOW_COPY_AND_ASSIGN(FriendZone); 1334 DISALLOW_COPY_AND_ASSIGN(FriendZone);
1336 }; 1335 };
1337 1336
1338 } // namespace content 1337 } // namespace content
1339 1338
1340 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1339 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/site_details_browsertest.cc ('k') | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698