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

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

Issue 23007021: Report Javascript Runtime Errors to the Error Console (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@dc_ec_feldman
Patch Set: Joi's Created 7 years, 3 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
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 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 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 142 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
143 virtual void RenderViewCreated( 143 virtual void RenderViewCreated(
144 content::RenderViewHost* render_view_host) OVERRIDE; 144 content::RenderViewHost* render_view_host) OVERRIDE;
145 virtual void RenderViewDeleted( 145 virtual void RenderViewDeleted(
146 content::RenderViewHost* render_view_host) OVERRIDE; 146 content::RenderViewHost* render_view_host) OVERRIDE;
147 virtual void RenderViewReady() OVERRIDE; 147 virtual void RenderViewReady() OVERRIDE;
148 virtual void RenderProcessGone(base::TerminationStatus status) OVERRIDE; 148 virtual void RenderProcessGone(base::TerminationStatus status) OVERRIDE;
149 virtual void DocumentAvailableInMainFrame() OVERRIDE; 149 virtual void DocumentAvailableInMainFrame() OVERRIDE;
150 virtual void DidStopLoading( 150 virtual void DidStopLoading(
151 content::RenderViewHost* render_view_host) OVERRIDE; 151 content::RenderViewHost* render_view_host) OVERRIDE;
152 virtual void OnMessageAddedToConsole(const base::string16& source,
153 const base::string16& message,
154 const base::string16& stack_trace,
155 int32 line_number,
156 logging::LogSeverity level) OVERRIDE;
152 157
153 // content::WebContentsDelegate 158 // content::WebContentsDelegate
154 virtual content::WebContents* OpenURLFromTab( 159 virtual content::WebContents* OpenURLFromTab(
155 content::WebContents* source, 160 content::WebContents* source,
156 const content::OpenURLParams& params) OVERRIDE; 161 const content::OpenURLParams& params) OVERRIDE;
157 virtual bool PreHandleKeyboardEvent( 162 virtual bool PreHandleKeyboardEvent(
158 content::WebContents* source, 163 content::WebContents* source,
159 const content::NativeWebKeyboardEvent& event, 164 const content::NativeWebKeyboardEvent& event,
160 bool* is_keyboard_shortcut) OVERRIDE; 165 bool* is_keyboard_shortcut) OVERRIDE;
161 virtual void HandleKeyboardEvent( 166 virtual void HandleKeyboardEvent(
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 284
280 // Used to measure how long it's been since the host was created. 285 // Used to measure how long it's been since the host was created.
281 PerfTimer since_created_; 286 PerfTimer since_created_;
282 287
283 DISALLOW_COPY_AND_ASSIGN(ExtensionHost); 288 DISALLOW_COPY_AND_ASSIGN(ExtensionHost);
284 }; 289 };
285 290
286 } // namespace extensions 291 } // namespace extensions
287 292
288 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_ 293 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698