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

Side by Side Diff: chrome/browser/renderer_host/render_view_host.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. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/browser/browser.cc ('k') | chrome/browser/renderer_host/render_view_host.cc » ('j') | 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 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_
6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 RenderViewHostDelegate* delegate() const { return delegate_; } 96 RenderViewHostDelegate* delegate() const { return delegate_; }
97 97
98 // Set up the RenderView child process. Virtual because it is overridden by 98 // Set up the RenderView child process. Virtual because it is overridden by
99 // TestRenderViewHost. 99 // TestRenderViewHost.
100 virtual bool CreateRenderView(); 100 virtual bool CreateRenderView();
101 101
102 // Returns true if the RenderView is active and has not crashed. Virtual 102 // Returns true if the RenderView is active and has not crashed. Virtual
103 // because it is overridden by TestRenderViewHost. 103 // because it is overridden by TestRenderViewHost.
104 virtual bool IsRenderViewLive() const; 104 virtual bool IsRenderViewLive() const;
105 105
106 void SetRendererPrefs(const RendererPreferences& renderer_prefs); 106 // Send the renderer process the current preferences supplied by the
107 // RenderViewHostDelegate.
108 void SyncRendererPrefs();
107 109
108 // Sends the given navigation message. Use this rather than sending it 110 // Sends the given navigation message. Use this rather than sending it
109 // yourself since this does the internal bookkeeping described below. This 111 // yourself since this does the internal bookkeeping described below. This
110 // function takes ownership of the provided message pointer. 112 // function takes ownership of the provided message pointer.
111 // 113 //
112 // If a cross-site request is in progress, we may be suspended while waiting 114 // If a cross-site request is in progress, we may be suspended while waiting
113 // for the onbeforeunload handler, so this function might buffer the message 115 // for the onbeforeunload handler, so this function might buffer the message
114 // rather than sending it. 116 // rather than sending it.
115 void Navigate(const ViewMsg_Navigate_Params& message); 117 void Navigate(const ViewMsg_Navigate_Params& message);
116 118
(...skipping 510 matching lines...) Expand 10 before | Expand all | Expand 10 after
627 // While in this mode, mouse click is converted into InspectElement 629 // While in this mode, mouse click is converted into InspectElement
628 // command. 630 // command.
629 bool in_inspect_element_mode_; 631 bool in_inspect_element_mode_;
630 632
631 NotificationRegistrar registrar_; 633 NotificationRegistrar registrar_;
632 634
633 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); 635 DISALLOW_COPY_AND_ASSIGN(RenderViewHost);
634 }; 636 };
635 637
636 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ 638 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_
OLDNEW
« no previous file with comments | « chrome/browser/browser.cc ('k') | chrome/browser/renderer_host/render_view_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698