OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:language_state
(Results
1 - 25
of
26
) sorted by null
1
2
/external/chromium_org/chrome/browser/tab_contents/
language_state_unittest.cc
5
#include "chrome/browser/tab_contents/
language_state
.h"
55
LanguageState
language_state
(NULL);
56
EXPECT_FALSE(
language_state
.IsPageTranslated());
59
language_state
.LanguageDetermined("fr", true);
60
EXPECT_EQ("fr",
language_state
.original_language());
61
EXPECT_EQ("fr",
language_state
.current_language());
62
EXPECT_FALSE(
language_state
.IsPageTranslated());
65
language_state
.SetCurrentLanguage("en");
66
EXPECT_EQ("fr",
language_state
.original_language());
67
EXPECT_EQ("en",
language_state
.current_language())
[
all
...]
render_view_context_menu.cc
[
all
...]
/external/chromium_org/chrome/browser/ui/
browser_language_state_observer.cc
7
#include "chrome/browser/tab_contents/
language_state
.h"
25
LanguageState&
language_state
= translate_tab_helper->
language_state
();
local
27
language_state
.IsPageTranslated());
browser_commands.cc
699
if (translate_tab_helper->
language_state
().translation_pending())
701
else if (translate_tab_helper->
language_state
().IsPageTranslated())
[
all
...]
browser_browsertest.cc
[
all
...]
browser.cc
[
all
...]
/external/chromium_org/chrome/browser/ui/translate/
translate_bubble_model_impl.cc
7
#include "chrome/browser/tab_contents/
language_state
.h"
94
LanguageState&
language_state
= translate_tab_helper->
language_state
();
local
96
language_state
.original_language() &&
98
language_state
.current_language();
/external/chromium/chrome/browser/translate/
translate_tab_helper.h
9
#include "chrome/browser/tab_contents/
language_state
.h"
18
LanguageState&
language_state
() { return language_state_; }
function in class:TranslateTabHelper
translate_manager.cc
17
#include "chrome/browser/tab_contents/
language_state
.h"
221
helper->
language_state
().translation_declined()) {
242
helper->
language_state
().original_language()));
251
LanguageState&
language_state
=
local
252
wrapper->translate_tab_helper()->
language_state
();
253
if (
language_state
.page_translatable() &&
254
!
language_state
.translation_pending() &&
255
!
language_state
.translation_declined() &&
256
!
language_state
.IsPageTranslated()) {
423
std::string auto_translate_to = helper->
language_state
().AutoTranslateTo()
[
all
...]
translate_infobar_delegate.cc
135
helper->
language_state
().set_translation_declined(true);
/external/chromium_org/chrome/browser/translate/
translate_tab_helper.h
8
#include "chrome/browser/tab_contents/
language_state
.h"
21
LanguageState&
language_state
() { return language_state_; }
function in class:TranslateTabHelper
translate_manager.cc
19
#include "chrome/browser/tab_contents/
language_state
.h"
205
translate_tab_helper->
language_state
().translation_declined()) {
219
if (!translate_tab_helper->
language_state
().page_needs_translation())
231
translate_tab_helper->
language_state
().original_language(), 0));
249
LanguageState&
language_state
= translate_tab_helper->
language_state
();
250
if (
language_state
.page_needs_translation() &&
251
!
language_state
.translation_pending() &&
252
!
language_state
.translation_declined() &&
253
!
language_state
.IsPageTranslated())
407
LanguageState&
language_state
= translate_tab_helper->
language_state
();
local
[
all
...]
translate_ui_delegate.cc
184
language_state
().set_translation_declined(true);
202
translate_tab_helper->
language_state
().SetTranslateEnabled(false);
225
translate_tab_helper->
language_state
().SetTranslateEnabled(false);
translate_infobar_delegate.cc
62
translate_tab_helper->
language_state
().InTranslateNavigation())
translate_manager_browsertest.cc
356
translate_tab_helper->
language_state
().original_language();
[
all
...]
/external/chromium/chrome/browser/tab_contents/
render_view_context_menu.cc
[
all
...]
tab_contents.h
59
#include "chrome/browser/tab_contents/
language_state
.h"
668
LanguageState&
language_state
() {
function in class:TabContents
[
all
...]
/external/chromium/chrome/browser/
browser_browsertest.cc
574
EXPECT_TRUE(helper->
language_state
().original_language().empty());
580
EXPECT_EQ("en", helper->
language_state
().original_language());
588
EXPECT_TRUE(helper->
language_state
().original_language().empty());
594
EXPECT_EQ("fr", helper->
language_state
().original_language());
/external/chromium_org/chrome/browser/ui/views/location_bar/
location_bar_view.cc
[
all
...]
/external/chromium_org/chrome/browser/policy/
policy_browsertest.cc
1877
LanguageState&
language_state
= translate_tab_helper->
language_state
();
local
[
all
...]
/external/chromium_org/chrome/browser/ui/views/frame/
browser_view.cc
1210
LanguageState&
language_state
= translate_tab_helper->
language_state
();
local
[
all
...]
/external/chromium/chrome/browser/extensions/
extension_tabs_module.cc
[
all
...]
/external/chromium/chrome/browser/automation/
automation_provider_observers.cc
[
all
...]
/external/chromium_org/chrome/browser/extensions/api/tabs/
tabs_api.cc
[
all
...]
/external/chromium_org/chrome/browser/ui/views/translate/
translate_bubble_view.cc
67
*source = translate_tab_helper->
language_state
().original_language();
Completed in 624 milliseconds
1
2