| 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 466 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 477 const content::DropData& data, | 477 const content::DropData& data, |
| 478 blink::WebDragOperationsMask operations_allowed) override; | 478 blink::WebDragOperationsMask operations_allowed) override; |
| 479 blink::WebSecurityStyle GetSecurityStyle( | 479 blink::WebSecurityStyle GetSecurityStyle( |
| 480 content::WebContents* web_contents, | 480 content::WebContents* web_contents, |
| 481 content::SecurityStyleExplanations* security_style_explanations) override; | 481 content::SecurityStyleExplanations* security_style_explanations) override; |
| 482 void ShowCertificateViewerInDevTools( | 482 void ShowCertificateViewerInDevTools( |
| 483 content::WebContents* web_contents, | 483 content::WebContents* web_contents, |
| 484 scoped_refptr<net::X509Certificate> certificate) override; | 484 scoped_refptr<net::X509Certificate> certificate) override; |
| 485 std::unique_ptr<content::BluetoothChooser> RunBluetoothChooser( | 485 std::unique_ptr<content::BluetoothChooser> RunBluetoothChooser( |
| 486 content::RenderFrameHost* frame, | 486 content::RenderFrameHost* frame, |
| 487 const content::BluetoothChooser::EventHandler& event_handler) override; | 487 const content::BluetoothChooser::EventHandler& event_handler, |
| 488 bool accept_all_devices) override; |
| 488 void RequestAppBannerFromDevTools( | 489 void RequestAppBannerFromDevTools( |
| 489 content::WebContents* web_contents) override; | 490 content::WebContents* web_contents) override; |
| 490 | 491 |
| 491 bool is_type_tabbed() const { return type_ == TYPE_TABBED; } | 492 bool is_type_tabbed() const { return type_ == TYPE_TABBED; } |
| 492 bool is_type_popup() const { return type_ == TYPE_POPUP; } | 493 bool is_type_popup() const { return type_ == TYPE_POPUP; } |
| 493 | 494 |
| 494 bool is_app() const; | 495 bool is_app() const; |
| 495 bool is_devtools() const; | 496 bool is_devtools() const; |
| 496 | 497 |
| 497 // True when the mouse cursor is locked. | 498 // True when the mouse cursor is locked. |
| (...skipping 512 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1010 // The following factory is used for chrome update coalescing. | 1011 // The following factory is used for chrome update coalescing. |
| 1011 base::WeakPtrFactory<Browser> chrome_updater_factory_; | 1012 base::WeakPtrFactory<Browser> chrome_updater_factory_; |
| 1012 | 1013 |
| 1013 // The following factory is used to close the frame at a later time. | 1014 // The following factory is used to close the frame at a later time. |
| 1014 base::WeakPtrFactory<Browser> weak_factory_; | 1015 base::WeakPtrFactory<Browser> weak_factory_; |
| 1015 | 1016 |
| 1016 DISALLOW_COPY_AND_ASSIGN(Browser); | 1017 DISALLOW_COPY_AND_ASSIGN(Browser); |
| 1017 }; | 1018 }; |
| 1018 | 1019 |
| 1019 #endif // CHROME_BROWSER_UI_BROWSER_H_ | 1020 #endif // CHROME_BROWSER_UI_BROWSER_H_ |
| OLD | NEW |