| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_BROWSER_H_ | 5 #ifndef CHROME_BROWSER_BROWSER_H_ |
| 6 #define CHROME_BROWSER_BROWSER_H_ | 6 #define CHROME_BROWSER_BROWSER_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 | 9 |
| 10 #include <set> | 10 #include <set> |
| (...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 241 void SelectNumberedTab(int index); | 241 void SelectNumberedTab(int index); |
| 242 void SelectLastTab(); | 242 void SelectLastTab(); |
| 243 void DuplicateTab(); | 243 void DuplicateTab(); |
| 244 void RestoreTab(); | 244 void RestoreTab(); |
| 245 void ConvertPopupToTabbedBrowser(); | 245 void ConvertPopupToTabbedBrowser(); |
| 246 void ToggleFullscreenMode(); | 246 void ToggleFullscreenMode(); |
| 247 void Exit(); | 247 void Exit(); |
| 248 | 248 |
| 249 // Page-related commands | 249 // Page-related commands |
| 250 void BookmarkCurrentPage(); | 250 void BookmarkCurrentPage(); |
| 251 void SavePage(); |
| 251 void ViewSource(); | 252 void ViewSource(); |
| 252 #if defined(OS_WIN) | 253 #if defined(OS_WIN) |
| 253 void ClosePopups(); | 254 void ClosePopups(); |
| 254 void Print(); | 255 void Print(); |
| 255 void SavePage(); | |
| 256 void ToggleEncodingAutoDetect(); | 256 void ToggleEncodingAutoDetect(); |
| 257 void OverrideEncoding(int encoding_id); | 257 void OverrideEncoding(int encoding_id); |
| 258 | 258 |
| 259 // Clipboard commands | 259 // Clipboard commands |
| 260 void Cut(); | 260 void Cut(); |
| 261 void Copy(); | 261 void Copy(); |
| 262 void CopyCurrentPageURL(); | 262 void CopyCurrentPageURL(); |
| 263 void Paste(); | 263 void Paste(); |
| 264 | 264 |
| 265 // Find-in-page | 265 // Find-in-page |
| (...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 628 // The browser idle task helps cleanup unused memory resources when idle. | 628 // The browser idle task helps cleanup unused memory resources when idle. |
| 629 scoped_ptr<BrowserIdleTimer> idle_task_; | 629 scoped_ptr<BrowserIdleTimer> idle_task_; |
| 630 | 630 |
| 631 // Keep track of the encoding auto detect pref. | 631 // Keep track of the encoding auto detect pref. |
| 632 BooleanPrefMember encoding_auto_detect_; | 632 BooleanPrefMember encoding_auto_detect_; |
| 633 | 633 |
| 634 DISALLOW_COPY_AND_ASSIGN(Browser); | 634 DISALLOW_COPY_AND_ASSIGN(Browser); |
| 635 }; | 635 }; |
| 636 | 636 |
| 637 #endif // CHROME_BROWSER_BROWSER_H_ | 637 #endif // CHROME_BROWSER_BROWSER_H_ |
| OLD | NEW |