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 <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <vector> | 10 #include <vector> |
(...skipping 521 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
532 virtual void SetFocusToLocationBar(); | 532 virtual void SetFocusToLocationBar(); |
533 virtual void RenderWidgetShowing(); | 533 virtual void RenderWidgetShowing(); |
534 virtual int GetExtraRenderViewHeight() const; | 534 virtual int GetExtraRenderViewHeight() const; |
535 virtual void OnStartDownload(DownloadItem* download); | 535 virtual void OnStartDownload(DownloadItem* download); |
536 virtual void ConfirmAddSearchProvider(const TemplateURL* template_url, | 536 virtual void ConfirmAddSearchProvider(const TemplateURL* template_url, |
537 Profile* profile); | 537 Profile* profile); |
538 virtual void ShowPageInfo(Profile* profile, | 538 virtual void ShowPageInfo(Profile* profile, |
539 const GURL& url, | 539 const GURL& url, |
540 const NavigationEntry::SSLStatus& ssl, | 540 const NavigationEntry::SSLStatus& ssl, |
541 bool show_history); | 541 bool show_history); |
| 542 virtual bool IsReservedAccelerator(const NativeWebKeyboardEvent& event); |
542 virtual void ShowRepostFormWarningDialog(TabContents* tab_contents); | 543 virtual void ShowRepostFormWarningDialog(TabContents* tab_contents); |
543 | 544 |
544 // Overridden from SelectFileDialog::Listener: | 545 // Overridden from SelectFileDialog::Listener: |
545 virtual void FileSelected(const FilePath& path, int index, void* params); | 546 virtual void FileSelected(const FilePath& path, int index, void* params); |
546 | 547 |
547 // Overridden from NotificationObserver: | 548 // Overridden from NotificationObserver: |
548 virtual void Observe(NotificationType type, | 549 virtual void Observe(NotificationType type, |
549 const NotificationSource& source, | 550 const NotificationSource& source, |
550 const NotificationDetails& details); | 551 const NotificationDetails& details); |
551 | 552 |
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
795 // Dialog box used for opening and saving files. | 796 // Dialog box used for opening and saving files. |
796 scoped_refptr<SelectFileDialog> select_file_dialog_; | 797 scoped_refptr<SelectFileDialog> select_file_dialog_; |
797 | 798 |
798 // Keep track of the encoding auto detect pref. | 799 // Keep track of the encoding auto detect pref. |
799 BooleanPrefMember encoding_auto_detect_; | 800 BooleanPrefMember encoding_auto_detect_; |
800 | 801 |
801 DISALLOW_COPY_AND_ASSIGN(Browser); | 802 DISALLOW_COPY_AND_ASSIGN(Browser); |
802 }; | 803 }; |
803 | 804 |
804 #endif // CHROME_BROWSER_BROWSER_H_ | 805 #endif // CHROME_BROWSER_BROWSER_H_ |
OLD | NEW |