| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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_TAB_CONTENTS_RENDER_VIEW_HOST_DELEGATE_HELPER_H_ | 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_HOST_DELEGATE_HELPER_H_ |
| 6 #define CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_HOST_DELEGATE_HELPER_H_ | 6 #define CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_HOST_DELEGATE_HELPER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 | 9 |
| 10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 PendingWidgetViews pending_widget_views_; | 53 PendingWidgetViews pending_widget_views_; |
| 54 | 54 |
| 55 DISALLOW_COPY_AND_ASSIGN(RenderViewHostDelegateViewHelper); | 55 DISALLOW_COPY_AND_ASSIGN(RenderViewHostDelegateViewHelper); |
| 56 }; | 56 }; |
| 57 | 57 |
| 58 | 58 |
| 59 // Provides helper methods that provide common implementations of some | 59 // Provides helper methods that provide common implementations of some |
| 60 // RenderViewHostDelegate methods. | 60 // RenderViewHostDelegate methods. |
| 61 class RenderViewHostDelegateHelper { | 61 class RenderViewHostDelegateHelper { |
| 62 public: | 62 public: |
| 63 static WebPreferences GetWebkitPrefs(PrefService* prefs, bool is_dom_ui); | 63 static WebPreferences GetWebkitPrefs(Profile* profile, bool is_dom_ui); |
| 64 | 64 |
| 65 private: | 65 private: |
| 66 RenderViewHostDelegateHelper(); | 66 RenderViewHostDelegateHelper(); |
| 67 | 67 |
| 68 DISALLOW_COPY_AND_ASSIGN(RenderViewHostDelegateHelper); | 68 DISALLOW_COPY_AND_ASSIGN(RenderViewHostDelegateHelper); |
| 69 }; | 69 }; |
| 70 | 70 |
| 71 #endif // CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_HOST_DELEGATE_HELPER_H_ | 71 #endif // CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_HOST_DELEGATE_HELPER_H_ |
| OLD | NEW |