| 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) {} | |
| 108 virtual void LoadingStateChanged(TabContents* source) {} | 107 virtual void LoadingStateChanged(TabContents* source) {} |
| 109 virtual void CloseContents(TabContents* source) {} | 108 virtual void CloseContents(TabContents* source) {} |
| 110 virtual void MoveContents(TabContents* source, const gfx::Rect& pos) {} | 109 virtual void MoveContents(TabContents* source, const gfx::Rect& pos) {} |
| 111 virtual bool IsPopup(TabContents* source) { return false; } | 110 virtual bool IsPopup(TabContents* source) { return false; } |
| 112 virtual void URLStarredChanged(TabContents* source, bool starred) {} | 111 virtual void URLStarredChanged(TabContents* source, bool starred) {} |
| 113 virtual void UpdateTargetURL(TabContents* source, const GURL& url) {} | 112 virtual void UpdateTargetURL(TabContents* source, const GURL& url) {} |
| 114 virtual void ToolbarSizeChanged(TabContents* source, bool is_animating) {} | 113 virtual void ToolbarSizeChanged(TabContents* source, bool is_animating) {} |
| 115 | 114 |
| 116 // Contents of the tab this sidebar is linked to. | 115 // Contents of the tab this sidebar is linked to. |
| 117 TabContents* tab_; | 116 TabContents* tab_; |
| (...skipping 15 matching lines...) Expand all Loading... |
| 133 scoped_ptr<SkBitmap> icon_; | 132 scoped_ptr<SkBitmap> icon_; |
| 134 | 133 |
| 135 // Sidebar's title, displayed as a tooltip for sidebar's mini tab. | 134 // Sidebar's title, displayed as a tooltip for sidebar's mini tab. |
| 136 string16 title_; | 135 string16 title_; |
| 137 | 136 |
| 138 DISALLOW_COPY_AND_ASSIGN(SidebarContainer); | 137 DISALLOW_COPY_AND_ASSIGN(SidebarContainer); |
| 139 }; | 138 }; |
| 140 | 139 |
| 141 #endif // CHROME_BROWSER_SIDEBAR_SIDEBAR_CONTAINER_H_ | 140 #endif // CHROME_BROWSER_SIDEBAR_SIDEBAR_CONTAINER_H_ |
| 142 | 141 |
| OLD | NEW |