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

Side by Side Diff: content/common/view_messages.h

Issue 12746009: Revert 189969 "Add RenderWidgetHost::GetSnapshotFromRenderer met..." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1450/src/
Patch Set: Created 7 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // IPC messages for page rendering. 5 // IPC messages for page rendering.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include "base/process.h" 8 #include "base/process.h"
9 #include "base/shared_memory.h" 9 #include "base/shared_memory.h"
10 #include "base/string16.h" 10 #include "base/string16.h"
(...skipping 1368 matching lines...) Expand 10 before | Expand all | Expand 10 after
1379 1379
1380 // External popup menus. 1380 // External popup menus.
1381 IPC_MESSAGE_ROUTED1(ViewMsg_SelectPopupMenuItem, 1381 IPC_MESSAGE_ROUTED1(ViewMsg_SelectPopupMenuItem,
1382 int /* selected index, -1 means no selection */) 1382 int /* selected index, -1 means no selection */)
1383 #endif 1383 #endif
1384 1384
1385 // Sent by the browser as a reply to ViewHostMsg_SwapCompositorFrame. 1385 // Sent by the browser as a reply to ViewHostMsg_SwapCompositorFrame.
1386 IPC_MESSAGE_ROUTED1(ViewMsg_SwapCompositorFrameAck, 1386 IPC_MESSAGE_ROUTED1(ViewMsg_SwapCompositorFrameAck,
1387 cc::CompositorFrameAck /* ack */) 1387 cc::CompositorFrameAck /* ack */)
1388 1388
1389 // Sent from the browser to ask the renderer for a snapshot of the current view.
1390 // The renderer replies with whether the snapshot succeeded and the SkBitmap.
1391 IPC_MESSAGE_ROUTED1(ViewMsg_Snapshot,
1392 gfx::Rect /* src_subrect */)
1393 IPC_MESSAGE_ROUTED2(ViewHostMsg_Snapshot,
1394 bool, /* success */
1395 SkBitmap /* bitmap */)
1396
1397 // ----------------------------------------------------------------------------- 1389 // -----------------------------------------------------------------------------
1398 // Messages sent from the renderer to the browser. 1390 // Messages sent from the renderer to the browser.
1399 1391
1400 // Sent by the renderer when it is creating a new window. The browser creates 1392 // Sent by the renderer when it is creating a new window. The browser creates
1401 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is 1393 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is
1402 // MSG_ROUTING_NONE, the view couldn't be created. 1394 // MSG_ROUTING_NONE, the view couldn't be created.
1403 IPC_SYNC_MESSAGE_CONTROL1_3(ViewHostMsg_CreateWindow, 1395 IPC_SYNC_MESSAGE_CONTROL1_3(ViewHostMsg_CreateWindow,
1404 ViewHostMsg_CreateWindow_Params, 1396 ViewHostMsg_CreateWindow_Params,
1405 int /* route_id */, 1397 int /* route_id */,
1406 int32 /* surface_id */, 1398 int32 /* surface_id */,
(...skipping 967 matching lines...) Expand 10 before | Expand all | Expand 10 after
2374 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters 2366 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters
2375 // for details. 2367 // for details.
2376 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, 2368 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters,
2377 LOGFONT /* font_data */, 2369 LOGFONT /* font_data */,
2378 string16 /* characters */) 2370 string16 /* characters */)
2379 #endif 2371 #endif
2380 2372
2381 // Adding a new message? Stick to the sort order above: first platform 2373 // Adding a new message? Stick to the sort order above: first platform
2382 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 2374 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
2383 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 2375 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/public/browser/render_widget_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698