| 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 445 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 456 const base::string16& sub_text) override; | 456 const base::string16& sub_text) override; |
| 457 void HideValidationMessage(content::WebContents* web_contents) override; | 457 void HideValidationMessage(content::WebContents* web_contents) override; |
| 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) override; | 466 content::WebContents* web_contents, |
| 467 content::SecurityStyleExplanations* security_style_explanations) override; |
| 467 | 468 |
| 468 bool is_type_tabbed() const { return type_ == TYPE_TABBED; } | 469 bool is_type_tabbed() const { return type_ == TYPE_TABBED; } |
| 469 bool is_type_popup() const { return type_ == TYPE_POPUP; } | 470 bool is_type_popup() const { return type_ == TYPE_POPUP; } |
| 470 | 471 |
| 471 bool is_app() const; | 472 bool is_app() const; |
| 472 bool is_devtools() const; | 473 bool is_devtools() const; |
| 473 | 474 |
| 474 // True when the mouse cursor is locked. | 475 // True when the mouse cursor is locked. |
| 475 bool IsMouseLocked() const; | 476 bool IsMouseLocked() const; |
| 476 | 477 |
| (...skipping 506 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 983 // The following factory is used for chrome update coalescing. | 984 // The following factory is used for chrome update coalescing. |
| 984 base::WeakPtrFactory<Browser> chrome_updater_factory_; | 985 base::WeakPtrFactory<Browser> chrome_updater_factory_; |
| 985 | 986 |
| 986 // The following factory is used to close the frame at a later time. | 987 // The following factory is used to close the frame at a later time. |
| 987 base::WeakPtrFactory<Browser> weak_factory_; | 988 base::WeakPtrFactory<Browser> weak_factory_; |
| 988 | 989 |
| 989 DISALLOW_COPY_AND_ASSIGN(Browser); | 990 DISALLOW_COPY_AND_ASSIGN(Browser); |
| 990 }; | 991 }; |
| 991 | 992 |
| 992 #endif // CHROME_BROWSER_UI_BROWSER_H_ | 993 #endif // CHROME_BROWSER_UI_BROWSER_H_ |
| OLD | NEW |