| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 #include <set> | 10 #include <set> |
| (...skipping 513 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 524 // feature use |CanSupportWindowFeature|. | 524 // feature use |CanSupportWindowFeature|. |
| 525 bool SupportsWindowFeature(WindowFeature feature) const; | 525 bool SupportsWindowFeature(WindowFeature feature) const; |
| 526 | 526 |
| 527 // Returns true if the Browser can support the specified feature. See comment | 527 // Returns true if the Browser can support the specified feature. See comment |
| 528 // in |SupportsWindowFeature| for details on this. | 528 // in |SupportsWindowFeature| for details on this. |
| 529 bool CanSupportWindowFeature(WindowFeature feature) const; | 529 bool CanSupportWindowFeature(WindowFeature feature) const; |
| 530 | 530 |
| 531 // TODO(port): port these, and re-merge the two function declaration lists. | 531 // TODO(port): port these, and re-merge the two function declaration lists. |
| 532 // Page-related commands. | 532 // Page-related commands. |
| 533 void Print(); | 533 void Print(); |
| 534 void AdvancedPrint(); |
| 534 void EmailPageLocation(); | 535 void EmailPageLocation(); |
| 535 void ToggleEncodingAutoDetect(); | 536 void ToggleEncodingAutoDetect(); |
| 536 void OverrideEncoding(int encoding_id); | 537 void OverrideEncoding(int encoding_id); |
| 537 | 538 |
| 538 // Clipboard commands | 539 // Clipboard commands |
| 539 void Cut(); | 540 void Cut(); |
| 540 void Copy(); | 541 void Copy(); |
| 541 void Paste(); | 542 void Paste(); |
| 542 | 543 |
| 543 // Find-in-page | 544 // Find-in-page |
| (...skipping 830 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1374 // Tab to notify when the browser exits fullscreen mode. | 1375 // Tab to notify when the browser exits fullscreen mode. |
| 1375 TabContentsWrapper* fullscreened_tab_; | 1376 TabContentsWrapper* fullscreened_tab_; |
| 1376 | 1377 |
| 1377 // True if the current tab is in fullscreen mode. | 1378 // True if the current tab is in fullscreen mode. |
| 1378 bool tab_caused_fullscreen_; | 1379 bool tab_caused_fullscreen_; |
| 1379 | 1380 |
| 1380 DISALLOW_COPY_AND_ASSIGN(Browser); | 1381 DISALLOW_COPY_AND_ASSIGN(Browser); |
| 1381 }; | 1382 }; |
| 1382 | 1383 |
| 1383 #endif // CHROME_BROWSER_UI_BROWSER_H_ | 1384 #endif // CHROME_BROWSER_UI_BROWSER_H_ |
| OLD | NEW |