| 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 | 476 |
| 477 bool is_type_tabbed() const { return type_ == TYPE_TABBED; } | 477 bool is_type_tabbed() const { return type_ == TYPE_TABBED; } |
| 478 bool is_type_popup() const { return type_ == TYPE_POPUP; } | 478 bool is_type_popup() const { return type_ == TYPE_POPUP; } |
| 479 | 479 |
| 480 bool is_app() const; | 480 bool is_app() const; |
| 481 bool is_devtools() const; | 481 bool is_devtools() const; |
| 482 | 482 |
| 483 // True when the mouse cursor is locked. | 483 // True when the mouse cursor is locked. |
| 484 bool IsMouseLocked() const; | 484 bool IsMouseLocked() const; |
| 485 | 485 |
| (...skipping 508 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 994 // The following factory is used for chrome update coalescing. | 994 // The following factory is used for chrome update coalescing. |
| 995 base::WeakPtrFactory<Browser> chrome_updater_factory_; | 995 base::WeakPtrFactory<Browser> chrome_updater_factory_; |
| 996 | 996 |
| 997 // The following factory is used to close the frame at a later time. | 997 // The following factory is used to close the frame at a later time. |
| 998 base::WeakPtrFactory<Browser> weak_factory_; | 998 base::WeakPtrFactory<Browser> weak_factory_; |
| 999 | 999 |
| 1000 DISALLOW_COPY_AND_ASSIGN(Browser); | 1000 DISALLOW_COPY_AND_ASSIGN(Browser); |
| 1001 }; | 1001 }; |
| 1002 | 1002 |
| 1003 #endif // CHROME_BROWSER_UI_BROWSER_H_ | 1003 #endif // CHROME_BROWSER_UI_BROWSER_H_ |
| OLD | NEW |