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

Side by Side Diff: chrome/renderer/render_widget.cc

Issue 65012: Move skia to DEPS, and put it in third_party. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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 | « chrome/renderer/render_widget.h ('k') | skia/config/SkUserConfig.h » ('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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 "chrome/renderer/render_widget.h" 5 #include "chrome/renderer/render_widget.h"
6 6
7 #include "base/gfx/point.h" 7 #include "base/gfx/point.h"
8 #include "base/gfx/size.h" 8 #include "base/gfx/size.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/message_loop.h" 10 #include "base/message_loop.h"
11 #include "base/scoped_ptr.h" 11 #include "base/scoped_ptr.h"
12 #include "build/build_config.h" 12 #include "build/build_config.h"
13 #include "chrome/common/render_messages.h" 13 #include "chrome/common/render_messages.h"
14 #include "chrome/common/transport_dib.h" 14 #include "chrome/common/transport_dib.h"
15 #include "chrome/renderer/render_process.h" 15 #include "chrome/renderer/render_process.h"
16 #include "skia/ext/platform_canvas.h" 16 #include "skia/ext/platform_canvas.h"
17 #include "skia/include/SkShader.h" 17 #include "third_party/skia/include/core/SkShader.h"
18 #include "webkit/api/public/WebRect.h" 18 #include "webkit/api/public/WebRect.h"
19 #include "webkit/api/public/WebScreenInfo.h" 19 #include "webkit/api/public/WebScreenInfo.h"
20 #include "webkit/api/public/WebSize.h" 20 #include "webkit/api/public/WebSize.h"
21 21
22 #if defined(OS_POSIX) 22 #if defined(OS_POSIX)
23 #include "skia/include/SkPixelRef.h" 23 #include "third_party/skia/include/core/SkPixelRef.h"
24 #include "skia/include/SkMallocPixelRef.h" 24 #include "third_party/skia/include/core/SkMallocPixelRef.h"
25 #endif // defined(OS_POSIX) 25 #endif // defined(OS_POSIX)
26 26
27 #include "webkit/glue/webtextdirection.h" 27 #include "webkit/glue/webtextdirection.h"
28 #include "webkit/glue/webwidget.h" 28 #include "webkit/glue/webwidget.h"
29 29
30 using WebKit::WebInputEvent; 30 using WebKit::WebInputEvent;
31 using WebKit::WebRect; 31 using WebKit::WebRect;
32 using WebKit::WebScreenInfo; 32 using WebKit::WebScreenInfo;
33 using WebKit::WebSize; 33 using WebKit::WebSize;
34 34
(...skipping 806 matching lines...) Expand 10 before | Expand all | Expand 10 after
841 if (i == plugin_window_moves_.size()) 841 if (i == plugin_window_moves_.size())
842 plugin_window_moves_.push_back(move); 842 plugin_window_moves_.push_back(move);
843 } 843 }
844 844
845 WebScreenInfo RenderWidget::GetScreenInfo(WebWidget* webwidget) { 845 WebScreenInfo RenderWidget::GetScreenInfo(WebWidget* webwidget) {
846 WebScreenInfo results; 846 WebScreenInfo results;
847 RenderThread::current()->Send( 847 RenderThread::current()->Send(
848 new ViewHostMsg_GetScreenInfo(host_window_, &results)); 848 new ViewHostMsg_GetScreenInfo(host_window_, &results));
849 return results; 849 return results;
850 } 850 }
OLDNEW
« no previous file with comments | « chrome/renderer/render_widget.h ('k') | skia/config/SkUserConfig.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698