Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(541)

Unified Diff: chrome/browser/ui/views/tabs/tab_strip_controller.h

Issue 68133020: Fix dragging supported files to tab strip. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_
« chrome/browser/ui/views/tabs/tab_strip.cc ('K') | « chrome/browser/ui/views/tabs/tab_strip.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698