Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(311)

Side by Side Diff: chrome/browser/tab_contents/render_view_host_delegate_helper.h

Issue 7606028: Pass per-script fonts to WebKit settings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698