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

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

Issue 159152: Linux: splice together RendererPreferences and SkFontHost (Closed)
Patch Set: ... 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
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_RENDERER_RENDER_VIEW_H_ 5 #ifndef CHROME_RENDERER_RENDER_VIEW_H_
6 #define CHROME_RENDERER_RENDER_VIEW_H_ 6 #define CHROME_RENDERER_RENDER_VIEW_H_
7 7
8 #include <string> 8 #include <string>
9 #include <queue> 9 #include <queue>
10 #include <vector> 10 #include <vector>
(...skipping 597 matching lines...) Expand 10 before | Expand all | Expand 10 after
608 // Decodes a data: URL image or returns an empty image in case of failure. 608 // Decodes a data: URL image or returns an empty image in case of failure.
609 SkBitmap ImageFromDataUrl(const GURL&) const; 609 SkBitmap ImageFromDataUrl(const GURL&) const;
610 610
611 void DumpLoadHistograms() const; 611 void DumpLoadHistograms() const;
612 612
613 // Scan the given frame for password forms and send them up to the browser. 613 // Scan the given frame for password forms and send them up to the browser.
614 void SendPasswordForms(WebFrame* frame); 614 void SendPasswordForms(WebFrame* frame);
615 615
616 void Print(WebFrame* frame, bool script_initiated); 616 void Print(WebFrame* frame, bool script_initiated);
617 617
618 #if defined(OS_LINUX)
619 void UpdateFontRenderingFromRendererPrefs();
620 #else
621 void UpdateFontRenderingFromRendererPrefs() { }
622 #endif
623
618 // Bitwise-ORed set of extra bindings that have been enabled. See 624 // Bitwise-ORed set of extra bindings that have been enabled. See
619 // BindingsPolicy for details. 625 // BindingsPolicy for details.
620 int enabled_bindings_; 626 int enabled_bindings_;
621 627
622 // DOM Automation Controller CppBoundClass. 628 // DOM Automation Controller CppBoundClass.
623 DomAutomationController dom_automation_controller_; 629 DomAutomationController dom_automation_controller_;
624 630
625 // Chrome page<->browser messaging CppBoundClass. 631 // Chrome page<->browser messaging CppBoundClass.
626 DOMUIBindings dom_ui_bindings_; 632 DOMUIBindings dom_ui_bindings_;
627 633
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
799 // PrintWebViewHelper handles printing. Note that this object is constructed 805 // PrintWebViewHelper handles printing. Note that this object is constructed
800 // when printing for the first time but only destroyed with the RenderView. 806 // when printing for the first time but only destroyed with the RenderView.
801 scoped_ptr<PrintWebViewHelper> print_helper_; 807 scoped_ptr<PrintWebViewHelper> print_helper_;
802 808
803 RendererPreferences renderer_preferences_; 809 RendererPreferences renderer_preferences_;
804 810
805 DISALLOW_COPY_AND_ASSIGN(RenderView); 811 DISALLOW_COPY_AND_ASSIGN(RenderView);
806 }; 812 };
807 813
808 #endif // CHROME_RENDERER_RENDER_VIEW_H_ 814 #endif // CHROME_RENDERER_RENDER_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698