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

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: Moved logic to BrowserTabStripController 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 afe7a23a3b727b888a6388d86370b6fe214b3cff..388a2f8f38e4e4ba2283f6ad08acd3b654f13c41 100644
--- a/chrome/browser/ui/views/tabs/tab_strip_controller.h
+++ b/chrome/browser/ui/views/tabs/tab_strip_controller.h
@@ -21,6 +21,8 @@ namespace ui {
class ListSelectionModel;
}
+class Profile;
asanka 2013/11/25 22:35:05 Nit: unneeded?
michaelpg 2013/11/25 23:02:35 right, thanks!
+
// Model/Controller for the TabStrip.
// NOTE: All indices used by this class are in model coordinates.
class TabStripController {
@@ -112,6 +114,10 @@ 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;
+
+ // Determines whether the file specified by the URL is supported. Should
+ // invoke TabStrip::FileSupported to report the result.
+ virtual void CheckFileSupported(GURL url) = 0;
};
#endif // CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_CONTROLLER_H_

Powered by Google App Engine
This is Rietveld 408576698