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

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

Issue 305103003: Fix for 'Simple Adblock' extension crashes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: RenderProcessHost can be a mock in unittests Created 6 years, 6 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/memory/shared_memory.h" 8 #include "base/memory/shared_memory.h"
9 #include "base/process/process.h" 9 #include "base/process/process.h"
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 548 matching lines...) Expand 10 before | Expand all | Expand 10 after
559 content::RendererPreferences) 559 content::RendererPreferences)
560 560
561 // This passes a set of webkit preferences down to the renderer. 561 // This passes a set of webkit preferences down to the renderer.
562 IPC_MESSAGE_ROUTED1(ViewMsg_UpdateWebPreferences, 562 IPC_MESSAGE_ROUTED1(ViewMsg_UpdateWebPreferences,
563 WebPreferences) 563 WebPreferences)
564 564
565 // Informs the renderer that the timezone has changed. 565 // Informs the renderer that the timezone has changed.
566 IPC_MESSAGE_CONTROL0(ViewMsg_TimezoneChange) 566 IPC_MESSAGE_CONTROL0(ViewMsg_TimezoneChange)
567 567
568 // Tells the render view to close. 568 // Tells the render view to close.
569 // Expects a Close_ACK message when finished.
569 IPC_MESSAGE_ROUTED0(ViewMsg_Close) 570 IPC_MESSAGE_ROUTED0(ViewMsg_Close)
570 571
571 IPC_STRUCT_BEGIN(ViewMsg_Resize_Params) 572 IPC_STRUCT_BEGIN(ViewMsg_Resize_Params)
572 IPC_STRUCT_MEMBER(blink::WebScreenInfo, screen_info) 573 IPC_STRUCT_MEMBER(blink::WebScreenInfo, screen_info)
573 IPC_STRUCT_MEMBER(gfx::Size, new_size) 574 IPC_STRUCT_MEMBER(gfx::Size, new_size)
574 IPC_STRUCT_MEMBER(gfx::Size, physical_backing_size) 575 IPC_STRUCT_MEMBER(gfx::Size, physical_backing_size)
575 IPC_STRUCT_MEMBER(float, overdraw_bottom_height) 576 IPC_STRUCT_MEMBER(float, overdraw_bottom_height)
576 IPC_STRUCT_MEMBER(gfx::Size, visible_viewport_size) 577 IPC_STRUCT_MEMBER(gfx::Size, visible_viewport_size)
577 IPC_STRUCT_MEMBER(gfx::Rect, resizer_rect) 578 IPC_STRUCT_MEMBER(gfx::Rect, resizer_rect)
578 IPC_STRUCT_MEMBER(bool, is_fullscreen) 579 IPC_STRUCT_MEMBER(bool, is_fullscreen)
(...skipping 519 matching lines...) Expand 10 before | Expand all | Expand 10 after
1098 // coordinates) for the string found. If |final_update| is false, it signals 1099 // coordinates) for the string found. If |final_update| is false, it signals
1099 // that this is not the last Find_Reply message - more will be sent as the 1100 // that this is not the last Find_Reply message - more will be sent as the
1100 // scoping effort continues. 1101 // scoping effort continues.
1101 IPC_MESSAGE_ROUTED5(ViewHostMsg_Find_Reply, 1102 IPC_MESSAGE_ROUTED5(ViewHostMsg_Find_Reply,
1102 int /* request_id */, 1103 int /* request_id */,
1103 int /* number of matches */, 1104 int /* number of matches */,
1104 gfx::Rect /* selection_rect */, 1105 gfx::Rect /* selection_rect */,
1105 int /* active_match_ordinal */, 1106 int /* active_match_ordinal */,
1106 bool /* final_update */) 1107 bool /* final_update */)
1107 1108
1109 // Indicates that the render view has been closed in respose to a
1110 // Close message.
1111 IPC_MESSAGE_CONTROL1(ViewHostMsg_Close_ACK,
1112 int /* old_route_id */);
1113
1108 // Indicates that the current page has been closed, after a ClosePage 1114 // Indicates that the current page has been closed, after a ClosePage
1109 // message. 1115 // message.
1110 IPC_MESSAGE_ROUTED0(ViewHostMsg_ClosePage_ACK) 1116 IPC_MESSAGE_ROUTED0(ViewHostMsg_ClosePage_ACK)
1111 1117
1112 // Notifies the browser that we have session history information. 1118 // Notifies the browser that we have session history information.
1113 // page_id: unique ID that allows us to distinguish between history entries. 1119 // page_id: unique ID that allows us to distinguish between history entries.
1114 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateState, 1120 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateState,
1115 int32 /* page_id */, 1121 int32 /* page_id */,
1116 content::PageState /* state */) 1122 content::PageState /* state */)
1117 1123
(...skipping 615 matching lines...) Expand 10 before | Expand all | Expand 10 after
1733 // synchronously (see crbug.com/120597). This IPC message sends the character 1739 // synchronously (see crbug.com/120597). This IPC message sends the character
1734 // bounds after every composition change to always have correct bound info. 1740 // bounds after every composition change to always have correct bound info.
1735 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, 1741 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged,
1736 gfx::Range /* composition range */, 1742 gfx::Range /* composition range */,
1737 std::vector<gfx::Rect> /* character bounds */) 1743 std::vector<gfx::Rect> /* character bounds */)
1738 #endif 1744 #endif
1739 1745
1740 // Adding a new message? Stick to the sort order above: first platform 1746 // Adding a new message? Stick to the sort order above: first platform
1741 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 1747 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
1742 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 1748 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698