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

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

Issue 6718027: Refactor: Move app/surface to ui/gfx/surface. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 9 years, 9 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 | « content/renderer/render_widget.h ('k') | content/renderer/render_widget_browsertest.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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 "content/renderer/render_widget.h" 5 #include "content/renderer/render_widget.h"
6 6
7 #include "app/surface/transport_dib.h"
8 #include "base/command_line.h" 7 #include "base/command_line.h"
9 #include "base/logging.h" 8 #include "base/logging.h"
10 #include "base/message_loop.h" 9 #include "base/message_loop.h"
11 #include "base/metrics/histogram.h" 10 #include "base/metrics/histogram.h"
12 #include "base/scoped_ptr.h" 11 #include "base/scoped_ptr.h"
13 #include "build/build_config.h" 12 #include "build/build_config.h"
14 #include "chrome/common/chrome_switches.h" 13 #include "chrome/common/chrome_switches.h"
15 #include "chrome/common/render_messages.h" 14 #include "chrome/common/render_messages.h"
16 #include "chrome/common/render_messages_params.h" 15 #include "chrome/common/render_messages_params.h"
17 #include "chrome/renderer/render_process.h" 16 #include "chrome/renderer/render_process.h"
18 #include "chrome/renderer/render_thread.h" 17 #include "chrome/renderer/render_thread.h"
19 #include "content/common/view_messages.h" 18 #include "content/common/view_messages.h"
20 #include "content/renderer/renderer_webkitclient_impl.h" 19 #include "content/renderer/renderer_webkitclient_impl.h"
21 #include "gpu/common/gpu_trace_event.h" 20 #include "gpu/common/gpu_trace_event.h"
22 #include "ipc/ipc_sync_message.h" 21 #include "ipc/ipc_sync_message.h"
23 #include "skia/ext/platform_canvas.h" 22 #include "skia/ext/platform_canvas.h"
24 #include "third_party/skia/include/core/SkShader.h" 23 #include "third_party/skia/include/core/SkShader.h"
25 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCursorInfo.h" 24 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCursorInfo.h"
26 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupMenu.h" 25 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupMenu.h"
27 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupMenuInfo.h" 26 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupMenuInfo.h"
28 #include "third_party/WebKit/Source/WebKit/chromium/public/WebRect.h" 27 #include "third_party/WebKit/Source/WebKit/chromium/public/WebRect.h"
29 #include "third_party/WebKit/Source/WebKit/chromium/public/WebScreenInfo.h" 28 #include "third_party/WebKit/Source/WebKit/chromium/public/WebScreenInfo.h"
30 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSize.h" 29 #include "third_party/WebKit/Source/WebKit/chromium/public/WebSize.h"
31 #include "ui/gfx/point.h" 30 #include "ui/gfx/point.h"
32 #include "ui/gfx/size.h" 31 #include "ui/gfx/size.h"
32 #include "ui/gfx/surface/transport_dib.h"
33 #include "webkit/glue/webkit_glue.h" 33 #include "webkit/glue/webkit_glue.h"
34 #include "webkit/plugins/npapi/webplugin.h" 34 #include "webkit/plugins/npapi/webplugin.h"
35 #include "webkit/plugins/ppapi/ppapi_plugin_instance.h" 35 #include "webkit/plugins/ppapi/ppapi_plugin_instance.h"
36 36
37 #if defined(OS_POSIX) 37 #if defined(OS_POSIX)
38 #include "ipc/ipc_channel_posix.h" 38 #include "ipc/ipc_channel_posix.h"
39 #include "third_party/skia/include/core/SkPixelRef.h" 39 #include "third_party/skia/include/core/SkPixelRef.h"
40 #include "third_party/skia/include/core/SkMallocPixelRef.h" 40 #include "third_party/skia/include/core/SkMallocPixelRef.h"
41 #endif // defined(OS_POSIX) 41 #endif // defined(OS_POSIX)
42 42
(...skipping 1067 matching lines...) Expand 10 before | Expand all | Expand 10 after
1110 1110
1111 void RenderWidget::CleanupWindowInPluginMoves(gfx::PluginWindowHandle window) { 1111 void RenderWidget::CleanupWindowInPluginMoves(gfx::PluginWindowHandle window) {
1112 for (WebPluginGeometryVector::iterator i = plugin_window_moves_.begin(); 1112 for (WebPluginGeometryVector::iterator i = plugin_window_moves_.begin();
1113 i != plugin_window_moves_.end(); ++i) { 1113 i != plugin_window_moves_.end(); ++i) {
1114 if (i->window == window) { 1114 if (i->window == window) {
1115 plugin_window_moves_.erase(i); 1115 plugin_window_moves_.erase(i);
1116 break; 1116 break;
1117 } 1117 }
1118 } 1118 }
1119 } 1119 }
OLDNEW
« no previous file with comments | « content/renderer/render_widget.h ('k') | content/renderer/render_widget_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698