| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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_ |
| OLD | NEW |