diff options
author | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-09 14:38:08 +0000 |
---|---|---|
committer | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-09 14:38:08 +0000 |
commit | b2fe07d168d4cb6395d5e265af9521305c320d92 (patch) | |
tree | a1524228b1dedbb4802678dee007c2df3fe24de4 | |
parent | 0373b5e3eba9ebb93267536d4985ea9deccf3494 (diff) | |
download | chromium_src-b2fe07d168d4cb6395d5e265af9521305c320d92.zip chromium_src-b2fe07d168d4cb6395d5e265af9521305c320d92.tar.gz chromium_src-b2fe07d168d4cb6395d5e265af9521305c320d92.tar.bz2 |
Do the remaining renames after http://codereview.chromium.org/585008
TBR=brettw
TEST=you can possibly break the tree, right?
BUG=none
Review URL: http://codereview.chromium.org/602002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@38467 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/browser.cc | 4 | ||||
-rw-r--r-- | chrome/browser/tab_contents/tab_contents.cc | 4 | ||||
-rw-r--r-- | chrome/browser/tab_contents/tab_contents.h | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/chrome/browser/browser.cc b/chrome/browser/browser.cc index 9fa5078..19580d7 100644 --- a/chrome/browser/browser.cc +++ b/chrome/browser/browser.cc @@ -1106,7 +1106,7 @@ void Browser::ToggleEncodingAutoDetect() { if (encoding_auto_detect_.GetValue()) { TabContents* contents = GetSelectedTabContents(); if (contents) - contents->reset_override_encoding(); + contents->ResetOverrideEncoding(); } } @@ -1116,7 +1116,7 @@ void Browser::OverrideEncoding(int encoding_id) { CharacterEncoding::GetCanonicalEncodingNameByCommandId(encoding_id); TabContents* contents = GetSelectedTabContents(); if (!selected_encoding.empty() && contents) - contents->override_encoding(selected_encoding); + contents->SetOverrideEncoding(selected_encoding); // Update the list of recently selected encodings. std::string new_selected_encoding_list; if (CharacterEncoding::UpdateRecentlySelectdEncoding( diff --git a/chrome/browser/tab_contents/tab_contents.cc b/chrome/browser/tab_contents/tab_contents.cc index db631f6..f3b986d 100644 --- a/chrome/browser/tab_contents/tab_contents.cc +++ b/chrome/browser/tab_contents/tab_contents.cc @@ -1205,12 +1205,12 @@ bool TabContents::IsActiveEntry(int32 page_id) { active_entry->page_id() == page_id); } -void TabContents::override_encoding(const std::string& encoding) { +void TabContents::SetOverrideEncoding(const std::string& encoding) { set_encoding(encoding); render_view_host()->SetPageEncoding(encoding); } -void TabContents::reset_override_encoding() { +void TabContents::ResetOverrideEncoding() { reset_encoding(); render_view_host()->ResetPageEncodingToDefault(); } diff --git a/chrome/browser/tab_contents/tab_contents.h b/chrome/browser/tab_contents/tab_contents.h index c8271c8..eabbb71e 100644 --- a/chrome/browser/tab_contents/tab_contents.h +++ b/chrome/browser/tab_contents/tab_contents.h @@ -602,11 +602,11 @@ class TabContents : public PageNavigator, // the opposite of this, by which 'browser' is notified of // the encoding of the current tab from 'renderer' (determined by // auto-detect, http header, meta, bom detection, etc). - void override_encoding(const std::string& encoding); + void SetOverrideEncoding(const std::string& encoding); // Remove any user-defined override encoding and reload by sending down // ViewMsg_ResetPageEncodingToDefault to the renderer. - void reset_override_encoding(); + void ResetOverrideEncoding(); void WindowMoveOrResizeStarted(); |