Chromium Code Reviews| 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 444 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 455 const base::string16& main_text, | 455 const base::string16& main_text, |
| 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( | |
|
Peter Kasting
2015/06/03 23:59:34
Nit: GetSecurityStyleForWebContents()? Otherwise
lgarron
2015/06/04 00:26:34
"error: 'const' type qualifier on return type has
Peter Kasting
2015/06/04 00:29:15
You const-qualified the wrong thing :). I was sug
lgarron
2015/06/05 00:25:12
*shakes fist at C++*
(Done. :-)
| |
| 466 const content::WebContents* web_contents) override; | |
| 465 | 467 |
| 466 bool is_type_tabbed() const { return type_ == TYPE_TABBED; } | 468 bool is_type_tabbed() const { return type_ == TYPE_TABBED; } |
| 467 bool is_type_popup() const { return type_ == TYPE_POPUP; } | 469 bool is_type_popup() const { return type_ == TYPE_POPUP; } |
| 468 | 470 |
| 469 bool is_app() const; | 471 bool is_app() const; |
| 470 bool is_devtools() const; | 472 bool is_devtools() const; |
| 471 | 473 |
| 472 // True when the mouse cursor is locked. | 474 // True when the mouse cursor is locked. |
| 473 bool IsMouseLocked() const; | 475 bool IsMouseLocked() const; |
| 474 | 476 |
| (...skipping 506 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 981 // The following factory is used for chrome update coalescing. | 983 // The following factory is used for chrome update coalescing. |
| 982 base::WeakPtrFactory<Browser> chrome_updater_factory_; | 984 base::WeakPtrFactory<Browser> chrome_updater_factory_; |
| 983 | 985 |
| 984 // The following factory is used to close the frame at a later time. | 986 // The following factory is used to close the frame at a later time. |
| 985 base::WeakPtrFactory<Browser> weak_factory_; | 987 base::WeakPtrFactory<Browser> weak_factory_; |
| 986 | 988 |
| 987 DISALLOW_COPY_AND_ASSIGN(Browser); | 989 DISALLOW_COPY_AND_ASSIGN(Browser); |
| 988 }; | 990 }; |
| 989 | 991 |
| 990 #endif // CHROME_BROWSER_UI_BROWSER_H_ | 992 #endif // CHROME_BROWSER_UI_BROWSER_H_ |
| OLD | NEW |