OLD | NEW |
---|---|
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_CONTROLLER_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_CONTROLLER_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_CONTROLLER_H_ |
7 | 7 |
8 #include "base/strings/string16.h" | 8 #include "base/strings/string16.h" |
9 #include "chrome/browser/ui/views/tabs/tab_strip_types.h" | 9 #include "chrome/browser/ui/views/tabs/tab_strip_types.h" |
10 #include "ui/base/ui_base_types.h" | 10 #include "ui/base/ui_base_types.h" |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
105 // Invoked if the layout type might have changed. | 105 // Invoked if the layout type might have changed. |
106 virtual void LayoutTypeMaybeChanged() = 0; | 106 virtual void LayoutTypeMaybeChanged() = 0; |
107 | 107 |
108 // Notifies controller that the user started dragging this tabstrip's tabs. | 108 // Notifies controller that the user started dragging this tabstrip's tabs. |
109 virtual void OnStartedDraggingTabs() = 0; | 109 virtual void OnStartedDraggingTabs() = 0; |
110 | 110 |
111 // Notifies controller that the user stopped dragging this tabstrip's tabs. | 111 // Notifies controller that the user stopped dragging this tabstrip's tabs. |
112 // This is also called when the tabs that the user is dragging were detached | 112 // This is also called when the tabs that the user is dragging were detached |
113 // from this tabstrip but the user is still dragging the tabs. | 113 // from this tabstrip but the user is still dragging the tabs. |
114 virtual void OnStoppedDraggingTabs() = 0; | 114 virtual void OnStoppedDraggingTabs() = 0; |
115 | |
116 // Determines whether the file specified by the URL is supported. Should | |
117 // invoke TabStrip::FileSupported to report the result. | |
sky
2013/11/26 00:12:29
Document that FileSupported() is invoked asynchron
michaelpg
2013/11/26 04:50:13
Done.
| |
118 virtual void CheckFileSupported(GURL url) = 0; | |
115 }; | 119 }; |
116 | 120 |
117 #endif // CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_CONTROLLER_H_ | 121 #endif // CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_CONTROLLER_H_ |
OLD | NEW |