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

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

Issue 11360066: cc: Remove WebCore rect use from the compositor, except within Region. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Signs Created 8 years, 1 month 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 | « cc/tiled_layer_unittest.cc ('k') | webkit/compositor_bindings/web_layer_impl.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 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 "config.h" 5 #include "config.h"
6 #include "web_content_layer_impl.h" 6 #include "web_content_layer_impl.h"
7 7
8 #include "SkMatrix44.h" 8 #include "SkMatrix44.h"
9 #include "cc/content_layer.h" 9 #include "cc/content_layer.h"
10 #include "cc/stubs/float_rect.h"
11 #include "cc/stubs/int_rect.h"
12 #include "third_party/WebKit/Source/Platform/chromium/public/WebContentLayerClie nt.h" 10 #include "third_party/WebKit/Source/Platform/chromium/public/WebContentLayerClie nt.h"
13 #include "third_party/WebKit/Source/Platform/chromium/public/WebFloatPoint.h" 11 #include "third_party/WebKit/Source/Platform/chromium/public/WebFloatPoint.h"
14 #include "third_party/WebKit/Source/Platform/chromium/public/WebFloatRect.h" 12 #include "third_party/WebKit/Source/Platform/chromium/public/WebFloatRect.h"
15 #include "third_party/WebKit/Source/Platform/chromium/public/WebRect.h" 13 #include "third_party/WebKit/Source/Platform/chromium/public/WebRect.h"
16 #include "third_party/WebKit/Source/Platform/chromium/public/WebSize.h" 14 #include "third_party/WebKit/Source/Platform/chromium/public/WebSize.h"
17 #include "webcore_convert.h" 15 #include "webcore_convert.h"
18 16
19 using namespace cc; 17 using namespace cc;
20 18
21 namespace WebKit { 19 namespace WebKit {
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 m_client->paintContents(canvas, 79 m_client->paintContents(canvas,
82 clip, 80 clip,
83 #if WEBCONTENTLAYERCLIENT_HAS_CANPAINTLCDTEXT 81 #if WEBCONTENTLAYERCLIENT_HAS_CANPAINTLCDTEXT
84 m_layer->layer()->useLCDText(), 82 m_layer->layer()->useLCDText(),
85 #endif // WEBCONTENTLAYERCLIENT_HAS_CANPAINTLCDTEXT 83 #endif // WEBCONTENTLAYERCLIENT_HAS_CANPAINTLCDTEXT
86 webOpaque); 84 webOpaque);
87 opaque = webOpaque; 85 opaque = webOpaque;
88 } 86 }
89 87
90 } // namespace WebKit 88 } // namespace WebKit
OLDNEW
« no previous file with comments | « cc/tiled_layer_unittest.cc ('k') | webkit/compositor_bindings/web_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698