| 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 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 content::WebContents* source, | 148 content::WebContents* source, |
| 149 const content::NativeWebKeyboardEvent& event, | 149 const content::NativeWebKeyboardEvent& event, |
| 150 bool* is_keyboard_shortcut) OVERRIDE; | 150 bool* is_keyboard_shortcut) OVERRIDE; |
| 151 virtual void HandleKeyboardEvent( | 151 virtual void HandleKeyboardEvent( |
| 152 content::WebContents* source, | 152 content::WebContents* source, |
| 153 const content::NativeWebKeyboardEvent& event) OVERRIDE; | 153 const content::NativeWebKeyboardEvent& event) OVERRIDE; |
| 154 virtual void ResizeDueToAutoResize(content::WebContents* source, | 154 virtual void ResizeDueToAutoResize(content::WebContents* source, |
| 155 const gfx::Size& new_size) OVERRIDE; | 155 const gfx::Size& new_size) OVERRIDE; |
| 156 virtual content::JavaScriptDialogManager* | 156 virtual content::JavaScriptDialogManager* |
| 157 GetJavaScriptDialogManager() OVERRIDE; | 157 GetJavaScriptDialogManager() OVERRIDE; |
| 158 virtual content::ColorChooser* OpenColorChooser( |
| 159 content::WebContents* web_contents, SkColor color) OVERRIDE; |
| 158 virtual void RunFileChooser( | 160 virtual void RunFileChooser( |
| 159 content::WebContents* tab, | 161 content::WebContents* tab, |
| 160 const content::FileChooserParams& params) OVERRIDE; | 162 const content::FileChooserParams& params) OVERRIDE; |
| 161 virtual void AddNewContents(content::WebContents* source, | 163 virtual void AddNewContents(content::WebContents* source, |
| 162 content::WebContents* new_contents, | 164 content::WebContents* new_contents, |
| 163 WindowOpenDisposition disposition, | 165 WindowOpenDisposition disposition, |
| 164 const gfx::Rect& initial_pos, | 166 const gfx::Rect& initial_pos, |
| 165 bool user_gesture, | 167 bool user_gesture, |
| 166 bool* was_blocked) OVERRIDE; | 168 bool* was_blocked) OVERRIDE; |
| 167 virtual void CloseContents(content::WebContents* contents) OVERRIDE; | 169 virtual void CloseContents(content::WebContents* contents) OVERRIDE; |
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 253 | 255 |
| 254 // Used to measure how long it's been since the host was created. | 256 // Used to measure how long it's been since the host was created. |
| 255 PerfTimer since_created_; | 257 PerfTimer since_created_; |
| 256 | 258 |
| 257 DISALLOW_COPY_AND_ASSIGN(ExtensionHost); | 259 DISALLOW_COPY_AND_ASSIGN(ExtensionHost); |
| 258 }; | 260 }; |
| 259 | 261 |
| 260 } // namespace extensions | 262 } // namespace extensions |
| 261 | 263 |
| 262 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_ | 264 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_ |
| OLD | NEW |