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

Side by Side Diff: webkit/tools/test_shell/mac/webwidget_host.mm

Issue 159057: Changing the include from "base/gfx/platform_canvas.h" to "skia/ext/platform_... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 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
« no previous file with comments | « webkit/tools/test_shell/mac/webview_host.mm ('k') | no next file » | 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) 2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2008 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 #import <Cocoa/Cocoa.h> 5 #import <Cocoa/Cocoa.h>
6 6
7 #include "webkit/tools/test_shell/webwidget_host.h" 7 #include "webkit/tools/test_shell/webwidget_host.h"
8 8
9 #include "base/gfx/platform_canvas.h"
10 #include "base/gfx/rect.h" 9 #include "base/gfx/rect.h"
11 #include "base/gfx/size.h" 10 #include "base/gfx/size.h"
12 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "skia/ext/platform_canvas.h"
13 #include "webkit/api/public/mac/WebInputEventFactory.h" 13 #include "webkit/api/public/mac/WebInputEventFactory.h"
14 #include "webkit/api/public/mac/WebScreenInfoFactory.h" 14 #include "webkit/api/public/mac/WebScreenInfoFactory.h"
15 #include "webkit/api/public/WebInputEvent.h" 15 #include "webkit/api/public/WebInputEvent.h"
16 #include "webkit/api/public/WebPopupMenu.h" 16 #include "webkit/api/public/WebPopupMenu.h"
17 #include "webkit/api/public/WebScreenInfo.h" 17 #include "webkit/api/public/WebScreenInfo.h"
18 #include "webkit/api/public/WebSize.h" 18 #include "webkit/api/public/WebSize.h"
19 #include "webkit/tools/test_shell/test_shell.h" 19 #include "webkit/tools/test_shell/test_shell.h"
20 20
21 using WebKit::WebInputEvent; 21 using WebKit::WebInputEvent;
22 using WebKit::WebInputEventFactory; 22 using WebKit::WebInputEventFactory;
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 void WebWidgetHost::PaintRect(const gfx::Rect& rect) { 276 void WebWidgetHost::PaintRect(const gfx::Rect& rect) {
277 #ifndef NDEBUG 277 #ifndef NDEBUG
278 DCHECK(!painting_); 278 DCHECK(!painting_);
279 #endif 279 #endif
280 DCHECK(canvas_.get()); 280 DCHECK(canvas_.get());
281 281
282 set_painting(true); 282 set_painting(true);
283 webwidget_->paint(canvas_.get(), rect); 283 webwidget_->paint(canvas_.get(), rect);
284 set_painting(false); 284 set_painting(false);
285 } 285 }
OLDNEW
« no previous file with comments | « webkit/tools/test_shell/mac/webview_host.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698