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

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

Issue 1001153002: Store the callstack of the IPC sender of ViewMsg_New (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
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 497 matching lines...) Expand 10 before | Expand all | Expand 10 after
508 IPC_STRUCT_MEMBER(ViewMsg_Resize_Params, initial_size) 508 IPC_STRUCT_MEMBER(ViewMsg_Resize_Params, initial_size)
509 509
510 // Whether to enable auto-resize. 510 // Whether to enable auto-resize.
511 IPC_STRUCT_MEMBER(bool, enable_auto_resize) 511 IPC_STRUCT_MEMBER(bool, enable_auto_resize)
512 512
513 // The minimum size to layout the page if auto-resize is enabled. 513 // The minimum size to layout the page if auto-resize is enabled.
514 IPC_STRUCT_MEMBER(gfx::Size, min_size) 514 IPC_STRUCT_MEMBER(gfx::Size, min_size)
515 515
516 // The maximum size to layout the page if auto-resize is enabled. 516 // The maximum size to layout the page if auto-resize is enabled.
517 IPC_STRUCT_MEMBER(gfx::Size, max_size) 517 IPC_STRUCT_MEMBER(gfx::Size, max_size)
518
519 // Stores the callstack of the sender. Temporary only to help debug
520 // http://crbug.com/464633.
521 IPC_STRUCT_MEMBER(std::vector<unsigned long>, debug_info)
518 IPC_STRUCT_END() 522 IPC_STRUCT_END()
519 523
520 IPC_STRUCT_BEGIN(ViewMsg_PostMessage_Params) 524 IPC_STRUCT_BEGIN(ViewMsg_PostMessage_Params)
521 // Whether the data format is supplied as serialized script value, or as 525 // Whether the data format is supplied as serialized script value, or as
522 // a simple string. If it is a raw string, must be converted from string to a 526 // a simple string. If it is a raw string, must be converted from string to a
523 // WebSerializedScriptValue in renderer. 527 // WebSerializedScriptValue in renderer.
524 IPC_STRUCT_MEMBER(bool, is_data_raw_string) 528 IPC_STRUCT_MEMBER(bool, is_data_raw_string)
525 // The serialized script value. 529 // The serialized script value.
526 IPC_STRUCT_MEMBER(base::string16, data) 530 IPC_STRUCT_MEMBER(base::string16, data)
527 // When sent to the browser, this is the routing ID of the source frame in 531 // When sent to the browser, this is the routing ID of the source frame in
(...skipping 1129 matching lines...) Expand 10 before | Expand all | Expand 10 after
1657 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters 1661 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters
1658 // for details. 1662 // for details.
1659 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, 1663 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters,
1660 LOGFONT /* font_data */, 1664 LOGFONT /* font_data */,
1661 base::string16 /* characters */) 1665 base::string16 /* characters */)
1662 #endif 1666 #endif
1663 1667
1664 // Adding a new message? Stick to the sort order above: first platform 1668 // Adding a new message? Stick to the sort order above: first platform
1665 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 1669 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
1666 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 1670 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698