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 460 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
471 bool PreHandleGestureEvent(content::WebContents* source, | 471 bool PreHandleGestureEvent(content::WebContents* source, |
472 const blink::WebGestureEvent& event) override; | 472 const blink::WebGestureEvent& event) override; |
473 bool CanDragEnter(content::WebContents* source, | 473 bool CanDragEnter(content::WebContents* source, |
474 const content::DropData& data, | 474 const content::DropData& data, |
475 blink::WebDragOperationsMask operations_allowed) override; | 475 blink::WebDragOperationsMask operations_allowed) override; |
476 content::SecurityStyle GetSecurityStyle( | 476 content::SecurityStyle GetSecurityStyle( |
477 content::WebContents* web_contents, | 477 content::WebContents* web_contents, |
478 content::SecurityStyleExplanations* security_style_explanations) override; | 478 content::SecurityStyleExplanations* security_style_explanations) override; |
479 void ShowCertificateViewerInDevTools( | 479 void ShowCertificateViewerInDevTools( |
480 content::WebContents* web_contents, | 480 content::WebContents* web_contents, |
481 int cert_id) override; | 481 scoped_refptr<net::X509Certificate> certificate) override; |
482 std::unique_ptr<content::BluetoothChooser> RunBluetoothChooser( | 482 std::unique_ptr<content::BluetoothChooser> RunBluetoothChooser( |
483 content::RenderFrameHost* frame, | 483 content::RenderFrameHost* frame, |
484 const content::BluetoothChooser::EventHandler& event_handler) override; | 484 const content::BluetoothChooser::EventHandler& event_handler) override; |
485 void RequestAppBannerFromDevTools( | 485 void RequestAppBannerFromDevTools( |
486 content::WebContents* web_contents) override; | 486 content::WebContents* web_contents) override; |
487 | 487 |
488 bool is_type_tabbed() const { return type_ == TYPE_TABBED; } | 488 bool is_type_tabbed() const { return type_ == TYPE_TABBED; } |
489 bool is_type_popup() const { return type_ == TYPE_POPUP; } | 489 bool is_type_popup() const { return type_ == TYPE_POPUP; } |
490 | 490 |
491 bool is_app() const; | 491 bool is_app() const; |
(...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1002 // The following factory is used for chrome update coalescing. | 1002 // The following factory is used for chrome update coalescing. |
1003 base::WeakPtrFactory<Browser> chrome_updater_factory_; | 1003 base::WeakPtrFactory<Browser> chrome_updater_factory_; |
1004 | 1004 |
1005 // The following factory is used to close the frame at a later time. | 1005 // The following factory is used to close the frame at a later time. |
1006 base::WeakPtrFactory<Browser> weak_factory_; | 1006 base::WeakPtrFactory<Browser> weak_factory_; |
1007 | 1007 |
1008 DISALLOW_COPY_AND_ASSIGN(Browser); | 1008 DISALLOW_COPY_AND_ASSIGN(Browser); |
1009 }; | 1009 }; |
1010 | 1010 |
1011 #endif // CHROME_BROWSER_UI_BROWSER_H_ | 1011 #endif // CHROME_BROWSER_UI_BROWSER_H_ |
OLD | NEW |