Index: chrome/browser/ui/views/tabs/tab_controller.h |
diff --git a/chrome/browser/ui/views/tabs/tab_controller.h b/chrome/browser/ui/views/tabs/tab_controller.h |
index ea5085b3412094ece64dd2a6d0a78a593ee6647f..327d1147c745a3f6c4eb3b9fa219bdf4a5331a63 100644 |
--- a/chrome/browser/ui/views/tabs/tab_controller.h |
+++ b/chrome/browser/ui/views/tabs/tab_controller.h |
@@ -29,6 +29,10 @@ class TabController { |
// Returns true if multiple selection is supported. |
virtual bool SupportsMultipleSelection() = 0; |
+ // Returns true if the last input type used for this controller was |
+ // touch (rather than mouse). |
+ virtual bool TouchWasUsedAsLastInput() = 0; |
tdanderson
2015/02/06 20:34:33
It seems wrong to add something like this to TabCo
sky
2015/02/07 00:09:39
Agreed. Maybe this should be ShouldShowCloseButton
tdanderson
2015/02/10 18:52:17
Done.
|
+ |
// Selects the tab. |
virtual void SelectTab(Tab* tab) = 0; |