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

Side by Side Diff: chrome/browser/views/tabs/dragged_tab_controller.cc

Issue 1132006: Move app/gfx/canvas and app/gfx/font to gfx/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 9 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/views/tab_icon_view.cc ('k') | chrome/browser/views/tabs/dragged_tab_view.cc » ('j') | 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) 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/gfx/canvas.h"
13 #include "app/l10n_util.h" 12 #include "app/l10n_util.h"
14 #include "app/resource_bundle.h" 13 #include "app/resource_bundle.h"
15 #include "base/callback.h" 14 #include "base/callback.h"
16 #include "base/i18n/rtl.h" 15 #include "base/i18n/rtl.h"
17 #include "base/keyboard_codes.h" 16 #include "base/keyboard_codes.h"
18 #include "chrome/browser/browser_window.h" 17 #include "chrome/browser/browser_window.h"
19 #include "chrome/browser/extensions/extension_function_dispatcher.h" 18 #include "chrome/browser/extensions/extension_function_dispatcher.h"
20 #include "chrome/browser/tab_contents/tab_contents.h" 19 #include "chrome/browser/tab_contents/tab_contents.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"
23 #include "chrome/browser/views/tabs/dragged_tab_view.h" 22 #include "chrome/browser/views/tabs/dragged_tab_view.h"
24 #include "chrome/browser/views/tabs/native_view_photobooth.h" 23 #include "chrome/browser/views/tabs/native_view_photobooth.h"
25 #include "chrome/browser/views/tabs/tab.h" 24 #include "chrome/browser/views/tabs/tab.h"
26 #include "chrome/browser/views/tabs/tab_strip.h" 25 #include "chrome/browser/views/tabs/tab_strip.h"
27 #include "chrome/browser/tab_contents/tab_contents.h" 26 #include "chrome/browser/tab_contents/tab_contents.h"
28 #include "chrome/common/notification_service.h" 27 #include "chrome/common/notification_service.h"
28 #include "gfx/canvas.h"
29 #include "grit/theme_resources.h" 29 #include "grit/theme_resources.h"
30 #include "third_party/skia/include/core/SkBitmap.h" 30 #include "third_party/skia/include/core/SkBitmap.h"
31 #include "views/event.h" 31 #include "views/event.h"
32 #include "views/widget/root_view.h" 32 #include "views/widget/root_view.h"
33 #include "views/widget/widget.h" 33 #include "views/widget/widget.h"
34 #include "views/window/window.h" 34 #include "views/window/window.h"
35 35
36 #if defined(OS_WIN) 36 #if defined(OS_WIN)
37 #include "views/widget/widget_win.h" 37 #include "views/widget/widget_win.h"
38 #endif 38 #endif
(...skipping 1245 matching lines...) Expand 10 before | Expand all | Expand 10 after
1284 1284
1285 // The previous call made the window appear on top of the dragged window, 1285 // The previous call made the window appear on top of the dragged window,
1286 // move the dragged window to the front. 1286 // move the dragged window to the front.
1287 SetWindowPos(view_->GetWidget()->GetNativeView(), HWND_TOP, 0, 0, 0, 0, 1287 SetWindowPos(view_->GetWidget()->GetNativeView(), HWND_TOP, 0, 0, 0, 0,
1288 SWP_NOACTIVATE | SWP_NOMOVE | SWP_NOSIZE); 1288 SWP_NOACTIVATE | SWP_NOMOVE | SWP_NOSIZE);
1289 #else 1289 #else
1290 NOTIMPLEMENTED(); 1290 NOTIMPLEMENTED();
1291 #endif 1291 #endif
1292 } 1292 }
1293 } 1293 }
OLDNEW
« no previous file with comments | « chrome/browser/views/tab_icon_view.cc ('k') | chrome/browser/views/tabs/dragged_tab_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698