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

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

Issue 636863003: Make SpeechRecognition per RenderFrame instead of per RenderView. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes threading issues Created 6 years 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 interacting with frames. 5 // IPC messages for interacting with frames.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include "content/common/content_export.h" 8 #include "content/common/content_export.h"
9 #include "content/common/content_param_traits.h" 9 #include "content/common/content_param_traits.h"
10 #include "content/common/frame_message_enums.h" 10 #include "content/common/frame_message_enums.h"
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 // User agent override used to navigate. 174 // User agent override used to navigate.
175 IPC_STRUCT_MEMBER(bool, is_overriding_user_agent) 175 IPC_STRUCT_MEMBER(bool, is_overriding_user_agent)
176 176
177 // Notifies the browser that for this navigation, the session history was 177 // Notifies the browser that for this navigation, the session history was
178 // successfully cleared. 178 // successfully cleared.
179 IPC_STRUCT_MEMBER(bool, history_list_was_cleared) 179 IPC_STRUCT_MEMBER(bool, history_list_was_cleared)
180 180
181 // The routing_id of the render view associated with the navigation. 181 // The routing_id of the render view associated with the navigation.
182 // We need to track the RenderViewHost routing_id because of downstream 182 // We need to track the RenderViewHost routing_id because of downstream
183 // dependencies (crbug.com/392171 DownloadRequestHandle, SaveFileManager, 183 // dependencies (crbug.com/392171 DownloadRequestHandle, SaveFileManager,
184 // ResourceDispatcherHostImpl, MediaStreamUIProxy, 184 // ResourceDispatcherHostImpl, MediaStreamUIProxy, and possibly others). They
185 // SpeechRecognitionDispatcherHost and possibly others). They look up the view 185 // look up the view based on the ID stored in the resource requests. Once
186 // based on the ID stored in the resource requests. Once those dependencies 186 // those dependencies are unwound or moved to RenderFrameHost
187 // are unwound or moved to RenderFrameHost (crbug.com/304341) we can move the 187 // (crbug.com/304341) we can move the client to be based on the routing_id of
188 // client to be based on the routing_id of the RenderFrameHost. 188 // the RenderFrameHost.
189 IPC_STRUCT_MEMBER(int, render_view_routing_id) 189 IPC_STRUCT_MEMBER(int, render_view_routing_id)
190 IPC_STRUCT_END() 190 IPC_STRUCT_END()
191 191
192 IPC_STRUCT_TRAITS_BEGIN(content::CommonNavigationParams) 192 IPC_STRUCT_TRAITS_BEGIN(content::CommonNavigationParams)
193 IPC_STRUCT_TRAITS_MEMBER(url) 193 IPC_STRUCT_TRAITS_MEMBER(url)
194 IPC_STRUCT_TRAITS_MEMBER(referrer) 194 IPC_STRUCT_TRAITS_MEMBER(referrer)
195 IPC_STRUCT_TRAITS_MEMBER(transition) 195 IPC_STRUCT_TRAITS_MEMBER(transition)
196 IPC_STRUCT_TRAITS_MEMBER(navigation_type) 196 IPC_STRUCT_TRAITS_MEMBER(navigation_type)
197 IPC_STRUCT_TRAITS_MEMBER(allow_download) 197 IPC_STRUCT_TRAITS_MEMBER(allow_download)
198 IPC_STRUCT_TRAITS_END() 198 IPC_STRUCT_TRAITS_END()
(...skipping 593 matching lines...) Expand 10 before | Expand all | Expand 10 after
792 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) 792 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint)
793 793
794 #if defined(OS_MACOSX) || defined(OS_ANDROID) 794 #if defined(OS_MACOSX) || defined(OS_ANDROID)
795 795
796 // Message to show/hide a popup menu using native controls. 796 // Message to show/hide a popup menu using native controls.
797 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, 797 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup,
798 FrameHostMsg_ShowPopup_Params) 798 FrameHostMsg_ShowPopup_Params)
799 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) 799 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup)
800 800
801 #endif 801 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698