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

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

Issue 10805051: Add RenderViewHost* to DidStartLoading and DidStopLoading in (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 5 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 | Annotate | Revision Log
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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 131
132 // content::WebContentsObserver 132 // content::WebContentsObserver
133 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 133 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
134 virtual void RenderViewCreated( 134 virtual void RenderViewCreated(
135 content::RenderViewHost* render_view_host) OVERRIDE; 135 content::RenderViewHost* render_view_host) OVERRIDE;
136 virtual void RenderViewDeleted( 136 virtual void RenderViewDeleted(
137 content::RenderViewHost* render_view_host) OVERRIDE; 137 content::RenderViewHost* render_view_host) OVERRIDE;
138 virtual void RenderViewReady() OVERRIDE; 138 virtual void RenderViewReady() OVERRIDE;
139 virtual void RenderViewGone(base::TerminationStatus status) OVERRIDE; 139 virtual void RenderViewGone(base::TerminationStatus status) OVERRIDE;
140 virtual void DocumentAvailableInMainFrame() OVERRIDE; 140 virtual void DocumentAvailableInMainFrame() OVERRIDE;
141 virtual void DidStopLoading() OVERRIDE; 141 virtual void DidStopLoading(
142 content::RenderViewHost* render_view_host) OVERRIDE;
142 143
143 // content::WebContentsDelegate 144 // content::WebContentsDelegate
144 virtual content::WebContents* OpenURLFromTab( 145 virtual content::WebContents* OpenURLFromTab(
145 content::WebContents* source, 146 content::WebContents* source,
146 const content::OpenURLParams& params) OVERRIDE; 147 const content::OpenURLParams& params) OVERRIDE;
147 virtual bool PreHandleKeyboardEvent( 148 virtual bool PreHandleKeyboardEvent(
148 const content::NativeWebKeyboardEvent& event, 149 const content::NativeWebKeyboardEvent& event,
149 bool* is_keyboard_shortcut) OVERRIDE; 150 bool* is_keyboard_shortcut) OVERRIDE;
150 virtual void HandleKeyboardEvent( 151 virtual void HandleKeyboardEvent(
151 const content::NativeWebKeyboardEvent& event) OVERRIDE; 152 const content::NativeWebKeyboardEvent& event) OVERRIDE;
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 // The relevant WebContents associated with this ExtensionHost, if any. 250 // The relevant WebContents associated with this ExtensionHost, if any.
250 content::WebContents* associated_web_contents_; 251 content::WebContents* associated_web_contents_;
251 252
252 // Used to measure how long it's been since the host was created. 253 // Used to measure how long it's been since the host was created.
253 PerfTimer since_created_; 254 PerfTimer since_created_;
254 255
255 DISALLOW_COPY_AND_ASSIGN(ExtensionHost); 256 DISALLOW_COPY_AND_ASSIGN(ExtensionHost);
256 }; 257 };
257 258
258 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_ 259 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_
OLDNEW
« no previous file with comments | « chrome/browser/captive_portal/captive_portal_tab_helper_unittest.cc ('k') | chrome/browser/extensions/extension_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698