| Index: chrome/browser/tab_contents/tab_contents.h
|
| ===================================================================
|
| --- chrome/browser/tab_contents/tab_contents.h (revision 25594)
|
| +++ chrome/browser/tab_contents/tab_contents.h (working copy)
|
| @@ -234,6 +234,9 @@
|
|
|
| const std::string& encoding() const { return encoding_; }
|
| void set_encoding(const std::string& encoding);
|
| + void reset_encoding() {
|
| + encoding_.clear();
|
| + }
|
|
|
| // Internal state ------------------------------------------------------------
|
|
|
| @@ -578,6 +581,12 @@
|
| set_encoding(encoding);
|
| render_view_host()->SetPageEncoding(encoding);
|
| }
|
| + // Remove any user-defined override encoding and reload by sending down
|
| + // ViewMsg_ResetPageEncodingToDefault to the renderer.
|
| + void reset_override_encoding() {
|
| + reset_encoding();
|
| + render_view_host()->ResetPageEncodingToDefault();
|
| + }
|
|
|
| void WindowMoveOrResizeStarted() {
|
| render_view_host()->WindowMoveOrResizeStarted();
|
|
|