OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_DRAGGED_TAB_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_TABS_DRAGGED_TAB_CONTROLLER_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_TABS_DRAGGED_TAB_CONTROLLER_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_TABS_DRAGGED_TAB_CONTROLLER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 virtual bool ShouldSuppressDialogs() OVERRIDE; | 150 virtual bool ShouldSuppressDialogs() OVERRIDE; |
151 virtual content::JavaScriptDialogCreator* | 151 virtual content::JavaScriptDialogCreator* |
152 GetJavaScriptDialogCreator() OVERRIDE; | 152 GetJavaScriptDialogCreator() OVERRIDE; |
153 | 153 |
154 // Overridden from content::NotificationObserver: | 154 // Overridden from content::NotificationObserver: |
155 virtual void Observe(int type, | 155 virtual void Observe(int type, |
156 const content::NotificationSource& source, | 156 const content::NotificationSource& source, |
157 const content::NotificationDetails& details) OVERRIDE; | 157 const content::NotificationDetails& details) OVERRIDE; |
158 | 158 |
159 // Overridden from MessageLoop::Observer: | 159 // Overridden from MessageLoop::Observer: |
160 #if defined(OS_WIN) || defined(TOUCH_UI) || defined(USE_AURA) | 160 #if defined(OS_WIN) || defined(USE_AURA) |
161 virtual base::EventStatus WillProcessEvent( | 161 virtual base::EventStatus WillProcessEvent( |
162 const base::NativeEvent& event) OVERRIDE; | 162 const base::NativeEvent& event) OVERRIDE; |
163 virtual void DidProcessEvent(const base::NativeEvent& event) OVERRIDE; | 163 virtual void DidProcessEvent(const base::NativeEvent& event) OVERRIDE; |
164 #elif defined(TOOLKIT_USES_GTK) | 164 #elif defined(TOOLKIT_USES_GTK) |
165 virtual void WillProcessEvent(GdkEvent* event) OVERRIDE; | 165 virtual void WillProcessEvent(GdkEvent* event) OVERRIDE; |
166 virtual void DidProcessEvent(GdkEvent* event) OVERRIDE; | 166 virtual void DidProcessEvent(GdkEvent* event) OVERRIDE; |
167 #endif | 167 #endif |
168 | 168 |
169 // Initialize the offset used to calculate the position to create windows | 169 // Initialize the offset used to calculate the position to create windows |
170 // in |GetWindowCreatePoint|. This should only be invoked from |Init|. | 170 // in |GetWindowCreatePoint|. This should only be invoked from |Init|. |
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
383 // details. | 383 // details. |
384 TabStripSelectionModel initial_selection_model_; | 384 TabStripSelectionModel initial_selection_model_; |
385 | 385 |
386 // The selection model of |attached_tabstrip_| before the tabs were attached. | 386 // The selection model of |attached_tabstrip_| before the tabs were attached. |
387 TabStripSelectionModel selection_model_before_attach_; | 387 TabStripSelectionModel selection_model_before_attach_; |
388 | 388 |
389 DISALLOW_COPY_AND_ASSIGN(DraggedTabController); | 389 DISALLOW_COPY_AND_ASSIGN(DraggedTabController); |
390 }; | 390 }; |
391 | 391 |
392 #endif // CHROME_BROWSER_UI_VIEWS_TABS_DRAGGED_TAB_CONTROLLER_H_ | 392 #endif // CHROME_BROWSER_UI_VIEWS_TABS_DRAGGED_TAB_CONTROLLER_H_ |
OLD | NEW |