| 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 428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 439 virtual void BeforeUnloadFired(TabContents* source, | 439 virtual void BeforeUnloadFired(TabContents* source, |
| 440 bool proceed, | 440 bool proceed, |
| 441 bool* proceed_to_fire_unload); | 441 bool* proceed_to_fire_unload); |
| 442 virtual gfx::Rect GetRootWindowResizerRect() const; | 442 virtual gfx::Rect GetRootWindowResizerRect() const; |
| 443 virtual void ShowHtmlDialog(HtmlDialogContentsDelegate* delegate, | 443 virtual void ShowHtmlDialog(HtmlDialogContentsDelegate* delegate, |
| 444 void* parent_window); | 444 void* parent_window); |
| 445 virtual void SetFocusToLocationBar(); | 445 virtual void SetFocusToLocationBar(); |
| 446 virtual void RenderWidgetShowing(); | 446 virtual void RenderWidgetShowing(); |
| 447 | 447 |
| 448 // Overridden from SelectFileDialog::Listener: | 448 // Overridden from SelectFileDialog::Listener: |
| 449 virtual void FileSelected(const std::wstring& path, void* params); | 449 virtual void FileSelected(const std::wstring& path, int index, void* params); |
| 450 | 450 |
| 451 // Overridden from NotificationObserver: | 451 // Overridden from NotificationObserver: |
| 452 virtual void Observe(NotificationType type, | 452 virtual void Observe(NotificationType type, |
| 453 const NotificationSource& source, | 453 const NotificationSource& source, |
| 454 const NotificationDetails& details); | 454 const NotificationDetails& details); |
| 455 | 455 |
| 456 private: | 456 private: |
| 457 // Command and state updating /////////////////////////////////////////////// | 457 // Command and state updating /////////////////////////////////////////////// |
| 458 | 458 |
| 459 // Initialize state for all browser commands. | 459 // Initialize state for all browser commands. |
| (...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 676 // The browser idle task helps cleanup unused memory resources when idle. | 676 // The browser idle task helps cleanup unused memory resources when idle. |
| 677 scoped_ptr<BrowserIdleTimer> idle_task_; | 677 scoped_ptr<BrowserIdleTimer> idle_task_; |
| 678 | 678 |
| 679 // Keep track of the encoding auto detect pref. | 679 // Keep track of the encoding auto detect pref. |
| 680 BooleanPrefMember encoding_auto_detect_; | 680 BooleanPrefMember encoding_auto_detect_; |
| 681 | 681 |
| 682 DISALLOW_COPY_AND_ASSIGN(Browser); | 682 DISALLOW_COPY_AND_ASSIGN(Browser); |
| 683 }; | 683 }; |
| 684 | 684 |
| 685 #endif // CHROME_BROWSER_BROWSER_H_ | 685 #endif // CHROME_BROWSER_BROWSER_H_ |
| OLD | NEW |