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

Side by Side Diff: webkit/compositor_bindings/web_content_layer_impl.cc

Issue 11824010: Normalize includes in webkit/compositor_bindings to chromium style (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 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 2011 The Chromium Authors. All rights reserved. 1 // Copyright 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 "web_content_layer_impl.h" 5 #include "webkit/compositor_bindings/web_content_layer_impl.h"
6 6
7 #include "SkMatrix44.h"
8 #include "base/command_line.h" 7 #include "base/command_line.h"
9 #include "cc/content_layer.h" 8 #include "cc/content_layer.h"
10 #include "cc/picture_layer.h" 9 #include "cc/picture_layer.h"
11 #include "cc/switches.h" 10 #include "cc/switches.h"
12 #include "third_party/WebKit/Source/Platform/chromium/public/WebContentLayerClie nt.h" 11 #include "third_party/WebKit/Source/Platform/chromium/public/WebContentLayerClie nt.h"
13 #include "third_party/WebKit/Source/Platform/chromium/public/WebFloatPoint.h" 12 #include "third_party/WebKit/Source/Platform/chromium/public/WebFloatPoint.h"
14 #include "third_party/WebKit/Source/Platform/chromium/public/WebFloatRect.h" 13 #include "third_party/WebKit/Source/Platform/chromium/public/WebFloatRect.h"
15 #include "third_party/WebKit/Source/Platform/chromium/public/WebRect.h" 14 #include "third_party/WebKit/Source/Platform/chromium/public/WebRect.h"
16 #include "third_party/WebKit/Source/Platform/chromium/public/WebSize.h" 15 #include "third_party/WebKit/Source/Platform/chromium/public/WebSize.h"
16 #include "third_party/skia/include/utils/SkMatrix44.h"
17 17
18 using namespace cc; 18 using namespace cc;
19 19
20 namespace WebKit { 20 namespace WebKit {
21 21
22 static bool usingPictureLayer() 22 static bool usingPictureLayer()
23 { 23 {
24 return CommandLine::ForCurrentProcess()->HasSwitch(cc::switches::kEnableImpl SidePainting); 24 return CommandLine::ForCurrentProcess()->HasSwitch(cc::switches::kEnableImpl SidePainting);
25 } 25 }
26 26
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 85
86 bool useLCDText = usingPictureLayer() ? 86 bool useLCDText = usingPictureLayer() ?
87 false : 87 false :
88 static_cast<ContentLayer*>(m_layer->layer())->useLCDText(); 88 static_cast<ContentLayer*>(m_layer->layer())->useLCDText();
89 WebFloatRect webOpaque; 89 WebFloatRect webOpaque;
90 m_client->paintContents(canvas, clip, useLCDText, webOpaque); 90 m_client->paintContents(canvas, clip, useLCDText, webOpaque);
91 opaque = webOpaque; 91 opaque = webOpaque;
92 } 92 }
93 93
94 } // namespace WebKit 94 } // namespace WebKit
OLDNEW
« no previous file with comments | « webkit/compositor_bindings/web_animation_unittest.cc ('k') | webkit/compositor_bindings/web_external_texture_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698