OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 virtual RenderViewHostDelegate::View* GetViewDelegate() OVERRIDE; | 130 virtual RenderViewHostDelegate::View* GetViewDelegate() OVERRIDE; |
131 virtual WebPreferences GetWebkitPrefs() OVERRIDE; | 131 virtual WebPreferences GetWebkitPrefs() OVERRIDE; |
132 virtual void RunJavaScriptMessage(const RenderViewHost* rvh, | 132 virtual void RunJavaScriptMessage(const RenderViewHost* rvh, |
133 const string16& message, | 133 const string16& message, |
134 const string16& default_prompt, | 134 const string16& default_prompt, |
135 const GURL& frame_url, | 135 const GURL& frame_url, |
136 const int flags, | 136 const int flags, |
137 IPC::Message* reply_msg, | 137 IPC::Message* reply_msg, |
138 bool* did_suppress_message) OVERRIDE; | 138 bool* did_suppress_message) OVERRIDE; |
139 virtual void Close(RenderViewHost* render_view_host) OVERRIDE; | 139 virtual void Close(RenderViewHost* render_view_host) OVERRIDE; |
140 virtual RendererPreferences GetRendererPrefs(Profile* profile) const OVERRIDE; | 140 virtual RendererPreferences GetRendererPrefs( |
| 141 content::BrowserContext* browser_context) const OVERRIDE; |
141 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, | 142 virtual bool PreHandleKeyboardEvent(const NativeWebKeyboardEvent& event, |
142 bool* is_keyboard_shortcut) OVERRIDE; | 143 bool* is_keyboard_shortcut) OVERRIDE; |
143 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) | 144 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) |
144 OVERRIDE; | 145 OVERRIDE; |
145 virtual void HandleMouseMove() OVERRIDE; | 146 virtual void HandleMouseMove() OVERRIDE; |
146 virtual void HandleMouseDown() OVERRIDE; | 147 virtual void HandleMouseDown() OVERRIDE; |
147 virtual void HandleMouseLeave() OVERRIDE; | 148 virtual void HandleMouseLeave() OVERRIDE; |
148 virtual void HandleMouseUp() OVERRIDE; | 149 virtual void HandleMouseUp() OVERRIDE; |
149 virtual void HandleMouseActivate() OVERRIDE; | 150 virtual void HandleMouseActivate() OVERRIDE; |
150 | 151 |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
280 // Used to measure how long it's been since the host was created. | 281 // Used to measure how long it's been since the host was created. |
281 PerfTimer since_created_; | 282 PerfTimer since_created_; |
282 | 283 |
283 // FileSelectHelper, lazily created. | 284 // FileSelectHelper, lazily created. |
284 scoped_ptr<FileSelectHelper> file_select_helper_; | 285 scoped_ptr<FileSelectHelper> file_select_helper_; |
285 | 286 |
286 DISALLOW_COPY_AND_ASSIGN(ExtensionHost); | 287 DISALLOW_COPY_AND_ASSIGN(ExtensionHost); |
287 }; | 288 }; |
288 | 289 |
289 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_ | 290 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_ |
OLD | NEW |