Home | History | Annotate | Download | only in tab_contents

Lines Matching refs:language

14 // This class holds the language state of the current page.
19 // - user is on page in language A that they had translated to language B.
20 // - user clicks a link in that page that takes them to a page also in language
32 // Should be called when the language of the page has been determined.
38 // Returns the language the current page should be translated to, based on the
40 // the language page has been determined.
49 void set_current_language(const std::string& language) {
50 current_lang_ = language;
71 // Note that these might be empty if the page language has not been determined
94 // TODO(jcampan): make the renderer send the language just once per navigation