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