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

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

Issue 16599016: Add UMA stats for predicted process counts with out-of-process iframes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update hash_tables.h include Created 7 years, 6 months 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 | Annotate | Revision Log
« no previous file with comments | « content/public/browser/render_process_host.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/callback_forward.h" 9 #include "base/callback_forward.h"
10 #include "base/process_util.h" 10 #include "base/process_util.h"
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 virtual bool IsWaitingForResponse() const = 0; 240 virtual bool IsWaitingForResponse() const = 0;
241 241
242 // Return the current load state and the URL associated with it. 242 // Return the current load state and the URL associated with it.
243 virtual const net::LoadStateWithParam& GetLoadState() const = 0; 243 virtual const net::LoadStateWithParam& GetLoadState() const = 0;
244 virtual const string16& GetLoadStateHost() const = 0; 244 virtual const string16& GetLoadStateHost() const = 0;
245 245
246 // Return the upload progress. 246 // Return the upload progress.
247 virtual uint64 GetUploadSize() const = 0; 247 virtual uint64 GetUploadSize() const = 0;
248 virtual uint64 GetUploadPosition() const = 0; 248 virtual uint64 GetUploadPosition() const = 0;
249 249
250 // Returns a set of the site URLs currently committed in this tab.
251 virtual std::set<GURL> GetSitesInTab() const = 0;
252
250 // Return the character encoding of the page. 253 // Return the character encoding of the page.
251 virtual const std::string& GetEncoding() const = 0; 254 virtual const std::string& GetEncoding() const = 0;
252 255
253 // True if this is a secure page which displayed insecure content. 256 // True if this is a secure page which displayed insecure content.
254 virtual bool DisplayedInsecureContent() const = 0; 257 virtual bool DisplayedInsecureContent() const = 0;
255 258
256 // Internal state ------------------------------------------------------------ 259 // Internal state ------------------------------------------------------------
257 260
258 // Indicates whether the WebContents is being captured (e.g., for screenshots 261 // Indicates whether the WebContents is being captured (e.g., for screenshots
259 // or mirroring). Increment calls must be balanced with an equivalent number 262 // or mirroring). Increment calls must be balanced with an equivalent number
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
462 465
463 private: 466 private:
464 // This interface should only be implemented inside content. 467 // This interface should only be implemented inside content.
465 friend class WebContentsImpl; 468 friend class WebContentsImpl;
466 WebContents() {} 469 WebContents() {}
467 }; 470 };
468 471
469 } // namespace content 472 } // namespace content
470 473
471 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ 474 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_
OLDNEW
« no previous file with comments | « content/public/browser/render_process_host.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698