Chromium Code Reviews

Unified Diff: chrome/browser/tab_contents/tab_contents_view.h

Issue 155787: Make Linux pass users' font settings through to renderer. (Closed)
Patch Set: remove unneeded include Created 11 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: chrome/browser/tab_contents/tab_contents_view.h
diff --git a/chrome/browser/tab_contents/tab_contents_view.h b/chrome/browser/tab_contents/tab_contents_view.h
index b8e949b5279be2f7c47f1b8eede9d0c0dfad1281..abb7cf3fa1cf140db07381fde5c4212516e96fa4 100644
--- a/chrome/browser/tab_contents/tab_contents_view.h
+++ b/chrome/browser/tab_contents/tab_contents_view.h
@@ -65,6 +65,9 @@ class TabContentsView : public RenderViewHostDelegate::View {
// dialog boxes.
virtual gfx::NativeWindow GetTopLevelNativeWindow() const = 0;
+ // Initialize the passed-in renderer preferences.
+ virtual void InitRendererPrefs(RendererPreferences* prefs) {}
+
// Computes the rectangle for the native widget that contains the contents of
// the tab relative to its parent.
virtual void GetContainerBounds(gfx::Rect *out) const = 0;
« no previous file with comments | « chrome/browser/tab_contents/tab_contents_delegate.h ('k') | chrome/browser/tab_contents/tab_contents_view_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine