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

Side by Side Diff: chrome/browser/notifications/balloon_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_NOTIFICATIONS_BALLOON_HOST_H_ 5 #ifndef CHROME_BROWSER_NOTIFICATIONS_BALLOON_HOST_H_
6 #define CHROME_BROWSER_NOTIFICATIONS_BALLOON_HOST_H_ 6 #define CHROME_BROWSER_NOTIFICATIONS_BALLOON_HOST_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 const string16& GetSource() const; 42 const string16& GetSource() const;
43 43
44 // RenderViewHostDelegate overrides. 44 // RenderViewHostDelegate overrides.
45 virtual WebPreferences GetWebkitPrefs(); 45 virtual WebPreferences GetWebkitPrefs();
46 virtual SiteInstance* GetSiteInstance() const; 46 virtual SiteInstance* GetSiteInstance() const;
47 virtual Profile* GetProfile() const; 47 virtual Profile* GetProfile() const;
48 virtual const GURL& GetURL() const; 48 virtual const GURL& GetURL() const;
49 virtual void Close(RenderViewHost* render_view_host); 49 virtual void Close(RenderViewHost* render_view_host);
50 virtual void RenderViewCreated(RenderViewHost* render_view_host); 50 virtual void RenderViewCreated(RenderViewHost* render_view_host);
51 virtual void RenderViewReady(RenderViewHost* render_view_host); 51 virtual void RenderViewReady(RenderViewHost* render_view_host);
52 virtual void RenderViewGone(RenderViewHost* render_view_host); 52 virtual void RenderViewGone(RenderViewHost* render_view_host,
53 base::TerminationStatus status,
54 int error_code);
53 virtual void UpdateTitle(RenderViewHost* render_view_host, 55 virtual void UpdateTitle(RenderViewHost* render_view_host,
54 int32 page_id, const std::wstring& title) {} 56 int32 page_id, const std::wstring& title) {}
55 virtual int GetBrowserWindowID() const; 57 virtual int GetBrowserWindowID() const;
56 virtual ViewType::Type GetRenderViewType() const; 58 virtual ViewType::Type GetRenderViewType() const;
57 virtual RenderViewHostDelegate::View* GetViewDelegate(); 59 virtual RenderViewHostDelegate::View* GetViewDelegate();
58 virtual void ProcessDOMUIMessage(const ViewHostMsg_DomMessage_Params& params); 60 virtual void ProcessDOMUIMessage(const ViewHostMsg_DomMessage_Params& params);
59 61
60 // RenderViewHostDelegate::View methods. Only the ones for opening new 62 // RenderViewHostDelegate::View methods. Only the ones for opening new
61 // windows are currently implemented. 63 // windows are currently implemented.
62 virtual void CreateNewWindow( 64 virtual void CreateNewWindow(
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 150
149 // Handles requests to extension APIs. Will only be non-NULL if we are 151 // Handles requests to extension APIs. Will only be non-NULL if we are
150 // rendering a page from an extension. 152 // rendering a page from an extension.
151 scoped_ptr<ExtensionFunctionDispatcher> extension_function_dispatcher_; 153 scoped_ptr<ExtensionFunctionDispatcher> extension_function_dispatcher_;
152 154
153 // A flag to enable DOM UI. 155 // A flag to enable DOM UI.
154 bool enable_dom_ui_; 156 bool enable_dom_ui_;
155 }; 157 };
156 158
157 #endif // CHROME_BROWSER_NOTIFICATIONS_BALLOON_HOST_H_ 159 #endif // CHROME_BROWSER_NOTIFICATIONS_BALLOON_HOST_H_
OLDNEW
« no previous file with comments | « chrome/browser/nacl_host/nacl_process_host.cc ('k') | chrome/browser/notifications/balloon_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698