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

Side by Side Diff: content/renderer/render_view_impl.h

Issue 8776017: Get additional crash data to narrow down renderer kills. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 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 | Annotate | Revision Log
« no previous file with comments | « content/renderer/render_thread_impl.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_RENDERER_RENDER_VIEW_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <map> 10 #include <map>
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 int32 routing_id, 171 int32 routing_id,
172 int64 session_storage_namespace_id, 172 int64 session_storage_namespace_id,
173 const string16& frame_name); 173 const string16& frame_name);
174 174
175 // Returns the RenderViewImpl containing the given WebView. 175 // Returns the RenderViewImpl containing the given WebView.
176 CONTENT_EXPORT static RenderViewImpl* FromWebView(WebKit::WebView* webview); 176 CONTENT_EXPORT static RenderViewImpl* FromWebView(WebKit::WebView* webview);
177 177
178 // Sets the "next page id" counter. 178 // Sets the "next page id" counter.
179 static void SetNextPageID(int32 next_page_id); 179 static void SetNextPageID(int32 next_page_id);
180 180
181 // TODO(creis): Remove when we no longer need
182 // RenderThreadImpl::OnTempCrashWithData.
183 static int32 next_page_id() {
184 return next_page_id_;
185 }
186
181 // May return NULL when the view is closing. 187 // May return NULL when the view is closing.
182 CONTENT_EXPORT WebKit::WebView* webview() const; 188 CONTENT_EXPORT WebKit::WebView* webview() const;
183 189
184 // Called by a GraphicsContext associated with this view when swapbuffers 190 // Called by a GraphicsContext associated with this view when swapbuffers
185 // is posted, completes or is aborted. 191 // is posted, completes or is aborted.
186 void OnViewContextSwapBuffersPosted(); 192 void OnViewContextSwapBuffersPosted();
187 void OnViewContextSwapBuffersComplete(); 193 void OnViewContextSwapBuffersComplete();
188 void OnViewContextSwapBuffersAborted(); 194 void OnViewContextSwapBuffersAborted();
189 195
190 int history_list_offset() const { return history_list_offset_; } 196 int history_list_offset() const { return history_list_offset_; }
(...skipping 1028 matching lines...) Expand 10 before | Expand all | Expand 10 after
1219 // bunch of stuff, you should probably create a helper class and put your 1225 // bunch of stuff, you should probably create a helper class and put your
1220 // data and methods on that to avoid bloating RenderView more. You can 1226 // data and methods on that to avoid bloating RenderView more. You can
1221 // use the Observer interface to filter IPC messages and receive frame change 1227 // use the Observer interface to filter IPC messages and receive frame change
1222 // notifications. 1228 // notifications.
1223 // --------------------------------------------------------------------------- 1229 // ---------------------------------------------------------------------------
1224 1230
1225 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1231 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1226 }; 1232 };
1227 1233
1228 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1234 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/render_thread_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698