| 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 "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 | 9 |
| 10 #include <set> | 10 #include <set> |
| (...skipping 468 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 479 virtual void ContentsStateChanged(TabContents* source); | 479 virtual void ContentsStateChanged(TabContents* source); |
| 480 virtual bool ShouldDisplayURLField(); | 480 virtual bool ShouldDisplayURLField(); |
| 481 virtual void BeforeUnloadFired(TabContents* source, | 481 virtual void BeforeUnloadFired(TabContents* source, |
| 482 bool proceed, | 482 bool proceed, |
| 483 bool* proceed_to_fire_unload); | 483 bool* proceed_to_fire_unload); |
| 484 virtual gfx::Rect GetRootWindowResizerRect() const; | 484 virtual gfx::Rect GetRootWindowResizerRect() const; |
| 485 virtual void ShowHtmlDialog(HtmlDialogUIDelegate* delegate, | 485 virtual void ShowHtmlDialog(HtmlDialogUIDelegate* delegate, |
| 486 void* parent_window); | 486 void* parent_window); |
| 487 virtual void SetFocusToLocationBar(); | 487 virtual void SetFocusToLocationBar(); |
| 488 virtual void RenderWidgetShowing(); | 488 virtual void RenderWidgetShowing(); |
| 489 virtual ExtensionFunctionDispatcher *CreateExtensionFunctionDispatcher( |
| 490 RenderViewHost* render_view_host, |
| 491 const std::string& extension_id); |
| 489 | 492 |
| 490 // Overridden from SelectFileDialog::Listener: | 493 // Overridden from SelectFileDialog::Listener: |
| 491 virtual void FileSelected(const FilePath& path, int index, void* params); | 494 virtual void FileSelected(const FilePath& path, int index, void* params); |
| 492 | 495 |
| 493 // Overridden from NotificationObserver: | 496 // Overridden from NotificationObserver: |
| 494 virtual void Observe(NotificationType type, | 497 virtual void Observe(NotificationType type, |
| 495 const NotificationSource& source, | 498 const NotificationSource& source, |
| 496 const NotificationDetails& details); | 499 const NotificationDetails& details); |
| 497 | 500 |
| 498 // Command and state updating /////////////////////////////////////////////// | 501 // Command and state updating /////////////////////////////////////////////// |
| (...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 743 // The browser idle task helps cleanup unused memory resources when idle. | 746 // The browser idle task helps cleanup unused memory resources when idle. |
| 744 scoped_ptr<BrowserIdleTimer> idle_task_; | 747 scoped_ptr<BrowserIdleTimer> idle_task_; |
| 745 | 748 |
| 746 // Keep track of the encoding auto detect pref. | 749 // Keep track of the encoding auto detect pref. |
| 747 BooleanPrefMember encoding_auto_detect_; | 750 BooleanPrefMember encoding_auto_detect_; |
| 748 | 751 |
| 749 DISALLOW_COPY_AND_ASSIGN(Browser); | 752 DISALLOW_COPY_AND_ASSIGN(Browser); |
| 750 }; | 753 }; |
| 751 | 754 |
| 752 #endif // CHROME_BROWSER_BROWSER_H_ | 755 #endif // CHROME_BROWSER_BROWSER_H_ |
| OLD | NEW |