OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #include "chrome/browser/views/tabs/dragged_tab_controller.h" | 5 #include "chrome/browser/views/tabs/dragged_tab_controller.h" |
6 | 6 |
7 #include <math.h> | 7 #include <math.h> |
8 #include <set> | 8 #include <set> |
9 | 9 |
10 #include "app/animation.h" | 10 #include "app/animation.h" |
11 #include "app/slide_animation.h" | 11 #include "app/slide_animation.h" |
12 #include "app/resource_bundle.h" | 12 #include "app/resource_bundle.h" |
13 #include "base/callback.h" | 13 #include "base/callback.h" |
14 #include "base/i18n/rtl.h" | 14 #include "base/i18n/rtl.h" |
15 #include "base/keyboard_codes.h" | |
16 #include "chrome/browser/browser_window.h" | 15 #include "chrome/browser/browser_window.h" |
17 #include "chrome/browser/extensions/extension_function_dispatcher.h" | 16 #include "chrome/browser/extensions/extension_function_dispatcher.h" |
18 #include "chrome/browser/tab_contents/tab_contents.h" | 17 #include "chrome/browser/tab_contents/tab_contents.h" |
19 #include "chrome/browser/tabs/tab_strip_model.h" | 18 #include "chrome/browser/tabs/tab_strip_model.h" |
20 #include "chrome/browser/metrics/user_metrics.h" | 19 #include "chrome/browser/metrics/user_metrics.h" |
21 #include "chrome/browser/views/frame/browser_view.h" | 20 #include "chrome/browser/views/frame/browser_view.h" |
22 #include "chrome/browser/views/tabs/base_tab.h" | 21 #include "chrome/browser/views/tabs/base_tab.h" |
23 #include "chrome/browser/views/tabs/base_tab_strip.h" | 22 #include "chrome/browser/views/tabs/base_tab_strip.h" |
24 #include "chrome/browser/views/tabs/browser_tab_strip_controller.h" | 23 #include "chrome/browser/views/tabs/browser_tab_strip_controller.h" |
25 #include "chrome/browser/views/tabs/dragged_tab_view.h" | 24 #include "chrome/browser/views/tabs/dragged_tab_view.h" |
(...skipping 1316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1342 #else | 1341 #else |
1343 NOTIMPLEMENTED(); | 1342 NOTIMPLEMENTED(); |
1344 #endif | 1343 #endif |
1345 } | 1344 } |
1346 } | 1345 } |
1347 | 1346 |
1348 TabStripModel* DraggedTabController::GetModel(BaseTabStrip* tabstrip) const { | 1347 TabStripModel* DraggedTabController::GetModel(BaseTabStrip* tabstrip) const { |
1349 return static_cast<BrowserTabStripController*>(tabstrip->controller())-> | 1348 return static_cast<BrowserTabStripController*>(tabstrip->controller())-> |
1350 model(); | 1349 model(); |
1351 } | 1350 } |
OLD | NEW |