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

Side by Side Diff: content/public/browser/web_contents.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_PUBLIC_BROWSER_WEB_CONTENTS_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_
6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ 6 #define CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
320 320
321 // Returns the current load state and the URL associated with it. 321 // Returns the current load state and the URL associated with it.
322 // The load state is only updated while IsLoading() is true. 322 // The load state is only updated while IsLoading() is true.
323 virtual const net::LoadStateWithParam& GetLoadState() const = 0; 323 virtual const net::LoadStateWithParam& GetLoadState() const = 0;
324 virtual const base::string16& GetLoadStateHost() const = 0; 324 virtual const base::string16& GetLoadStateHost() const = 0;
325 325
326 // Returns the upload progress. 326 // Returns the upload progress.
327 virtual uint64 GetUploadSize() const = 0; 327 virtual uint64 GetUploadSize() const = 0;
328 virtual uint64 GetUploadPosition() const = 0; 328 virtual uint64 GetUploadPosition() const = 0;
329 329
330 // Returns a set of the site URLs currently committed in this tab.
331 virtual std::set<GURL> GetSitesInTab() const = 0;
332
333 // Returns the character encoding of the page. 330 // Returns the character encoding of the page.
334 virtual const std::string& GetEncoding() const = 0; 331 virtual const std::string& GetEncoding() const = 0;
335 332
336 // True if this is a secure page which displayed insecure content. 333 // True if this is a secure page which displayed insecure content.
337 virtual bool DisplayedInsecureContent() const = 0; 334 virtual bool DisplayedInsecureContent() const = 0;
338 335
339 // Internal state ------------------------------------------------------------ 336 // Internal state ------------------------------------------------------------
340 337
341 // Indicates whether the WebContents is being captured (e.g., for screenshots 338 // Indicates whether the WebContents is being captured (e.g., for screenshots
342 // or mirroring). Increment calls must be balanced with an equivalent number 339 // or mirroring). Increment calls must be balanced with an equivalent number
(...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after
702 699
703 private: 700 private:
704 // This interface should only be implemented inside content. 701 // This interface should only be implemented inside content.
705 friend class WebContentsImpl; 702 friend class WebContentsImpl;
706 WebContents() {} 703 WebContents() {}
707 }; 704 };
708 705
709 } // namespace content 706 } // namespace content
710 707
711 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ 708 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698