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/l10n_util.h" | |
13 #include "app/resource_bundle.h" | 12 #include "app/resource_bundle.h" |
14 #include "base/callback.h" | 13 #include "base/callback.h" |
15 #include "base/i18n/rtl.h" | 14 #include "base/i18n/rtl.h" |
16 #include "base/keyboard_codes.h" | 15 #include "base/keyboard_codes.h" |
17 #include "chrome/browser/browser_window.h" | 16 #include "chrome/browser/browser_window.h" |
18 #include "chrome/browser/extensions/extension_function_dispatcher.h" | 17 #include "chrome/browser/extensions/extension_function_dispatcher.h" |
19 #include "chrome/browser/tab_contents/tab_contents.h" | 18 #include "chrome/browser/tab_contents/tab_contents.h" |
20 #include "chrome/browser/tabs/tab_strip_model.h" | 19 #include "chrome/browser/tabs/tab_strip_model.h" |
21 #include "chrome/browser/metrics/user_metrics.h" | 20 #include "chrome/browser/metrics/user_metrics.h" |
22 #include "chrome/browser/views/frame/browser_view.h" | 21 #include "chrome/browser/views/frame/browser_view.h" |
(...skipping 1321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1344 #else | 1343 #else |
1345 NOTIMPLEMENTED(); | 1344 NOTIMPLEMENTED(); |
1346 #endif | 1345 #endif |
1347 } | 1346 } |
1348 } | 1347 } |
1349 | 1348 |
1350 TabStripModel* DraggedTabController::GetModel(BaseTabStrip* tabstrip) const { | 1349 TabStripModel* DraggedTabController::GetModel(BaseTabStrip* tabstrip) const { |
1351 return static_cast<BrowserTabStripController*>(tabstrip->controller())-> | 1350 return static_cast<BrowserTabStripController*>(tabstrip->controller())-> |
1352 model(); | 1351 model(); |
1353 } | 1352 } |
OLD | NEW |