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

Side by Side Diff: chrome/browser/ui/views/tabs/tab_strip_controller.h

Issue 23698003: [temporary M30 fix] Disable dragging tabs with web contents modal dialogs displayed (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix comment Created 7 years, 3 months 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/ui/views/tabs/tab_strip.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "chrome/browser/ui/views/tabs/tab_strip_types.h" 8 #include "chrome/browser/ui/views/tabs/tab_strip_types.h"
9 #include "ui/base/ui_base_types.h" 9 #include "ui/base/ui_base_types.h"
10 10
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 92
93 // Creates the new tab. 93 // Creates the new tab.
94 virtual void CreateNewTab() = 0; 94 virtual void CreateNewTab() = 0;
95 95
96 // Returns true if the tab strip is in an incognito window. 96 // Returns true if the tab strip is in an incognito window.
97 virtual bool IsIncognito() = 0; 97 virtual bool IsIncognito() = 0;
98 98
99 // Invoked if the layout type might have changed. 99 // Invoked if the layout type might have changed.
100 virtual void LayoutTypeMaybeChanged() = 0; 100 virtual void LayoutTypeMaybeChanged() = 0;
101 101
102 // Returns true if the tab at the given index is showing a web view modal
103 // dialog.
104 virtual bool IsTabShowingWebViewModalDialog(int index) = 0;
105
102 // Notifies controller that the user started dragging this tabstrip's tabs. 106 // Notifies controller that the user started dragging this tabstrip's tabs.
103 virtual void OnStartedDraggingTabs() = 0; 107 virtual void OnStartedDraggingTabs() = 0;
104 108
105 // Notifies controller that the user stopped dragging this tabstrip's tabs. 109 // Notifies controller that the user stopped dragging this tabstrip's tabs.
106 // This is also called when the tabs that the user is dragging were detached 110 // This is also called when the tabs that the user is dragging were detached
107 // from this tabstrip but the user is still dragging the tabs. 111 // from this tabstrip but the user is still dragging the tabs.
108 virtual void OnStoppedDraggingTabs() = 0; 112 virtual void OnStoppedDraggingTabs() = 0;
109 }; 113 };
110 114
111 #endif // CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_CONTROLLER_H_ 115 #endif // CHROME_BROWSER_UI_VIEWS_TABS_TAB_STRIP_CONTROLLER_H_
OLDNEW
« no previous file with comments | « 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