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

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

Issue 660349: First cut at custom user style sheets. (Closed)
Patch Set: compile Created 10 years, 9 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
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/profile.cc ('k') | chrome/browser/tab_contents/render_view_host_delegate_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698