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

Side by Side Diff: chrome/browser/ui/browser.h

Issue 1905033002: PlzNavigate: Move navigation-level mixed content checks to the browser. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@console-security-message
Patch Set: Minor changes from nasko@'s comments Created 3 years, 10 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
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 CHROME_BROWSER_UI_BROWSER_H_ 5 #ifndef CHROME_BROWSER_UI_BROWSER_H_
6 #define CHROME_BROWSER_UI_BROWSER_H_ 6 #define CHROME_BROWSER_UI_BROWSER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 478 matching lines...) Expand 10 before | Expand all | Expand 10 after
489 content::WebContents* web_contents, 489 content::WebContents* web_contents,
490 content::SecurityStyleExplanations* security_style_explanations) override; 490 content::SecurityStyleExplanations* security_style_explanations) override;
491 void ShowCertificateViewerInDevTools( 491 void ShowCertificateViewerInDevTools(
492 content::WebContents* web_contents, 492 content::WebContents* web_contents,
493 scoped_refptr<net::X509Certificate> certificate) override; 493 scoped_refptr<net::X509Certificate> certificate) override;
494 std::unique_ptr<content::BluetoothChooser> RunBluetoothChooser( 494 std::unique_ptr<content::BluetoothChooser> RunBluetoothChooser(
495 content::RenderFrameHost* frame, 495 content::RenderFrameHost* frame,
496 const content::BluetoothChooser::EventHandler& event_handler) override; 496 const content::BluetoothChooser::EventHandler& event_handler) override;
497 void RequestAppBannerFromDevTools( 497 void RequestAppBannerFromDevTools(
498 content::WebContents* web_contents) override; 498 content::WebContents* web_contents) override;
499 void PassiveInsecureContentFound(const GURL& resource_url) override;
500 bool ShouldAllowRunningInsecureContent(content::WebContents* web_contents,
501 bool allowed_per_prefs,
502 const url::Origin& origin,
503 const GURL& resource_url) override;
499 504
500 bool is_type_tabbed() const { return type_ == TYPE_TABBED; } 505 bool is_type_tabbed() const { return type_ == TYPE_TABBED; }
501 bool is_type_popup() const { return type_ == TYPE_POPUP; } 506 bool is_type_popup() const { return type_ == TYPE_POPUP; }
502 507
503 bool is_app() const; 508 bool is_app() const;
504 bool is_devtools() const; 509 bool is_devtools() const;
505 510
506 // True when the mouse cursor is locked. 511 // True when the mouse cursor is locked.
507 bool IsMouseLocked() const; 512 bool IsMouseLocked() const;
508 513
(...skipping 508 matching lines...) Expand 10 before | Expand all | Expand 10 after
1017 // The following factory is used for chrome update coalescing. 1022 // The following factory is used for chrome update coalescing.
1018 base::WeakPtrFactory<Browser> chrome_updater_factory_; 1023 base::WeakPtrFactory<Browser> chrome_updater_factory_;
1019 1024
1020 // The following factory is used to close the frame at a later time. 1025 // The following factory is used to close the frame at a later time.
1021 base::WeakPtrFactory<Browser> weak_factory_; 1026 base::WeakPtrFactory<Browser> weak_factory_;
1022 1027
1023 DISALLOW_COPY_AND_ASSIGN(Browser); 1028 DISALLOW_COPY_AND_ASSIGN(Browser);
1024 }; 1029 };
1025 1030
1026 #endif // CHROME_BROWSER_UI_BROWSER_H_ 1031 #endif // CHROME_BROWSER_UI_BROWSER_H_
OLDNEW
« no previous file with comments | « chrome/browser/content_settings/mixed_content_settings_tab_helper.cc ('k') | chrome/browser/ui/browser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698