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_ |