OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_UI_BROWSER_H_ | 5 #ifndef CHROME_BROWSER_UI_BROWSER_H_ |
6 #define CHROME_BROWSER_UI_BROWSER_H_ | 6 #define CHROME_BROWSER_UI_BROWSER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 747 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
758 | 758 |
759 // Removes all entries from scheduled_updates_ whose source is contents. | 759 // Removes all entries from scheduled_updates_ whose source is contents. |
760 void RemoveScheduledUpdatesFor(content::WebContents* contents); | 760 void RemoveScheduledUpdatesFor(content::WebContents* contents); |
761 | 761 |
762 // Getters for UI /////////////////////////////////////////////////////////// | 762 // Getters for UI /////////////////////////////////////////////////////////// |
763 | 763 |
764 // TODO(beng): remove, and provide AutomationProvider a better way to access | 764 // TODO(beng): remove, and provide AutomationProvider a better way to access |
765 // the LocationBarView's edit. | 765 // the LocationBarView's edit. |
766 friend class AutomationProvider; | 766 friend class AutomationProvider; |
767 friend class BrowserProxy; | 767 friend class BrowserProxy; |
768 friend class TestingAutomationProvider; | |
769 | 768 |
770 // Returns the StatusBubble from the current toolbar. It is possible for | 769 // Returns the StatusBubble from the current toolbar. It is possible for |
771 // this to return NULL if called before the toolbar has initialized. | 770 // this to return NULL if called before the toolbar has initialized. |
772 // TODO(beng): remove this. | 771 // TODO(beng): remove this. |
773 StatusBubble* GetStatusBubble(); | 772 StatusBubble* GetStatusBubble(); |
774 | 773 |
775 // Session restore functions //////////////////////////////////////////////// | 774 // Session restore functions //////////////////////////////////////////////// |
776 | 775 |
777 // Notifies the history database of the index for all tabs whose index is | 776 // Notifies the history database of the index for all tabs whose index is |
778 // >= index. | 777 // >= index. |
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
979 | 978 |
980 scoped_ptr<chrome::ValidationMessageBubble> validation_message_bubble_; | 979 scoped_ptr<chrome::ValidationMessageBubble> validation_message_bubble_; |
981 | 980 |
982 // The following factory is used to close the frame at a later time. | 981 // The following factory is used to close the frame at a later time. |
983 base::WeakPtrFactory<Browser> weak_factory_; | 982 base::WeakPtrFactory<Browser> weak_factory_; |
984 | 983 |
985 DISALLOW_COPY_AND_ASSIGN(Browser); | 984 DISALLOW_COPY_AND_ASSIGN(Browser); |
986 }; | 985 }; |
987 | 986 |
988 #endif // CHROME_BROWSER_UI_BROWSER_H_ | 987 #endif // CHROME_BROWSER_UI_BROWSER_H_ |
OLD | NEW |