| OLD | NEW |
| 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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 136 void WillRunJavaScriptDialog(); | 136 void WillRunJavaScriptDialog(); |
| 137 void DidCloseJavaScriptDialog(); | 137 void DidCloseJavaScriptDialog(); |
| 138 | 138 |
| 139 // content::WebContentsObserver | 139 // content::WebContentsObserver |
| 140 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; | 140 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; |
| 141 virtual void RenderViewCreated( | 141 virtual void RenderViewCreated( |
| 142 content::RenderViewHost* render_view_host) OVERRIDE; | 142 content::RenderViewHost* render_view_host) OVERRIDE; |
| 143 virtual void RenderViewDeleted( | 143 virtual void RenderViewDeleted( |
| 144 content::RenderViewHost* render_view_host) OVERRIDE; | 144 content::RenderViewHost* render_view_host) OVERRIDE; |
| 145 virtual void RenderViewReady() OVERRIDE; | 145 virtual void RenderViewReady() OVERRIDE; |
| 146 virtual void RenderViewGone(base::TerminationStatus status) OVERRIDE; | 146 virtual void RenderProcessGone(base::TerminationStatus status) OVERRIDE; |
| 147 virtual void DocumentAvailableInMainFrame() OVERRIDE; | 147 virtual void DocumentAvailableInMainFrame() OVERRIDE; |
| 148 virtual void DidStopLoading( | 148 virtual void DidStopLoading( |
| 149 content::RenderViewHost* render_view_host) OVERRIDE; | 149 content::RenderViewHost* render_view_host) OVERRIDE; |
| 150 | 150 |
| 151 // content::WebContentsDelegate | 151 // content::WebContentsDelegate |
| 152 virtual content::WebContents* OpenURLFromTab( | 152 virtual content::WebContents* OpenURLFromTab( |
| 153 content::WebContents* source, | 153 content::WebContents* source, |
| 154 const content::OpenURLParams& params) OVERRIDE; | 154 const content::OpenURLParams& params) OVERRIDE; |
| 155 virtual bool PreHandleKeyboardEvent( | 155 virtual bool PreHandleKeyboardEvent( |
| 156 content::WebContents* source, | 156 content::WebContents* source, |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 263 | 263 |
| 264 // Used to measure how long it's been since the host was created. | 264 // Used to measure how long it's been since the host was created. |
| 265 PerfTimer since_created_; | 265 PerfTimer since_created_; |
| 266 | 266 |
| 267 DISALLOW_COPY_AND_ASSIGN(ExtensionHost); | 267 DISALLOW_COPY_AND_ASSIGN(ExtensionHost); |
| 268 }; | 268 }; |
| 269 | 269 |
| 270 } // namespace extensions | 270 } // namespace extensions |
| 271 | 271 |
| 272 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_ | 272 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_ |
| OLD | NEW |