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

Side by Side Diff: chrome/browser/ui/views/tabs/dragged_tab_view.cc

Issue 6312156: Change includes of gfx/* to ui/gfx/* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 10 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
OLDNEW
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 #include "chrome/browser/ui/views/tabs/dragged_tab_view.h" 5 #include "chrome/browser/ui/views/tabs/dragged_tab_view.h"
6 6
7 #include "chrome/browser/ui/views/tabs/native_view_photobooth.h" 7 #include "chrome/browser/ui/views/tabs/native_view_photobooth.h"
8 #include "gfx/canvas_skia.h"
9 #include "third_party/skia/include/core/SkShader.h" 8 #include "third_party/skia/include/core/SkShader.h"
9 #include "ui/gfx/canvas_skia.h"
10 #include "views/widget/widget.h" 10 #include "views/widget/widget.h"
11 11
12 #if defined(OS_WIN) 12 #if defined(OS_WIN)
13 #include "views/widget/widget_win.h" 13 #include "views/widget/widget_win.h"
14 #elif defined(OS_LINUX) 14 #elif defined(OS_LINUX)
15 #include "views/widget/widget_gtk.h" 15 #include "views/widget/widget_gtk.h"
16 #endif 16 #endif
17 17
18 static const int kTransparentAlpha = 200; 18 static const int kTransparentAlpha = 200;
19 static const int kOpaqueAlpha = 255; 19 static const int kOpaqueAlpha = 255;
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 #else 213 #else
214 gfx::Rect bounds; 214 gfx::Rect bounds;
215 container_->GetBounds(&bounds, true); 215 container_->GetBounds(&bounds, true);
216 container_->SetBounds(gfx::Rect(bounds.x(), bounds.y(), w, h)); 216 container_->SetBounds(gfx::Rect(bounds.x(), bounds.y(), w, h));
217 #endif 217 #endif
218 } 218 }
219 219
220 int DraggedTabView::ScaleValue(int value) { 220 int DraggedTabView::ScaleValue(int value) {
221 return static_cast<int>(value * kScalingFactor); 221 return static_cast<int>(value * kScalingFactor);
222 } 222 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/tabs/dragged_tab_view.h ('k') | chrome/browser/ui/views/tabs/native_view_photobooth.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698