Chromium Code Reviews| 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_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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 | 10 |
| (...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 129 bool is_web_ui); | 129 bool is_web_ui); |
| 130 | 130 |
| 131 static void UpdateInspectorSetting(content::BrowserContext* browser_context, | 131 static void UpdateInspectorSetting(content::BrowserContext* browser_context, |
| 132 const std::string& key, | 132 const std::string& key, |
| 133 const std::string& value); | 133 const std::string& value); |
| 134 static void ClearInspectorSettings(content::BrowserContext* browser_context); | 134 static void ClearInspectorSettings(content::BrowserContext* browser_context); |
| 135 | 135 |
| 136 private: | 136 private: |
| 137 RenderViewHostDelegateHelper(); | 137 RenderViewHostDelegateHelper(); |
| 138 | 138 |
| 139 static void FillFontFamilyMap(const base::DictionaryValue* from, | |
| 140 WebPreferences::ScriptFontFamilyMap& to); | |
|
tony
2011/08/10 19:23:40
Chromium style is to have out parameters be pointe
| |
| 141 | |
| 139 DISALLOW_COPY_AND_ASSIGN(RenderViewHostDelegateHelper); | 142 DISALLOW_COPY_AND_ASSIGN(RenderViewHostDelegateHelper); |
| 140 }; | 143 }; |
| 141 | 144 |
| 142 #endif // CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_HOST_DELEGATE_HELPER_H_ | 145 #endif // CHROME_BROWSER_TAB_CONTENTS_RENDER_VIEW_HOST_DELEGATE_HELPER_H_ |
| OLD | NEW |