| 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 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 RenderProcessGone(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 virtual void OnMessageAddedToConsole(const base::string16& source, |
| 151 const base::string16& message, |
| 152 const base::string16& stack_trace, |
| 153 int32 line_number, |
| 154 logging::LogSeverity level) OVERRIDE; |
| 150 | 155 |
| 151 // content::WebContentsDelegate | 156 // content::WebContentsDelegate |
| 152 virtual content::WebContents* OpenURLFromTab( | 157 virtual content::WebContents* OpenURLFromTab( |
| 153 content::WebContents* source, | 158 content::WebContents* source, |
| 154 const content::OpenURLParams& params) OVERRIDE; | 159 const content::OpenURLParams& params) OVERRIDE; |
| 155 virtual bool PreHandleKeyboardEvent( | 160 virtual bool PreHandleKeyboardEvent( |
| 156 content::WebContents* source, | 161 content::WebContents* source, |
| 157 const content::NativeWebKeyboardEvent& event, | 162 const content::NativeWebKeyboardEvent& event, |
| 158 bool* is_keyboard_shortcut) OVERRIDE; | 163 bool* is_keyboard_shortcut) OVERRIDE; |
| 159 virtual void HandleKeyboardEvent( | 164 virtual void HandleKeyboardEvent( |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 263 | 268 |
| 264 // Used to measure how long it's been since the host was created. | 269 // Used to measure how long it's been since the host was created. |
| 265 PerfTimer since_created_; | 270 PerfTimer since_created_; |
| 266 | 271 |
| 267 DISALLOW_COPY_AND_ASSIGN(ExtensionHost); | 272 DISALLOW_COPY_AND_ASSIGN(ExtensionHost); |
| 268 }; | 273 }; |
| 269 | 274 |
| 270 } // namespace extensions | 275 } // namespace extensions |
| 271 | 276 |
| 272 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_ | 277 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_ |
| OLD | NEW |