Chromium Code Reviews| Index: chrome/browser/ui/views/tabs/tab_strip_controller.h |
| diff --git a/chrome/browser/ui/views/tabs/tab_strip_controller.h b/chrome/browser/ui/views/tabs/tab_strip_controller.h |
| index 4e53c1bdeb07e3e878ee8ffdfeb0929d39a77695..9e751430f01473c661e95ef6d609c0fe878b6e8c 100644 |
| --- a/chrome/browser/ui/views/tabs/tab_strip_controller.h |
| +++ b/chrome/browser/ui/views/tabs/tab_strip_controller.h |
| @@ -20,6 +20,8 @@ namespace ui { |
| class ListSelectionModel; |
| } |
| +class Profile; |
| + |
| // Model/Controller for the TabStrip. |
| // NOTE: All indices used by this class are in model coordinates. |
| class TabStripController { |
| @@ -106,6 +108,9 @@ class TabStripController { |
| // This is also called when the tabs that the user is dragging were detached |
| // from this tabstrip but the user is still dragging the tabs. |
| virtual void OnStoppedDraggingTabs() = 0; |
| + |
| + // Returns the profile associated with the controller's model. |
| + virtual Profile* GetProfile() = 0; |
|
sky
2013/11/15 00:48:54
I think you can get the profile from the browserco
michaelpg
2013/11/15 21:08:01
Could you please clarify this for me? The TabStrip
sky
2013/11/15 22:07:18
You are right. In which case I would prefer to kee
michaelpg
2013/11/18 23:24:51
Done.
|
| }; |
| #endif // CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_CONTROLLER_H_ |