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

Side by Side Diff: content/browser/renderer_host/render_view_host_impl.h

Issue 1656603002: Diagnose renderer-side crash with browser-side stack trace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « content/browser/frame_host/render_frame_host_manager.cc ('k') | no next file » | 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 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 const ViewHostMsg_CreateWindow_Params& params, 243 const ViewHostMsg_CreateWindow_Params& params,
244 SessionStorageNamespace* session_storage_namespace); 244 SessionStorageNamespace* session_storage_namespace);
245 245
246 // Creates a new RenderWidget with the given route id. |popup_type| indicates 246 // Creates a new RenderWidget with the given route id. |popup_type| indicates
247 // if this widget is a popup and what kind of popup it is (select, autofill). 247 // if this widget is a popup and what kind of popup it is (select, autofill).
248 void CreateNewWidget(int32_t route_id, blink::WebPopupType popup_type); 248 void CreateNewWidget(int32_t route_id, blink::WebPopupType popup_type);
249 249
250 // Creates a full screen RenderWidget. 250 // Creates a full screen RenderWidget.
251 void CreateNewFullscreenWidget(int32_t route_id); 251 void CreateNewFullscreenWidget(int32_t route_id);
252 252
253 // TODO(creis): Remove after debugging https:/crbug.com/575245.
254 int main_frame_routing_id() const {
255 return main_frame_routing_id_;
256 }
257
253 void set_main_frame_routing_id(int routing_id) { 258 void set_main_frame_routing_id(int routing_id) {
254 main_frame_routing_id_ = routing_id; 259 main_frame_routing_id_ = routing_id;
255 } 260 }
256 261
257 void OnTextSurroundingSelectionResponse(const base::string16& content, 262 void OnTextSurroundingSelectionResponse(const base::string16& content,
258 size_t start_offset, 263 size_t start_offset,
259 size_t end_offset); 264 size_t end_offset);
260 265
261 // Increases the refcounting on this RVH. This is done by the FrameTree on 266 // Increases the refcounting on this RVH. This is done by the FrameTree on
262 // creation of a RenderFrameHost. 267 // creation of a RenderFrameHost.
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
428 bool render_view_ready_on_process_launch_; 433 bool render_view_ready_on_process_launch_;
429 434
430 base::WeakPtrFactory<RenderViewHostImpl> weak_factory_; 435 base::WeakPtrFactory<RenderViewHostImpl> weak_factory_;
431 436
432 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl); 437 DISALLOW_COPY_AND_ASSIGN(RenderViewHostImpl);
433 }; 438 };
434 439
435 } // namespace content 440 } // namespace content
436 441
437 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_ 442 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/render_frame_host_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698