OLD | NEW |
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2009 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_VIEW_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_VIEW_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_VIEW_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_VIEW_H_ |
7 | 7 |
8 #include "chrome/browser/renderer_host/render_view_host_delegate.h" | 8 #include "chrome/browser/renderer_host/render_view_host_delegate.h" |
9 | 9 |
10 // TODO(port): Port these files. | 10 // TODO(port): Port these files. |
(...skipping 17 matching lines...) Expand all Loading... |
28 | 28 |
29 // HWNDHtmlView | 29 // HWNDHtmlView |
30 virtual void CreatingRenderer(); | 30 virtual void CreatingRenderer(); |
31 | 31 |
32 // RenderViewHostDelegate | 32 // RenderViewHostDelegate |
33 virtual Profile* GetProfile() const { return profile_; } | 33 virtual Profile* GetProfile() const { return profile_; } |
34 virtual WebPreferences GetWebkitPrefs(); | 34 virtual WebPreferences GetWebkitPrefs(); |
35 virtual void RunJavaScriptMessage( | 35 virtual void RunJavaScriptMessage( |
36 const std::wstring& message, | 36 const std::wstring& message, |
37 const std::wstring& default_prompt, | 37 const std::wstring& default_prompt, |
| 38 const GURL& frame_url, |
38 const int flags, | 39 const int flags, |
39 IPC::Message* reply_msg, | 40 IPC::Message* reply_msg, |
40 bool* did_suppress_message); | 41 bool* did_suppress_message); |
41 | 42 |
42 private: | 43 private: |
43 Profile* profile_; | 44 Profile* profile_; |
44 }; | 45 }; |
45 | 46 |
46 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_VIEW_H_ | 47 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_VIEW_H_ |
OLD | NEW |