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

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

Issue 7647: Character encoding override (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 2 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
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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_RENDER_VIEW_HOST_H__ 5 #ifndef CHROME_BROWSER_RENDER_VIEW_HOST_H__
6 #define CHROME_BROWSER_RENDER_VIEW_HOST_H__ 6 #define CHROME_BROWSER_RENDER_VIEW_HOST_H__
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 bool find_next); 182 bool find_next);
183 183
184 // Cancel a pending find operation. If |clear_selection| is true, it will also 184 // Cancel a pending find operation. If |clear_selection| is true, it will also
185 // clear the selection on the focused frame. 185 // clear the selection on the focused frame.
186 void StopFinding(bool clear_selection); 186 void StopFinding(bool clear_selection);
187 187
188 // Change the zoom level of a page. 188 // Change the zoom level of a page.
189 void Zoom(PageZoom::Function function); 189 void Zoom(PageZoom::Function function);
190 190
191 // Change the encoding of the page. 191 // Change the encoding of the page.
192 void SetPageEncoding(const std::wstring& encoding_name); 192 void SetPageEncoding(const std::wstring& encoding);
193 193
194 // Change the alternate error page URL. An empty GURL disables the use of 194 // Change the alternate error page URL. An empty GURL disables the use of
195 // alternate error pages. 195 // alternate error pages.
196 void SetAlternateErrorPageURL(const GURL& url); 196 void SetAlternateErrorPageURL(const GURL& url);
197 197
198 // Fill out a form within the page with the specified data. 198 // Fill out a form within the page with the specified data.
199 void FillForm(const FormData& form_data); 199 void FillForm(const FormData& form_data);
200 200
201 // Fill out a password form and trigger DOM autocomplete in the case 201 // Fill out a password form and trigger DOM autocomplete in the case
202 // of multiple matching logins. 202 // of multiple matching logins.
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 void OnMsgShowWidget(int route_id, const gfx::Rect& initial_pos); 401 void OnMsgShowWidget(int route_id, const gfx::Rect& initial_pos);
402 void OnMsgRunModal(IPC::Message* reply_msg); 402 void OnMsgRunModal(IPC::Message* reply_msg);
403 void OnMsgRendererReady(); 403 void OnMsgRendererReady();
404 void OnMsgRendererGone(); 404 void OnMsgRendererGone();
405 void OnMsgNavigate(const IPC::Message& msg); 405 void OnMsgNavigate(const IPC::Message& msg);
406 void OnMsgUpdateState(int32 page_id, 406 void OnMsgUpdateState(int32 page_id,
407 const GURL& url, 407 const GURL& url,
408 const std::wstring& title, 408 const std::wstring& title,
409 const std::string& state); 409 const std::string& state);
410 void OnMsgUpdateTitle(int32 page_id, const std::wstring& title); 410 void OnMsgUpdateTitle(int32 page_id, const std::wstring& title);
411 void OnMsgUpdateEncoding(const std::wstring& encoding_name); 411 void OnMsgUpdateEncoding(const std::wstring& encoding);
412 void OnMsgUpdateTargetURL(int32 page_id, const GURL& url); 412 void OnMsgUpdateTargetURL(int32 page_id, const GURL& url);
413 void OnMsgThumbnail(const IPC::Message& msg); 413 void OnMsgThumbnail(const IPC::Message& msg);
414 void OnMsgClose(); 414 void OnMsgClose();
415 void OnMsgRequestMove(const gfx::Rect& pos); 415 void OnMsgRequestMove(const gfx::Rect& pos);
416 void OnMsgDidRedirectProvisionalLoad(int32 page_id, 416 void OnMsgDidRedirectProvisionalLoad(int32 page_id,
417 const GURL& source_url, 417 const GURL& source_url,
418 const GURL& target_url); 418 const GURL& target_url);
419 void OnMsgDidStartLoading(int32 page_id); 419 void OnMsgDidStartLoading(int32 page_id);
420 void OnMsgDidStopLoading(int32 page_id); 420 void OnMsgDidStopLoading(int32 page_id);
421 void OnMsgDidLoadResourceFromMemoryCache(const GURL& url, 421 void OnMsgDidLoadResourceFromMemoryCache(const GURL& url,
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
576 virtual ~RenderViewHostFactory() {} 576 virtual ~RenderViewHostFactory() {}
577 577
578 virtual RenderViewHost* CreateRenderViewHost( 578 virtual RenderViewHost* CreateRenderViewHost(
579 SiteInstance* instance, 579 SiteInstance* instance,
580 RenderViewHostDelegate* delegate, 580 RenderViewHostDelegate* delegate,
581 int routing_id, 581 int routing_id,
582 HANDLE modal_dialog_event) = 0; 582 HANDLE modal_dialog_event) = 0;
583 }; 583 };
584 584
585 #endif // CHROME_BROWSER_RENDER_VIEW_HOST_H__ 585 #endif // CHROME_BROWSER_RENDER_VIEW_HOST_H__
OLDNEW
« no previous file with comments | « chrome/browser/encoding_menu_controller_delegate.cc ('k') | chrome/browser/render_view_host_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698