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

Side by Side Diff: ui/gfx/compositor/compositor_win.cc

Issue 7342047: Cleanup base/stl_util (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: removed unneeded include + rebase Created 9 years, 5 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 "ui/gfx/compositor/compositor.h" 5 #include "ui/gfx/compositor/compositor.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <d3dx10.h> 8 #include <d3dx10.h>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "base/logging.h" 12 #include "base/logging.h"
13 #include "base/stl_util-inl.h" 13 #include "base/stl_util.h"
14 #include "base/string_piece.h" 14 #include "base/string_piece.h"
15 #include "base/win/scoped_comptr.h" 15 #include "base/win/scoped_comptr.h"
16 #include "grit/gfx_resources.h" 16 #include "grit/gfx_resources.h"
17 #include "third_party/skia/include/core/SkBitmap.h" 17 #include "third_party/skia/include/core/SkBitmap.h"
18 #include "ui/base/resource/resource_bundle.h" 18 #include "ui/base/resource/resource_bundle.h"
19 #include "ui/gfx/canvas_skia.h" 19 #include "ui/gfx/canvas_skia.h"
20 #include "ui/gfx/rect.h" 20 #include "ui/gfx/rect.h"
21 #include "ui/gfx/transform.h" 21 #include "ui/gfx/transform.h"
22 22
23 // TODO(sky): this is a hack, figure out real error handling. 23 // TODO(sky): this is a hack, figure out real error handling.
(...skipping 783 matching lines...) Expand 10 before | Expand all | Expand 10 after
807 807
808 // static 808 // static
809 Compositor* Compositor::Create(gfx::AcceleratedWidget widget, 809 Compositor* Compositor::Create(gfx::AcceleratedWidget widget,
810 const gfx::Size& size) { 810 const gfx::Size& size) {
811 CompositorWin* compositor = new CompositorWin(widget, size); 811 CompositorWin* compositor = new CompositorWin(widget, size);
812 compositor->Init(); 812 compositor->Init();
813 return compositor; 813 return compositor;
814 } 814 }
815 815
816 } // namespace ui 816 } // namespace ui
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698