| OLD | NEW |
| 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2009 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 <set> | 8 #include <set> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 334 | 334 |
| 335 // TODO(port): port these, and re-merge the two function declaration lists. | 335 // TODO(port): port these, and re-merge the two function declaration lists. |
| 336 #if defined(OS_WIN) | 336 #if defined(OS_WIN) |
| 337 // Page-related commands. | 337 // Page-related commands. |
| 338 void ClosePopups(); | 338 void ClosePopups(); |
| 339 #endif | 339 #endif |
| 340 void Print(); | 340 void Print(); |
| 341 void ToggleEncodingAutoDetect(); | 341 void ToggleEncodingAutoDetect(); |
| 342 void OverrideEncoding(int encoding_id); | 342 void OverrideEncoding(int encoding_id); |
| 343 | 343 |
| 344 #if defined(OS_WIN) | 344 #if defined(OS_WIN) || defined(OS_LINUX) |
| 345 // Clipboard commands | 345 // Clipboard commands |
| 346 void Cut(); | 346 void Cut(); |
| 347 void Copy(); | 347 void Copy(); |
| 348 void CopyCurrentPageURL(); | |
| 349 void Paste(); | 348 void Paste(); |
| 350 #endif | 349 #endif |
| 351 | 350 |
| 352 // Find-in-page | 351 // Find-in-page |
| 353 void Find(); | 352 void Find(); |
| 354 void FindNext(); | 353 void FindNext(); |
| 355 void FindPrevious(); | 354 void FindPrevious(); |
| 356 | 355 |
| 357 // Zoom | 356 // Zoom |
| 358 void ZoomIn(); | 357 void ZoomIn(); |
| (...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 774 // The browser idle task helps cleanup unused memory resources when idle. | 773 // The browser idle task helps cleanup unused memory resources when idle. |
| 775 scoped_ptr<BrowserIdleTimer> idle_task_; | 774 scoped_ptr<BrowserIdleTimer> idle_task_; |
| 776 | 775 |
| 777 // Keep track of the encoding auto detect pref. | 776 // Keep track of the encoding auto detect pref. |
| 778 BooleanPrefMember encoding_auto_detect_; | 777 BooleanPrefMember encoding_auto_detect_; |
| 779 | 778 |
| 780 DISALLOW_COPY_AND_ASSIGN(Browser); | 779 DISALLOW_COPY_AND_ASSIGN(Browser); |
| 781 }; | 780 }; |
| 782 | 781 |
| 783 #endif // CHROME_BROWSER_BROWSER_H_ | 782 #endif // CHROME_BROWSER_BROWSER_H_ |
| OLD | NEW |