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

Side by Side Diff: chrome/renderer/render_view.cc

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. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/common/renderer_preferences.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "chrome/renderer/render_view.h" 5 #include "chrome/renderer/render_view.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 2606 matching lines...) Expand 10 before | Expand all | Expand 10 after
2617 2617
2618 main_frame->SetInViewSourceMode(true); 2618 main_frame->SetInViewSourceMode(true);
2619 } 2619 }
2620 2620
2621 void RenderView::OnEnableIntrinsicWidthChangedMode() { 2621 void RenderView::OnEnableIntrinsicWidthChangedMode() {
2622 send_preferred_width_changes_ = true; 2622 send_preferred_width_changes_ = true;
2623 } 2623 }
2624 2624
2625 void RenderView::OnSetRendererPrefs(const RendererPreferences& renderer_prefs) { 2625 void RenderView::OnSetRendererPrefs(const RendererPreferences& renderer_prefs) {
2626 renderer_preferences_ = renderer_prefs; 2626 renderer_preferences_ = renderer_prefs;
2627
2628 // TODO(derat): Pass |renderer_preferences_.should_antialias_text|, |hinting|,
2629 // and |subpixel_rendering| through to Skia.
2627 } 2630 }
2628 2631
2629 void RenderView::OnUpdateBackForwardListCount(int back_list_count, 2632 void RenderView::OnUpdateBackForwardListCount(int back_list_count,
2630 int forward_list_count) { 2633 int forward_list_count) {
2631 history_back_list_count_ = back_list_count; 2634 history_back_list_count_ = back_list_count;
2632 history_forward_list_count_ = forward_list_count; 2635 history_forward_list_count_ = forward_list_count;
2633 } 2636 }
2634 2637
2635 void RenderView::OnGetAccessibilityInfo( 2638 void RenderView::OnGetAccessibilityInfo(
2636 const webkit_glue::WebAccessibility::InParams& in_params, 2639 const webkit_glue::WebAccessibility::InParams& in_params,
(...skipping 421 matching lines...) Expand 10 before | Expand all | Expand 10 after
3058 Send(new ViewHostMsg_PasswordFormsSeen(routing_id_, password_forms)); 3061 Send(new ViewHostMsg_PasswordFormsSeen(routing_id_, password_forms));
3059 } 3062 }
3060 3063
3061 void RenderView::Print(WebFrame* frame, bool script_initiated) { 3064 void RenderView::Print(WebFrame* frame, bool script_initiated) {
3062 DCHECK(frame); 3065 DCHECK(frame);
3063 if (print_helper_.get() == NULL) { 3066 if (print_helper_.get() == NULL) {
3064 print_helper_.reset(new PrintWebViewHelper(this)); 3067 print_helper_.reset(new PrintWebViewHelper(this));
3065 } 3068 }
3066 print_helper_->Print(frame, script_initiated); 3069 print_helper_->Print(frame, script_initiated);
3067 } 3070 }
OLDNEW
« no previous file with comments | « chrome/common/renderer_preferences.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698