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

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

Issue 3106018: Reapplies all the IPC system work (reverts the revert r56272). (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Created 10 years, 4 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
« no previous file with comments | « chrome/renderer/render_view.cc ('k') | chrome/renderer/renderer_webcookiejar_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 (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 "chrome/renderer/render_widget.h" 5 #include "chrome/renderer/render_widget.h"
6 6
7 #include "app/surface/transport_dib.h" 7 #include "app/surface/transport_dib.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/histogram.h"
10 #include "base/message_loop.h" 11 #include "base/message_loop.h"
11 #include "base/scoped_ptr.h" 12 #include "base/scoped_ptr.h"
12 #include "build/build_config.h" 13 #include "build/build_config.h"
13 #include "chrome/common/chrome_switches.h" 14 #include "chrome/common/chrome_switches.h"
14 #include "chrome/common/render_messages.h" 15 #include "chrome/common/render_messages.h"
15 #include "chrome/renderer/render_process.h" 16 #include "chrome/renderer/render_process.h"
16 #include "chrome/renderer/render_thread.h" 17 #include "chrome/renderer/render_thread.h"
17 #include "gfx/point.h" 18 #include "gfx/point.h"
18 #include "gfx/size.h" 19 #include "gfx/size.h"
19 #include "skia/ext/platform_canvas.h" 20 #include "skia/ext/platform_canvas.h"
20 #include "third_party/skia/include/core/SkShader.h" 21 #include "third_party/skia/include/core/SkShader.h"
21 #include "third_party/WebKit/WebKit/chromium/public/WebCursorInfo.h" 22 #include "third_party/WebKit/WebKit/chromium/public/WebCursorInfo.h"
22 #include "third_party/WebKit/WebKit/chromium/public/WebPopupMenu.h" 23 #include "third_party/WebKit/WebKit/chromium/public/WebPopupMenu.h"
23 #include "third_party/WebKit/WebKit/chromium/public/WebPopupMenuInfo.h" 24 #include "third_party/WebKit/WebKit/chromium/public/WebPopupMenuInfo.h"
24 #include "third_party/WebKit/WebKit/chromium/public/WebRect.h" 25 #include "third_party/WebKit/WebKit/chromium/public/WebRect.h"
25 #include "third_party/WebKit/WebKit/chromium/public/WebScreenInfo.h" 26 #include "third_party/WebKit/WebKit/chromium/public/WebScreenInfo.h"
26 #include "third_party/WebKit/WebKit/chromium/public/WebSize.h" 27 #include "third_party/WebKit/WebKit/chromium/public/WebSize.h"
28 #include "webkit/glue/plugins/webplugin.h"
27 #include "webkit/glue/webkit_glue.h" 29 #include "webkit/glue/webkit_glue.h"
28 30
29 #if defined(OS_POSIX) 31 #if defined(OS_POSIX)
30 #include "ipc/ipc_channel_posix.h" 32 #include "ipc/ipc_channel_posix.h"
31 #include "third_party/skia/include/core/SkPixelRef.h" 33 #include "third_party/skia/include/core/SkPixelRef.h"
32 #include "third_party/skia/include/core/SkMallocPixelRef.h" 34 #include "third_party/skia/include/core/SkMallocPixelRef.h"
33 #endif // defined(OS_POSIX) 35 #endif // defined(OS_POSIX)
34 36
35 #include "third_party/WebKit/WebKit/chromium/public/WebWidget.h" 37 #include "third_party/WebKit/WebKit/chromium/public/WebWidget.h"
36 38
(...skipping 882 matching lines...) Expand 10 before | Expand all | Expand 10 after
919 921
920 void RenderWidget::CleanupWindowInPluginMoves(gfx::PluginWindowHandle window) { 922 void RenderWidget::CleanupWindowInPluginMoves(gfx::PluginWindowHandle window) {
921 for (WebPluginGeometryVector::iterator i = plugin_window_moves_.begin(); 923 for (WebPluginGeometryVector::iterator i = plugin_window_moves_.begin();
922 i != plugin_window_moves_.end(); ++i) { 924 i != plugin_window_moves_.end(); ++i) {
923 if (i->window == window) { 925 if (i->window == window) {
924 plugin_window_moves_.erase(i); 926 plugin_window_moves_.erase(i);
925 break; 927 break;
926 } 928 }
927 } 929 }
928 } 930 }
OLDNEW
« no previous file with comments | « chrome/renderer/render_view.cc ('k') | chrome/renderer/renderer_webcookiejar_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698