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

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

Issue 10365007: ui: Move compositor/ directory out of gfx/, up to ui/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix DEPS Created 8 years, 7 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 | « ui/compositor/compositor.h ('k') | ui/compositor/compositor.gyp » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/compositor/compositor.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/threading/thread_restrictions.h" 8 #include "base/threading/thread_restrictions.h"
9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCompositor.h" 9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCompositor.h"
10 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebFloatPoin t.h" 10 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebFloatPoin t.h"
11 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebRect.h" 11 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebRect.h"
12 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebSize.h" 12 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebSize.h"
13 #include "third_party/skia/include/core/SkBitmap.h" 13 #include "third_party/skia/include/core/SkBitmap.h"
14 #include "third_party/skia/include/images/SkImageEncoder.h" 14 #include "third_party/skia/include/images/SkImageEncoder.h"
15 #include "ui/gfx/compositor/compositor_observer.h" 15 #include "ui/compositor/compositor_observer.h"
16 #include "ui/gfx/compositor/compositor_switches.h" 16 #include "ui/compositor/compositor_switches.h"
17 #include "ui/gfx/compositor/layer.h" 17 #include "ui/compositor/layer.h"
18 #include "ui/gfx/compositor/test_web_graphics_context_3d.h" 18 #include "ui/compositor/test_web_graphics_context_3d.h"
19 #include "ui/gfx/gl/gl_context.h" 19 #include "ui/gfx/gl/gl_context.h"
20 #include "ui/gfx/gl/gl_implementation.h" 20 #include "ui/gfx/gl/gl_implementation.h"
21 #include "ui/gfx/gl/gl_surface.h" 21 #include "ui/gfx/gl/gl_surface.h"
22 #include "webkit/glue/webthread_impl.h" 22 #include "webkit/glue/webthread_impl.h"
23 #include "webkit/gpu/webgraphicscontext3d_in_process_impl.h" 23 #include "webkit/gpu/webgraphicscontext3d_in_process_impl.h"
24 24
25 namespace { 25 namespace {
26 26
27 const double kDefaultRefreshRate = 60.0; 27 const double kDefaultRefreshRate = 60.0;
28 const double kTestRefreshRate = 100.0; 28 const double kTestRefreshRate = 100.0;
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 345
346 COMPOSITOR_EXPORT void DisableTestCompositor() { 346 COMPOSITOR_EXPORT void DisableTestCompositor() {
347 test_compositor_enabled = false; 347 test_compositor_enabled = false;
348 } 348 }
349 349
350 COMPOSITOR_EXPORT bool IsTestCompositorEnabled() { 350 COMPOSITOR_EXPORT bool IsTestCompositorEnabled() {
351 return test_compositor_enabled; 351 return test_compositor_enabled;
352 } 352 }
353 353
354 } // namespace ui 354 } // namespace ui
OLDNEW
« no previous file with comments | « ui/compositor/compositor.h ('k') | ui/compositor/compositor.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698