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

Side by Side Diff: ash/wm/image_grid.cc

Issue 9026017: Move some more files into ash... this time seed the window manager dir. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years 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 | « ash/wm/image_grid.h ('k') | ash/wm/image_grid_unittest.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) 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 "ui/aura_shell/image_grid.h" 5 #include "ash/wm/image_grid.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "ui/gfx/canvas.h" 9 #include "ui/gfx/canvas.h"
10 #include "ui/gfx/image/image.h" 10 #include "ui/gfx/image/image.h"
11 #include "ui/gfx/transform.h" 11 #include "ui/gfx/transform.h"
12 #include "third_party/skia/include/core/SkColor.h" 12 #include "third_party/skia/include/core/SkColor.h"
13 #include "third_party/skia/include/core/SkXfermode.h" 13 #include "third_party/skia/include/core/SkXfermode.h"
14 14
15 using std::max; 15 using std::max;
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 237
238 painter_ptr->reset(new ImagePainter(image)); 238 painter_ptr->reset(new ImagePainter(image));
239 layer_ptr->get()->set_delegate(painter_ptr->get()); 239 layer_ptr->get()->set_delegate(painter_ptr->get());
240 layer_ptr->get()->SetFillsBoundsOpaquely(false); 240 layer_ptr->get()->SetFillsBoundsOpaquely(false);
241 layer_ptr->get()->SetVisible(true); 241 layer_ptr->get()->SetVisible(true);
242 layer_->Add(layer_ptr->get()); 242 layer_->Add(layer_ptr->get());
243 } 243 }
244 244
245 } // namespace internal 245 } // namespace internal
246 } // namespace aura_shell 246 } // namespace aura_shell
OLDNEW
« no previous file with comments | « ash/wm/image_grid.h ('k') | ash/wm/image_grid_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698