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

Side by Side Diff: chrome/browser/extensions/tab_helper.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: Created 7 years, 4 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_TAB_HELPER_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_TAB_HELPER_H_
6 #define CHROME_BROWSER_EXTENSIONS_TAB_HELPER_H_ 6 #define CHROME_BROWSER_EXTENSIONS_TAB_HELPER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
161 // content::WebContentsObserver overrides. 161 // content::WebContentsObserver overrides.
162 virtual void RenderViewCreated( 162 virtual void RenderViewCreated(
163 content::RenderViewHost* render_view_host) OVERRIDE; 163 content::RenderViewHost* render_view_host) OVERRIDE;
164 virtual void DidNavigateMainFrame( 164 virtual void DidNavigateMainFrame(
165 const content::LoadCommittedDetails& details, 165 const content::LoadCommittedDetails& details,
166 const content::FrameNavigateParams& params) OVERRIDE; 166 const content::FrameNavigateParams& params) OVERRIDE;
167 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 167 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
168 virtual void DidCloneToNewWebContents( 168 virtual void DidCloneToNewWebContents(
169 content::WebContents* old_web_contents, 169 content::WebContents* old_web_contents,
170 content::WebContents* new_web_contents) OVERRIDE; 170 content::WebContents* new_web_contents) OVERRIDE;
171 virtual void OnMessageAddedToConsole(const base::string16& source,
172 const base::string16& message,
173 const base::string16& stack_trace,
174 int32 line_number,
175 logging::LogSeverity level) OVERRIDE;
171 176
172 // ExtensionFunctionDispatcher::Delegate overrides. 177 // ExtensionFunctionDispatcher::Delegate overrides.
173 virtual extensions::WindowController* GetExtensionWindowController() 178 virtual extensions::WindowController* GetExtensionWindowController()
174 const OVERRIDE; 179 const OVERRIDE;
175 virtual content::WebContents* GetAssociatedWebContents() const OVERRIDE; 180 virtual content::WebContents* GetAssociatedWebContents() const OVERRIDE;
176 181
177 // Message handlers. 182 // Message handlers.
178 void OnDidGetApplicationInfo(int32 page_id, const WebApplicationInfo& info); 183 void OnDidGetApplicationInfo(int32 page_id, const WebApplicationInfo& info);
179 void OnInlineWebstoreInstall(int install_id, 184 void OnInlineWebstoreInstall(int install_id,
180 int return_route_id, 185 int return_route_id,
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
257 262
258 // Vend weak pointers that can be invalidated to stop in-progress loads. 263 // Vend weak pointers that can be invalidated to stop in-progress loads.
259 base::WeakPtrFactory<TabHelper> image_loader_ptr_factory_; 264 base::WeakPtrFactory<TabHelper> image_loader_ptr_factory_;
260 265
261 DISALLOW_COPY_AND_ASSIGN(TabHelper); 266 DISALLOW_COPY_AND_ASSIGN(TabHelper);
262 }; 267 };
263 268
264 } // namespace extensions 269 } // namespace extensions
265 270
266 #endif // CHROME_BROWSER_EXTENSIONS_TAB_HELPER_H_ 271 #endif // CHROME_BROWSER_EXTENSIONS_TAB_HELPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698