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 454 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
465 blink::WebDragOperationsMask operations_allowed) override; | 465 blink::WebDragOperationsMask operations_allowed) override; |
466 content::SecurityStyle GetSecurityStyle( | 466 content::SecurityStyle GetSecurityStyle( |
467 content::WebContents* web_contents, | 467 content::WebContents* web_contents, |
468 content::SecurityStyleExplanations* security_style_explanations) override; | 468 content::SecurityStyleExplanations* security_style_explanations) override; |
469 void ShowCertificateViewerInDevTools( | 469 void ShowCertificateViewerInDevTools( |
470 content::WebContents* web_contents, | 470 content::WebContents* web_contents, |
471 int cert_id) override; | 471 int cert_id) override; |
472 scoped_ptr<content::BluetoothChooser> RunBluetoothChooser( | 472 scoped_ptr<content::BluetoothChooser> RunBluetoothChooser( |
473 content::WebContents* web_contents, | 473 content::WebContents* web_contents, |
474 const content::BluetoothChooser::EventHandler& event_handler, | 474 const content::BluetoothChooser::EventHandler& event_handler, |
475 const GURL& origin) override; | 475 const url::Origin& origin) override; |
476 bool RequestAppBanner(content::WebContents* web_contents) override; | 476 bool RequestAppBanner(content::WebContents* web_contents) override; |
477 | 477 |
478 bool is_type_tabbed() const { return type_ == TYPE_TABBED; } | 478 bool is_type_tabbed() const { return type_ == TYPE_TABBED; } |
479 bool is_type_popup() const { return type_ == TYPE_POPUP; } | 479 bool is_type_popup() const { return type_ == TYPE_POPUP; } |
480 | 480 |
481 bool is_app() const; | 481 bool is_app() const; |
482 bool is_devtools() const; | 482 bool is_devtools() const; |
483 | 483 |
484 // True when the mouse cursor is locked. | 484 // True when the mouse cursor is locked. |
485 bool IsMouseLocked() const; | 485 bool IsMouseLocked() const; |
(...skipping 509 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
995 // The following factory is used for chrome update coalescing. | 995 // The following factory is used for chrome update coalescing. |
996 base::WeakPtrFactory<Browser> chrome_updater_factory_; | 996 base::WeakPtrFactory<Browser> chrome_updater_factory_; |
997 | 997 |
998 // The following factory is used to close the frame at a later time. | 998 // The following factory is used to close the frame at a later time. |
999 base::WeakPtrFactory<Browser> weak_factory_; | 999 base::WeakPtrFactory<Browser> weak_factory_; |
1000 | 1000 |
1001 DISALLOW_COPY_AND_ASSIGN(Browser); | 1001 DISALLOW_COPY_AND_ASSIGN(Browser); |
1002 }; | 1002 }; |
1003 | 1003 |
1004 #endif // CHROME_BROWSER_UI_BROWSER_H_ | 1004 #endif // CHROME_BROWSER_UI_BROWSER_H_ |
OLD | NEW |