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

Side by Side Diff: webkit/tools/test_shell/webwidget_host_win.cc

Issue 6312156: Change includes of gfx/* to ui/gfx/* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 10 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/webwidget_host.h ('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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "webkit/tools/test_shell/webwidget_host.h" 5 #include "webkit/tools/test_shell/webwidget_host.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "gfx/rect.h"
9 #include "skia/ext/platform_canvas.h" 8 #include "skia/ext/platform_canvas.h"
10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" 9 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h"
11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupMenu.h" 10 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupMenu.h"
12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebScreenInfo.h" 11 #include "third_party/WebKit/Source/WebKit/chromium/public/WebScreenInfo.h"
13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSize.h" 12 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSize.h"
14 #include "third_party/WebKit/Source/WebKit/chromium/public/win/WebInputEventFact ory.h" 13 #include "third_party/WebKit/Source/WebKit/chromium/public/win/WebInputEventFact ory.h"
15 #include "third_party/WebKit/Source/WebKit/chromium/public/win/WebScreenInfoFact ory.h" 14 #include "third_party/WebKit/Source/WebKit/chromium/public/win/WebScreenInfoFact ory.h"
16 #include "ui/base/win/hwnd_util.h" 15 #include "ui/base/win/hwnd_util.h"
16 #include "ui/gfx/rect.h"
17 #include "webkit/tools/test_shell/test_shell.h" 17 #include "webkit/tools/test_shell/test_shell.h"
18 18
19 using WebKit::WebInputEvent; 19 using WebKit::WebInputEvent;
20 using WebKit::WebInputEventFactory; 20 using WebKit::WebInputEventFactory;
21 using WebKit::WebKeyboardEvent; 21 using WebKit::WebKeyboardEvent;
22 using WebKit::WebMouseEvent; 22 using WebKit::WebMouseEvent;
23 using WebKit::WebMouseWheelEvent; 23 using WebKit::WebMouseWheelEvent;
24 using WebKit::WebPopupMenu; 24 using WebKit::WebPopupMenu;
25 using WebKit::WebScreenInfo; 25 using WebKit::WebScreenInfo;
26 using WebKit::WebScreenInfoFactory; 26 using WebKit::WebScreenInfoFactory;
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after
374 void WebWidgetHost::PaintRect(const gfx::Rect& rect) { 374 void WebWidgetHost::PaintRect(const gfx::Rect& rect) {
375 #ifndef NDEBUG 375 #ifndef NDEBUG
376 DCHECK(!painting_); 376 DCHECK(!painting_);
377 #endif 377 #endif
378 DCHECK(canvas_.get()); 378 DCHECK(canvas_.get());
379 379
380 set_painting(true); 380 set_painting(true);
381 webwidget_->paint(canvas_.get(), rect); 381 webwidget_->paint(canvas_.get(), rect);
382 set_painting(false); 382 set_painting(false);
383 } 383 }
OLDNEW
« no previous file with comments | « webkit/tools/test_shell/webwidget_host.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698