| 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 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 176 virtual void HandleMouseDown(); | 176 virtual void HandleMouseDown(); |
| 177 virtual void HandleMouseLeave(); | 177 virtual void HandleMouseLeave(); |
| 178 virtual void HandleMouseUp(); | 178 virtual void HandleMouseUp(); |
| 179 virtual void HandleMouseActivate(); | 179 virtual void HandleMouseActivate(); |
| 180 virtual void UpdatePreferredSize(const gfx::Size& new_size); | 180 virtual void UpdatePreferredSize(const gfx::Size& new_size); |
| 181 virtual void UpdateInspectorSetting(const std::string& key, | 181 virtual void UpdateInspectorSetting(const std::string& key, |
| 182 const std::string& value); | 182 const std::string& value); |
| 183 virtual void ClearInspectorSettings(); | 183 virtual void ClearInspectorSettings(); |
| 184 | 184 |
| 185 // NotificationObserver | 185 // NotificationObserver |
| 186 virtual void Observe(NotificationType type, | 186 virtual void Observe(int type, |
| 187 const NotificationSource& source, | 187 const NotificationSource& source, |
| 188 const NotificationDetails& details); | 188 const NotificationDetails& details); |
| 189 | 189 |
| 190 // Overridden from content::JavaScriptDialogDelegate: | 190 // Overridden from content::JavaScriptDialogDelegate: |
| 191 virtual void OnDialogClosed(IPC::Message* reply_msg, | 191 virtual void OnDialogClosed(IPC::Message* reply_msg, |
| 192 bool success, | 192 bool success, |
| 193 const string16& user_input) OVERRIDE; | 193 const string16& user_input) OVERRIDE; |
| 194 virtual gfx::NativeWindow GetDialogRootWindow() OVERRIDE; | 194 virtual gfx::NativeWindow GetDialogRootWindow() OVERRIDE; |
| 195 | 195 |
| 196 protected: | 196 protected: |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 285 // Used to measure how long it's been since the host was created. | 285 // Used to measure how long it's been since the host was created. |
| 286 PerfTimer since_created_; | 286 PerfTimer since_created_; |
| 287 | 287 |
| 288 // FileSelectHelper, lazily created. | 288 // FileSelectHelper, lazily created. |
| 289 scoped_ptr<FileSelectHelper> file_select_helper_; | 289 scoped_ptr<FileSelectHelper> file_select_helper_; |
| 290 | 290 |
| 291 DISALLOW_COPY_AND_ASSIGN(ExtensionHost); | 291 DISALLOW_COPY_AND_ASSIGN(ExtensionHost); |
| 292 }; | 292 }; |
| 293 | 293 |
| 294 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_ | 294 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_HOST_H_ |
| OLD | NEW |