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

Side by Side Diff: chrome/browser/extensions/extension_host.h

Issue 5172009: This adds some plumbing for propagating the reason for a renderer's death (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Final review changes Created 10 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 // Tell the renderer not to draw scrollbars on windows smaller than 107 // Tell the renderer not to draw scrollbars on windows smaller than
108 // |size_limit| in both width and height. 108 // |size_limit| in both width and height.
109 void DisableScrollbarsForSmallWindows(const gfx::Size& size_limit); 109 void DisableScrollbarsForSmallWindows(const gfx::Size& size_limit);
110 110
111 // RenderViewHostDelegate::View implementation. 111 // RenderViewHostDelegate::View implementation.
112 virtual const GURL& GetURL() const { return url_; } 112 virtual const GURL& GetURL() const { return url_; }
113 virtual void RenderViewCreated(RenderViewHost* render_view_host); 113 virtual void RenderViewCreated(RenderViewHost* render_view_host);
114 virtual ViewType::Type GetRenderViewType() const; 114 virtual ViewType::Type GetRenderViewType() const;
115 virtual FileSelect* GetFileSelectDelegate(); 115 virtual FileSelect* GetFileSelectDelegate();
116 virtual int GetBrowserWindowID() const; 116 virtual int GetBrowserWindowID() const;
117 virtual void RenderViewGone(RenderViewHost* render_view_host); 117 virtual void RenderViewGone(RenderViewHost* render_view_host,
118 base::TerminationStatus status,
119 int error_code);
118 virtual void DidNavigate(RenderViewHost* render_view_host, 120 virtual void DidNavigate(RenderViewHost* render_view_host,
119 const ViewHostMsg_FrameNavigate_Params& params); 121 const ViewHostMsg_FrameNavigate_Params& params);
120 virtual void DidStopLoading(); 122 virtual void DidStopLoading();
121 virtual void DocumentAvailableInMainFrame(RenderViewHost* render_view_host); 123 virtual void DocumentAvailableInMainFrame(RenderViewHost* render_view_host);
122 virtual void DocumentOnLoadCompletedInMainFrame( 124 virtual void DocumentOnLoadCompletedInMainFrame(
123 RenderViewHost* render_view_host, 125 RenderViewHost* render_view_host,
124 int32 page_id); 126 int32 page_id);
125 127
126 // RenderViewHostDelegate implementation. 128 // RenderViewHostDelegate implementation.
127 virtual RenderViewHostDelegate::View* GetViewDelegate(); 129 virtual RenderViewHostDelegate::View* GetViewDelegate();
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 // Used to measure how long it's been since the host was created. 279 // Used to measure how long it's been since the host was created.
278 PerfTimer since_created_; 280 PerfTimer since_created_;
279 281
280 // FileSelectHelper, lazily created. 282 // FileSelectHelper, lazily created.
281 scoped_ptr<FileSelectHelper> file_select_helper_; 283 scoped_ptr<FileSelectHelper> file_select_helper_;
282 284
283 DISALLOW_COPY_AND_ASSIGN(ExtensionHost); 285 DISALLOW_COPY_AND_ASSIGN(ExtensionHost);
284 }; 286 };
285 287
286 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_ 288 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_crash_recovery_browsertest.cc ('k') | chrome/browser/extensions/extension_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698