| 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 <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 447 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 458 void MoveValidationMessage(content::WebContents* web_contents, | 458 void MoveValidationMessage(content::WebContents* web_contents, |
| 459 const gfx::Rect& anchor_in_root_view) override; | 459 const gfx::Rect& anchor_in_root_view) override; |
| 460 bool PreHandleGestureEvent(content::WebContents* source, | 460 bool PreHandleGestureEvent(content::WebContents* source, |
| 461 const blink::WebGestureEvent& event) override; | 461 const blink::WebGestureEvent& event) override; |
| 462 bool CanDragEnter(content::WebContents* source, | 462 bool CanDragEnter(content::WebContents* source, |
| 463 const content::DropData& data, | 463 const content::DropData& data, |
| 464 blink::WebDragOperationsMask operations_allowed) override; | 464 blink::WebDragOperationsMask operations_allowed) override; |
| 465 content::SecurityStyle GetSecurityStyle( | 465 content::SecurityStyle GetSecurityStyle( |
| 466 content::WebContents* web_contents, | 466 content::WebContents* web_contents, |
| 467 content::SecurityStyleExplanations* security_style_explanations) override; | 467 content::SecurityStyleExplanations* security_style_explanations) override; |
| 468 void ShowCertificateViewerInDevTools( |
| 469 content::WebContents* web_contents, |
| 470 int cert_id) override; |
| 468 | 471 |
| 469 bool is_type_tabbed() const { return type_ == TYPE_TABBED; } | 472 bool is_type_tabbed() const { return type_ == TYPE_TABBED; } |
| 470 bool is_type_popup() const { return type_ == TYPE_POPUP; } | 473 bool is_type_popup() const { return type_ == TYPE_POPUP; } |
| 471 | 474 |
| 472 bool is_app() const; | 475 bool is_app() const; |
| 473 bool is_devtools() const; | 476 bool is_devtools() const; |
| 474 | 477 |
| 475 // True when the mouse cursor is locked. | 478 // True when the mouse cursor is locked. |
| 476 bool IsMouseLocked() const; | 479 bool IsMouseLocked() const; |
| 477 | 480 |
| (...skipping 500 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 978 // The following factory is used for chrome update coalescing. | 981 // The following factory is used for chrome update coalescing. |
| 979 base::WeakPtrFactory<Browser> chrome_updater_factory_; | 982 base::WeakPtrFactory<Browser> chrome_updater_factory_; |
| 980 | 983 |
| 981 // The following factory is used to close the frame at a later time. | 984 // The following factory is used to close the frame at a later time. |
| 982 base::WeakPtrFactory<Browser> weak_factory_; | 985 base::WeakPtrFactory<Browser> weak_factory_; |
| 983 | 986 |
| 984 DISALLOW_COPY_AND_ASSIGN(Browser); | 987 DISALLOW_COPY_AND_ASSIGN(Browser); |
| 985 }; | 988 }; |
| 986 | 989 |
| 987 #endif // CHROME_BROWSER_UI_BROWSER_H_ | 990 #endif // CHROME_BROWSER_UI_BROWSER_H_ |
| OLD | NEW |