Home
last modified time | relevance | path

Searched refs:GetToolbarModel (Results 1 – 25 of 25) sorted by relevance

/external/chromium_org/chrome/browser/ui/omnibox/
Domnibox_view.cc95 if (controller()->GetToolbarModel()->GetText().empty()) in HandleOriginChipMouseRelease()
124 return controller_->GetToolbarModel()->GetIcon(); in GetIcon()
170 controller_->GetToolbarModel()->set_origin_chip_enabled(false); in ShowURL()
171 controller_->GetToolbarModel()->set_url_replacement_enabled(false); in ShowURL()
178 controller_->GetToolbarModel()->set_origin_chip_enabled(true); in HideURL()
179 controller_->GetToolbarModel()->set_url_replacement_enabled(true); in HideURL()
185 controller_->GetToolbarModel()->set_origin_chip_enabled(true); in RevertAll()
186 controller_->GetToolbarModel()->set_url_replacement_enabled(true); in RevertAll()
Domnibox_edit_controller.cc31 GetToolbarModel()->set_origin_chip_enabled(false); in HideOriginChip()
38 if (GetToolbarModel()->url_replacement_enabled()) { in ShowOriginChip()
39 GetToolbarModel()->set_origin_chip_enabled(true); in ShowOriginChip()
Domnibox_edit_model.cc250 controller_->GetToolbarModel()->url_replacement_enabled(), in GetStateForTabSwitch()
258 controller_->GetToolbarModel()->set_url_replacement_enabled( in RestoreState()
260 controller_->GetToolbarModel()->set_origin_chip_enabled( in RestoreState()
262 permanent_text_ = controller_->GetToolbarModel()->GetText(); in RestoreState()
325 base::string16 new_permanent_text = controller_->GetToolbarModel()->GetText(); in UpdatePermanentText()
332 controller_->GetToolbarModel()->url_replacement_enabled())) && in UpdatePermanentText()
438 if (controller_->GetToolbarModel()->WouldReplaceURL()) in CurrentTextIsURL()
465 if ((sel_min != 0) || controller_->GetToolbarModel()->WouldReplaceURL()) in AdjustTextForCopy()
528 controller()->GetToolbarModel()->set_origin_chip_enabled(false); in SetInputInProgress()
530 controller_->GetToolbarModel()->set_input_in_progress(in_progress); in SetInputInProgress()
[all …]
Domnibox_edit_controller.h68 virtual ToolbarModel* GetToolbarModel() = 0;
69 virtual const ToolbarModel* GetToolbarModel() const = 0;
Domnibox_edit_unittest.cc119 virtual ToolbarModel* GetToolbarModel() OVERRIDE { return toolbar_model_; } in GetToolbarModel() function in __anon7fd9348e0111::TestingOmniboxEditController
120 virtual const ToolbarModel* GetToolbarModel() const OVERRIDE { in GetToolbarModel() function in __anon7fd9348e0111::TestingOmniboxEditController
/external/chromium_org/chrome/browser/ui/views/location_bar/
Dlocation_bar_view.cc598 GetToolbarModel()->GetEVCertName()).width(); in GetPreferredSize()
631 origin_chip_view_->SetVisible(GetToolbarModel()->ShouldShowOriginChip()); in Layout()
685 ev_bubble_view_->SetLabel(GetToolbarModel()->GetEVCertName()); in Layout()
787 GetToolbarModel()->GetFormattedURL(&prefix_end)); in Layout()
970 !GetToolbarModel()->input_in_progress() && browser_ && in Update()
981 GetToolbarModel()->input_in_progress() ? NULL : GetWebContents(); in Update()
1027 ToolbarModel* LocationBarView::GetToolbarModel() { in GetToolbarModel() function in LocationBarView
1028 return delegate_->GetToolbarModel(); in GetToolbarModel()
1054 (*i)->Update(GetToolbarModel()->input_in_progress() ? in RefreshContentSettingViews()
1127 GetToolbarModel()->input_in_progress() ? NULL : web_contents); in RefreshPageActionViews()
[all …]
Dorigin_chip_view.cc195 GURL url = location_bar_view_->GetToolbarModel()->GetURL(); in OnChanged()
197 location_bar_view_->GetToolbarModel()->GetSecurityLevel(true); in OnChanged()
224 ev_label_->SetText(location_bar_view_->GetToolbarModel()->GetEVCertName()); in OnChanged()
236 location_bar_view_->GetToolbarModel()->GetIconForSecurityLevel( in OnChanged()
Dlocation_bar_view.h102 virtual ToolbarModel* GetToolbarModel() = 0;
103 virtual const ToolbarModel* GetToolbarModel() const = 0;
256 virtual ToolbarModel* GetToolbarModel() OVERRIDE;
395 virtual const ToolbarModel* GetToolbarModel() const OVERRIDE;
Dgenerated_credit_card_view.cc46 if (!wc || delegate_->GetToolbarModel()->input_in_progress()) in GetController()
Dzoom_view.cc29 location_bar_delegate_->GetToolbarModel()->input_in_progress()) { in Update()
/external/chromium_org/chrome/browser/chromeos/login/ui/
Dsimple_web_view_dialog.h79 virtual ToolbarModel* GetToolbarModel() OVERRIDE;
80 virtual const ToolbarModel* GetToolbarModel() const OVERRIDE;
Dsimple_web_view_dialog.cc284 ToolbarModel* SimpleWebViewDialog::GetToolbarModel() { in GetToolbarModel() function in chromeos::SimpleWebViewDialog
288 const ToolbarModel* SimpleWebViewDialog::GetToolbarModel() const { in GetToolbarModel() function in chromeos::SimpleWebViewDialog
/external/chromium_org/chrome/browser/ui/cocoa/location_bar/
Dlocation_bar_view_mac.mm360 !GetToolbarModel()->input_in_progress() &&
461 } else if ((GetToolbarModel()->GetSecurityLevel(false) ==
467 base::string16 label(GetToolbarModel()->GetEVCertName());
505 decoration->UpdateVisibility(contents, GetToolbarModel()->GetURL());
563 ToolbarModel* toolbar_model = GetToolbarModel();
614 ToolbarModel* LocationBarViewMac::GetToolbarModel() { function
618 const ToolbarModel* LocationBarViewMac::GetToolbarModel() const { function
705 GURL url = GetToolbarModel()->GetURL();
708 GetToolbarModel()->input_in_progress() ? NULL : web_contents, url);
713 const bool input_in_progress = GetToolbarModel()->input_in_progress();
[all …]
Dlocation_bar_view_mac.h164 virtual ToolbarModel* GetToolbarModel() OVERRIDE;
165 virtual const ToolbarModel* GetToolbarModel() const OVERRIDE;
Dgenerated_credit_card_decoration.mm53 if (!wc || owner_->GetToolbarModel()->input_in_progress()) {
Dorigin_chip_decoration.mm94 if (!owner_->GetToolbarModel()->ShouldShowOriginChip()) {
103 if (!web_contents || !info_.Update(web_contents, owner_->GetToolbarModel()))
Dzoom_decoration.mm107 !owner_->GetToolbarModel()->input_in_progress() &&
/external/chromium_org/chrome/browser/ui/views/toolbar/
Dtoolbar_view.h119 virtual ToolbarModel* GetToolbarModel() OVERRIDE;
120 virtual const ToolbarModel* GetToolbarModel() const OVERRIDE;
Dtoolbar_view.cc401 ToolbarModel* ToolbarView::GetToolbarModel() { in GetToolbarModel() function in ToolbarView
405 const ToolbarModel* ToolbarView::GetToolbarModel() const { in GetToolbarModel() function in ToolbarView
/external/chromium_org/chrome/browser/ui/views/omnibox/
Domnibox_view_views.cc204 security_level_ = controller()->GetToolbarModel()->GetSecurityLevel(false); in OnTabChanged()
226 security_level_ = controller()->GetToolbarModel()->GetSecurityLevel(false); in Update()
229 controller()->GetToolbarModel()->set_url_replacement_enabled(true); in Update()
230 controller()->GetToolbarModel()->set_origin_chip_enabled(true); in Update()
688 !controller()->GetToolbarModel()->WouldReplaceURL()) { in OnMouseReleased()
872 return controller()->GetToolbarModel()->WouldReplaceURL(); in IsCommandIdEnabled()
/external/chromium_org/chrome/browser/ui/android/tab_model/
Dtab_model.h66 ToolbarModel* GetToolbarModel();
/external/chromium_org/chrome/browser/ui/cocoa/omnibox/
Domnibox_view_mac_unittest.mm102 virtual ToolbarModel* GetToolbarModel() OVERRIDE { return toolbar_model_; }
103 virtual const ToolbarModel* GetToolbarModel() const OVERRIDE {
Domnibox_view_mac.mm217 controller()->GetToolbarModel()->set_url_replacement_enabled(true);
525 controller()->GetToolbarModel()->GetSecurityLevel(false);
856 return !controller()->GetToolbarModel()->WouldPerformSearchTermReplacement(
876 if (!controller()->GetToolbarModel()->WouldPerformSearchTermReplacement(
937 return controller()->GetToolbarModel()->WouldReplaceURL();
/external/chromium_org/chrome/browser/ui/cocoa/toolbar/
Dtoolbar_controller.mm395 locationBarView_->GetToolbarModel()->WouldOmitURLDueToOriginChip()) {
/external/chromium_org/chrome/browser/ui/views/frame/
Dbrowser_view.cc1009 location_bar->GetToolbarModel()->WouldOmitURLDueToOriginChip()) in SetFocusToLocationBar()