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

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: review comments 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 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 // User agent override used to navigate. 176 // User agent override used to navigate.
177 IPC_STRUCT_MEMBER(bool, is_overriding_user_agent) 177 IPC_STRUCT_MEMBER(bool, is_overriding_user_agent)
178 178
179 // Notifies the browser that for this navigation, the session history was 179 // Notifies the browser that for this navigation, the session history was
180 // successfully cleared. 180 // successfully cleared.
181 IPC_STRUCT_MEMBER(bool, history_list_was_cleared) 181 IPC_STRUCT_MEMBER(bool, history_list_was_cleared)
182 182
183 // The routing_id of the render view associated with the navigation. 183 // The routing_id of the render view associated with the navigation.
184 // We need to track the RenderViewHost routing_id because of downstream 184 // We need to track the RenderViewHost routing_id because of downstream
185 // dependencies (crbug.com/392171 DownloadRequestHandle, SaveFileManager, 185 // dependencies (crbug.com/392171 DownloadRequestHandle, SaveFileManager,
186 // ResourceDispatcherHostImpl, MediaStreamUIProxy, 186 // ResourceDispatcherHostImpl, MediaStreamUIProxy, and possibly others). They
187 // SpeechRecognitionDispatcherHost and possibly others). They look up the view 187 // look up the view based on the ID stored in the resource requests. Once
188 // based on the ID stored in the resource requests. Once those dependencies 188 // those dependencies are unwound or moved to RenderFrameHost
189 // are unwound or moved to RenderFrameHost (crbug.com/304341) we can move the 189 // (crbug.com/304341) we can move the client to be based on the routing_id of
190 // client to be based on the routing_id of the RenderFrameHost. 190 // the RenderFrameHost.
191 IPC_STRUCT_MEMBER(int, render_view_routing_id) 191 IPC_STRUCT_MEMBER(int, render_view_routing_id)
192 192
193 // Origin of the frame. This will be replicated to any associated 193 // Origin of the frame. This will be replicated to any associated
194 // RenderFrameProxies. 194 // RenderFrameProxies.
195 IPC_STRUCT_MEMBER(url::Origin, origin) 195 IPC_STRUCT_MEMBER(url::Origin, origin)
196 IPC_STRUCT_END() 196 IPC_STRUCT_END()
197 197
198 IPC_STRUCT_TRAITS_BEGIN(content::CommonNavigationParams) 198 IPC_STRUCT_TRAITS_BEGIN(content::CommonNavigationParams)
199 IPC_STRUCT_TRAITS_MEMBER(url) 199 IPC_STRUCT_TRAITS_MEMBER(url)
200 IPC_STRUCT_TRAITS_MEMBER(referrer) 200 IPC_STRUCT_TRAITS_MEMBER(referrer)
(...skipping 603 matching lines...) Expand 10 before | Expand all | Expand 10 after
804 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) 804 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint)
805 805
806 #if defined(OS_MACOSX) || defined(OS_ANDROID) 806 #if defined(OS_MACOSX) || defined(OS_ANDROID)
807 807
808 // Message to show/hide a popup menu using native controls. 808 // Message to show/hide a popup menu using native controls.
809 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, 809 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup,
810 FrameHostMsg_ShowPopup_Params) 810 FrameHostMsg_ShowPopup_Params)
811 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) 811 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup)
812 812
813 #endif 813 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698