OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_SIDEBAR_SIDEBAR_CONTAINER_H_ | 5 #ifndef CHROME_BROWSER_SIDEBAR_SIDEBAR_CONTAINER_H_ |
6 #define CHROME_BROWSER_SIDEBAR_SIDEBAR_CONTAINER_H_ | 6 #define CHROME_BROWSER_SIDEBAR_SIDEBAR_CONTAINER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 WindowOpenDisposition disposition, | 97 WindowOpenDisposition disposition, |
98 PageTransition::Type transition) {} | 98 PageTransition::Type transition) {} |
99 virtual void NavigationStateChanged(const TabContents* source, | 99 virtual void NavigationStateChanged(const TabContents* source, |
100 unsigned changed_flags) {} | 100 unsigned changed_flags) {} |
101 virtual void AddNewContents(TabContents* source, | 101 virtual void AddNewContents(TabContents* source, |
102 TabContents* new_contents, | 102 TabContents* new_contents, |
103 WindowOpenDisposition disposition, | 103 WindowOpenDisposition disposition, |
104 const gfx::Rect& initial_pos, | 104 const gfx::Rect& initial_pos, |
105 bool user_gesture) {} | 105 bool user_gesture) {} |
106 virtual void ActivateContents(TabContents* contents) {} | 106 virtual void ActivateContents(TabContents* contents) {} |
| 107 virtual void DeactivateContents(TabContents* contents) {} |
107 virtual void LoadingStateChanged(TabContents* source) {} | 108 virtual void LoadingStateChanged(TabContents* source) {} |
108 virtual void CloseContents(TabContents* source) {} | 109 virtual void CloseContents(TabContents* source) {} |
109 virtual void MoveContents(TabContents* source, const gfx::Rect& pos) {} | 110 virtual void MoveContents(TabContents* source, const gfx::Rect& pos) {} |
110 virtual bool IsPopup(TabContents* source) { return false; } | 111 virtual bool IsPopup(TabContents* source) { return false; } |
111 virtual void URLStarredChanged(TabContents* source, bool starred) {} | 112 virtual void URLStarredChanged(TabContents* source, bool starred) {} |
112 virtual void UpdateTargetURL(TabContents* source, const GURL& url) {} | 113 virtual void UpdateTargetURL(TabContents* source, const GURL& url) {} |
113 virtual void ToolbarSizeChanged(TabContents* source, bool is_animating) {} | 114 virtual void ToolbarSizeChanged(TabContents* source, bool is_animating) {} |
114 | 115 |
115 // Contents of the tab this sidebar is linked to. | 116 // Contents of the tab this sidebar is linked to. |
116 TabContents* tab_; | 117 TabContents* tab_; |
(...skipping 15 matching lines...) Expand all Loading... |
132 scoped_ptr<SkBitmap> icon_; | 133 scoped_ptr<SkBitmap> icon_; |
133 | 134 |
134 // Sidebar's title, displayed as a tooltip for sidebar's mini tab. | 135 // Sidebar's title, displayed as a tooltip for sidebar's mini tab. |
135 string16 title_; | 136 string16 title_; |
136 | 137 |
137 DISALLOW_COPY_AND_ASSIGN(SidebarContainer); | 138 DISALLOW_COPY_AND_ASSIGN(SidebarContainer); |
138 }; | 139 }; |
139 | 140 |
140 #endif // CHROME_BROWSER_SIDEBAR_SIDEBAR_CONTAINER_H_ | 141 #endif // CHROME_BROWSER_SIDEBAR_SIDEBAR_CONTAINER_H_ |
141 | 142 |
OLD | NEW |