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

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

Issue 892953002: Show icons for custom menuitems in contextmenu. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 IPC_STRUCT_TRAITS_MEMBER(depthPerComponent) 144 IPC_STRUCT_TRAITS_MEMBER(depthPerComponent)
145 IPC_STRUCT_TRAITS_MEMBER(isMonochrome) 145 IPC_STRUCT_TRAITS_MEMBER(isMonochrome)
146 IPC_STRUCT_TRAITS_MEMBER(rect) 146 IPC_STRUCT_TRAITS_MEMBER(rect)
147 IPC_STRUCT_TRAITS_MEMBER(availableRect) 147 IPC_STRUCT_TRAITS_MEMBER(availableRect)
148 IPC_STRUCT_TRAITS_MEMBER(orientationType) 148 IPC_STRUCT_TRAITS_MEMBER(orientationType)
149 IPC_STRUCT_TRAITS_MEMBER(orientationAngle) 149 IPC_STRUCT_TRAITS_MEMBER(orientationAngle)
150 IPC_STRUCT_TRAITS_END() 150 IPC_STRUCT_TRAITS_END()
151 151
152 IPC_STRUCT_TRAITS_BEGIN(content::MenuItem) 152 IPC_STRUCT_TRAITS_BEGIN(content::MenuItem)
153 IPC_STRUCT_TRAITS_MEMBER(label) 153 IPC_STRUCT_TRAITS_MEMBER(label)
154 IPC_STRUCT_TRAITS_MEMBER(icon)
154 IPC_STRUCT_TRAITS_MEMBER(tool_tip) 155 IPC_STRUCT_TRAITS_MEMBER(tool_tip)
155 IPC_STRUCT_TRAITS_MEMBER(type) 156 IPC_STRUCT_TRAITS_MEMBER(type)
156 IPC_STRUCT_TRAITS_MEMBER(action) 157 IPC_STRUCT_TRAITS_MEMBER(action)
157 IPC_STRUCT_TRAITS_MEMBER(rtl) 158 IPC_STRUCT_TRAITS_MEMBER(rtl)
158 IPC_STRUCT_TRAITS_MEMBER(has_directional_override) 159 IPC_STRUCT_TRAITS_MEMBER(has_directional_override)
159 IPC_STRUCT_TRAITS_MEMBER(enabled) 160 IPC_STRUCT_TRAITS_MEMBER(enabled)
160 IPC_STRUCT_TRAITS_MEMBER(checked) 161 IPC_STRUCT_TRAITS_MEMBER(checked)
161 IPC_STRUCT_TRAITS_MEMBER(submenu) 162 IPC_STRUCT_TRAITS_MEMBER(submenu)
162 IPC_STRUCT_TRAITS_END() 163 IPC_STRUCT_TRAITS_END()
163 164
(...skipping 1485 matching lines...) Expand 10 before | Expand all | Expand 10 after
1649 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters 1650 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters
1650 // for details. 1651 // for details.
1651 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, 1652 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters,
1652 LOGFONT /* font_data */, 1653 LOGFONT /* font_data */,
1653 base::string16 /* characters */) 1654 base::string16 /* characters */)
1654 #endif 1655 #endif
1655 1656
1656 // Adding a new message? Stick to the sort order above: first platform 1657 // Adding a new message? Stick to the sort order above: first platform
1657 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 1658 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
1658 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 1659 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698