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 462 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
473 blink::WebDragOperationsMask operations_allowed) override; | 473 blink::WebDragOperationsMask operations_allowed) override; |
474 content::SecurityStyle GetSecurityStyle( | 474 content::SecurityStyle GetSecurityStyle( |
475 content::WebContents* web_contents, | 475 content::WebContents* web_contents, |
476 content::SecurityStyleExplanations* security_style_explanations) override; | 476 content::SecurityStyleExplanations* security_style_explanations) override; |
477 void ShowCertificateViewerInDevTools( | 477 void ShowCertificateViewerInDevTools( |
478 content::WebContents* web_contents, | 478 content::WebContents* web_contents, |
479 int cert_id) override; | 479 int cert_id) override; |
480 scoped_ptr<content::BluetoothChooser> RunBluetoothChooser( | 480 scoped_ptr<content::BluetoothChooser> RunBluetoothChooser( |
481 content::RenderFrameHost* frame, | 481 content::RenderFrameHost* frame, |
482 const content::BluetoothChooser::EventHandler& event_handler) override; | 482 const content::BluetoothChooser::EventHandler& event_handler) override; |
483 bool RequestAppBanner(content::WebContents* web_contents) override; | 483 void RequestAppBannerFromDevTools( |
| 484 content::WebContents* web_contents) override; |
| 485 |
| 486 bool RequestAppBanner(content::WebContents* web_contents); |
484 | 487 |
485 bool is_type_tabbed() const { return type_ == TYPE_TABBED; } | 488 bool is_type_tabbed() const { return type_ == TYPE_TABBED; } |
486 bool is_type_popup() const { return type_ == TYPE_POPUP; } | 489 bool is_type_popup() const { return type_ == TYPE_POPUP; } |
487 | 490 |
488 bool is_app() const; | 491 bool is_app() const; |
489 bool is_devtools() const; | 492 bool is_devtools() const; |
490 | 493 |
491 // True when the mouse cursor is locked. | 494 // True when the mouse cursor is locked. |
492 bool IsMouseLocked() const; | 495 bool IsMouseLocked() const; |
493 | 496 |
(...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1004 // The following factory is used for chrome update coalescing. | 1007 // The following factory is used for chrome update coalescing. |
1005 base::WeakPtrFactory<Browser> chrome_updater_factory_; | 1008 base::WeakPtrFactory<Browser> chrome_updater_factory_; |
1006 | 1009 |
1007 // The following factory is used to close the frame at a later time. | 1010 // The following factory is used to close the frame at a later time. |
1008 base::WeakPtrFactory<Browser> weak_factory_; | 1011 base::WeakPtrFactory<Browser> weak_factory_; |
1009 | 1012 |
1010 DISALLOW_COPY_AND_ASSIGN(Browser); | 1013 DISALLOW_COPY_AND_ASSIGN(Browser); |
1011 }; | 1014 }; |
1012 | 1015 |
1013 #endif // CHROME_BROWSER_UI_BROWSER_H_ | 1016 #endif // CHROME_BROWSER_UI_BROWSER_H_ |
OLD | NEW |