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

Side by Side Diff: chrome/browser/renderer_host/render_view_host.h

Issue 173265: Bugfix for 2932 (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 3 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 | Annotate | Revision Log
« 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 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 // caller gets the language via the NotificationService by registering to the 216 // caller gets the language via the NotificationService by registering to the
217 // NotificationType TAB_LANGUAGE_DETERMINED. 217 // NotificationType TAB_LANGUAGE_DETERMINED.
218 void GetPageLanguage(); 218 void GetPageLanguage();
219 219
220 // Change the zoom level of a page. 220 // Change the zoom level of a page.
221 void Zoom(PageZoom::Function function); 221 void Zoom(PageZoom::Function function);
222 222
223 // Change the encoding of the page. 223 // Change the encoding of the page.
224 void SetPageEncoding(const std::string& encoding); 224 void SetPageEncoding(const std::string& encoding);
225 225
226 // Reset any override encoding on the page and change back to default.
227 void ResetPageEncodingToDefault();
228
226 // Change the alternate error page URL. An empty GURL disables the use of 229 // Change the alternate error page URL. An empty GURL disables the use of
227 // alternate error pages. 230 // alternate error pages.
228 void SetAlternateErrorPageURL(const GURL& url); 231 void SetAlternateErrorPageURL(const GURL& url);
229 232
230 // Fill out a form within the page with the specified data. 233 // Fill out a form within the page with the specified data.
231 void FillForm(const FormData& form_data); 234 void FillForm(const FormData& form_data);
232 235
233 // Fill out a password form and trigger DOM autocomplete in the case 236 // Fill out a password form and trigger DOM autocomplete in the case
234 // of multiple matching logins. 237 // of multiple matching logins.
235 void FillPasswordForm( 238 void FillPasswordForm(
(...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after
652 // While in this mode, mouse click is converted into InspectElement 655 // While in this mode, mouse click is converted into InspectElement
653 // command. 656 // command.
654 bool in_inspect_element_mode_; 657 bool in_inspect_element_mode_;
655 658
656 NotificationRegistrar registrar_; 659 NotificationRegistrar registrar_;
657 660
658 DISALLOW_COPY_AND_ASSIGN(RenderViewHost); 661 DISALLOW_COPY_AND_ASSIGN(RenderViewHost);
659 }; 662 };
660 663
661 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_VIEW_HOST_H_ 664 #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