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

Side by Side Diff: chrome/browser/renderer_host/resource_message_filter_win.cc

Issue 3152007: Revert "FBTF: Allow forward declaration of classes passed to sync IPC messages." (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 | « no previous file | chrome/chrome_common.gypi » ('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) 2006-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-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/browser/renderer_host/resource_message_filter.h" 5 #include "chrome/browser/renderer_host/resource_message_filter.h"
6 #include "chrome/common/render_messages.h" 6 #include "chrome/common/render_messages.h"
7 #include "third_party/WebKit/WebKit/chromium/public/WebScreenInfo.h"
8 #include "third_party/WebKit/WebKit/chromium/public/win/WebScreenInfoFactory.h" 7 #include "third_party/WebKit/WebKit/chromium/public/win/WebScreenInfoFactory.h"
9 8
10 using WebKit::WebScreenInfo; 9 using WebKit::WebScreenInfo;
11 using WebKit::WebScreenInfoFactory; 10 using WebKit::WebScreenInfoFactory;
12 11
13 // We get null window_ids passed into the two functions below; please see 12 // We get null window_ids passed into the two functions below; please see
14 // http://crbug.com/9060 for more details. 13 // http://crbug.com/9060 for more details.
15 14
16 // TODO(shess): Provide a mapping from reply_msg->routing_id() to HWND 15 // TODO(shess): Provide a mapping from reply_msg->routing_id() to HWND
17 // so that we can eliminate the NativeViewId parameter. 16 // so that we can eliminate the NativeViewId parameter.
(...skipping 21 matching lines...) Expand all
39 Send(reply_msg); 38 Send(reply_msg);
40 } 39 }
41 40
42 void ResourceMessageFilter::OnGetScreenInfo(gfx::NativeViewId view, 41 void ResourceMessageFilter::OnGetScreenInfo(gfx::NativeViewId view,
43 IPC::Message* reply_msg) { 42 IPC::Message* reply_msg) {
44 WebScreenInfo results = 43 WebScreenInfo results =
45 WebScreenInfoFactory::screenInfo(gfx::NativeViewFromId(view)); 44 WebScreenInfoFactory::screenInfo(gfx::NativeViewFromId(view));
46 ViewHostMsg_GetScreenInfo::WriteReplyParams(reply_msg, results); 45 ViewHostMsg_GetScreenInfo::WriteReplyParams(reply_msg, results);
47 Send(reply_msg); 46 Send(reply_msg);
48 } 47 }
OLDNEW
« no previous file with comments | « no previous file | chrome/chrome_common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698