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

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

Issue 663293002: Pass needLocalPath flag to file chooser dialog. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed. Created 6 years, 1 month 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 | « chrome/browser/file_select_helper.cc ('k') | content/public/common/file_chooser_params.h » ('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) 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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 IPC_STRUCT_TRAITS_MEMBER(modification_time) 179 IPC_STRUCT_TRAITS_MEMBER(modification_time)
180 IPC_STRUCT_TRAITS_MEMBER(length) 180 IPC_STRUCT_TRAITS_MEMBER(length)
181 IPC_STRUCT_TRAITS_MEMBER(is_directory) 181 IPC_STRUCT_TRAITS_MEMBER(is_directory)
182 IPC_STRUCT_TRAITS_END() 182 IPC_STRUCT_TRAITS_END()
183 183
184 IPC_STRUCT_TRAITS_BEGIN(content::FileChooserParams) 184 IPC_STRUCT_TRAITS_BEGIN(content::FileChooserParams)
185 IPC_STRUCT_TRAITS_MEMBER(mode) 185 IPC_STRUCT_TRAITS_MEMBER(mode)
186 IPC_STRUCT_TRAITS_MEMBER(title) 186 IPC_STRUCT_TRAITS_MEMBER(title)
187 IPC_STRUCT_TRAITS_MEMBER(default_file_name) 187 IPC_STRUCT_TRAITS_MEMBER(default_file_name)
188 IPC_STRUCT_TRAITS_MEMBER(accept_types) 188 IPC_STRUCT_TRAITS_MEMBER(accept_types)
189 IPC_STRUCT_TRAITS_MEMBER(need_local_path)
189 #if defined(OS_ANDROID) 190 #if defined(OS_ANDROID)
190 IPC_STRUCT_TRAITS_MEMBER(capture) 191 IPC_STRUCT_TRAITS_MEMBER(capture)
191 #endif 192 #endif
192 IPC_STRUCT_TRAITS_END() 193 IPC_STRUCT_TRAITS_END()
193 194
194 #if defined(ENABLE_PLUGINS) 195 #if defined(ENABLE_PLUGINS)
195 IPC_STRUCT_TRAITS_BEGIN(content::PepperRendererInstanceData) 196 IPC_STRUCT_TRAITS_BEGIN(content::PepperRendererInstanceData)
196 IPC_STRUCT_TRAITS_MEMBER(render_process_id) 197 IPC_STRUCT_TRAITS_MEMBER(render_process_id)
197 IPC_STRUCT_TRAITS_MEMBER(render_frame_id) 198 IPC_STRUCT_TRAITS_MEMBER(render_frame_id)
198 IPC_STRUCT_TRAITS_MEMBER(document_url) 199 IPC_STRUCT_TRAITS_MEMBER(document_url)
(...skipping 1446 matching lines...) Expand 10 before | Expand all | Expand 10 after
1645 // Since the browser keeps handles to the allocated transport DIBs, this 1646 // Since the browser keeps handles to the allocated transport DIBs, this
1646 // message is sent to tell the browser that it may release them when the 1647 // message is sent to tell the browser that it may release them when the
1647 // renderer is finished with them. 1648 // renderer is finished with them.
1648 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB, 1649 IPC_MESSAGE_CONTROL1(ViewHostMsg_FreeTransportDIB,
1649 TransportDIB::Id /* DIB id */) 1650 TransportDIB::Id /* DIB id */)
1650 #endif 1651 #endif
1651 1652
1652 // Adding a new message? Stick to the sort order above: first platform 1653 // Adding a new message? Stick to the sort order above: first platform
1653 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 1654 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
1654 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 1655 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW
« no previous file with comments | « chrome/browser/file_select_helper.cc ('k') | content/public/common/file_chooser_params.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698