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

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

Issue 2226363002: Track subresources with cert errors separately from mixed content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add comments Created 4 years, 4 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
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include <set> 10 #include <set>
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after
357 virtual const net::LoadStateWithParam& GetLoadState() const = 0; 357 virtual const net::LoadStateWithParam& GetLoadState() const = 0;
358 virtual const base::string16& GetLoadStateHost() const = 0; 358 virtual const base::string16& GetLoadStateHost() const = 0;
359 359
360 // Returns the upload progress. 360 // Returns the upload progress.
361 virtual uint64_t GetUploadSize() const = 0; 361 virtual uint64_t GetUploadSize() const = 0;
362 virtual uint64_t GetUploadPosition() const = 0; 362 virtual uint64_t GetUploadPosition() const = 0;
363 363
364 // Returns the character encoding of the page. 364 // Returns the character encoding of the page.
365 virtual const std::string& GetEncoding() const = 0; 365 virtual const std::string& GetEncoding() const = 0;
366 366
367 // True if this is a secure page which displayed insecure content.
368 virtual bool DisplayedInsecureContent() const = 0;
369
370 // Internal state ------------------------------------------------------------ 367 // Internal state ------------------------------------------------------------
371 368
372 // Indicates whether the WebContents is being captured (e.g., for screenshots 369 // Indicates whether the WebContents is being captured (e.g., for screenshots
373 // or mirroring). Increment calls must be balanced with an equivalent number 370 // or mirroring). Increment calls must be balanced with an equivalent number
374 // of decrement calls. |capture_size| specifies the capturer's video 371 // of decrement calls. |capture_size| specifies the capturer's video
375 // resolution, but can be empty to mean "unspecified." The first screen 372 // resolution, but can be empty to mean "unspecified." The first screen
376 // capturer that provides a non-empty |capture_size| will override the value 373 // capturer that provides a non-empty |capture_size| will override the value
377 // returned by GetPreferredSize() until all captures have ended. 374 // returned by GetPreferredSize() until all captures have ended.
378 virtual void IncrementCapturerCount(const gfx::Size& capture_size) = 0; 375 virtual void IncrementCapturerCount(const gfx::Size& capture_size) = 0;
379 virtual void DecrementCapturerCount() = 0; 376 virtual void DecrementCapturerCount() = 0;
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after
752 749
753 private: 750 private:
754 // This interface should only be implemented inside content. 751 // This interface should only be implemented inside content.
755 friend class WebContentsImpl; 752 friend class WebContentsImpl;
756 WebContents() {} 753 WebContents() {}
757 }; 754 };
758 755
759 } // namespace content 756 } // namespace content
760 757
761 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_ 758 #endif // CONTENT_PUBLIC_BROWSER_WEB_CONTENTS_H_
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698