HomeSort by relevance Sort by last modified time
    Searched refs:InfoBar (Results 51 - 75 of 131) sorted by null

1 23 4 5 6

  /external/chromium_org/chrome/browser/ssl/
ssl_tab_helper.cc 19 #include "chrome/browser/infobars/infobar.h"
45 // Creates an SSL cert result infobar and delegate. If |previous_infobar| is
46 // NULL, adds the infobar to |infobar_service|; otherwise, replaces
47 // |previous_infobar|. Returns the new infobar if it was successfully added.
49 static InfoBar* Create(InfoBarService* infobar_service,
50 InfoBar* previous_infobar,
74 InfoBar* SSLCertResultInfoBarDelegate::Create(InfoBarService* infobar_service,
75 InfoBar* previous_infobar,
78 scoped_ptr<InfoBar> infobar(ConfirmInfoBarDelegate::CreateInfoBar
    [all...]
  /external/chromium_org/chrome/browser/ui/android/content_settings/
popup_blocked_infobar_delegate.cc 9 #include "chrome/browser/infobars/infobar.h"
22 scoped_ptr<InfoBar> infobar(ConfirmInfoBarDelegate::CreateInfoBar(
26 // See if there is an existing popup infobar already.
27 // TODO(dfalcantara) When triggering more than one popup the infobar
29 // This will be fixed once we have an in place replace infobar mechanism.
31 InfoBar* existing_infobar = infobar_service->infobar_at(i);
33 infobar_service->ReplaceInfoBar(existing_infobar, infobar.Pass());
38 infobar_service->AddInfoBar(infobar.Pass());
  /external/chromium_org/chrome/browser/ui/views/infobars/
infobar_container_view.cc 55 void InfoBarContainerView::PlatformSpecificAddInfoBar(InfoBar* infobar,
57 AddChildViewAt(static_cast<InfoBarView*>(infobar),
61 void InfoBarContainerView::PlatformSpecificRemoveInfoBar(InfoBar* infobar) {
62 RemoveChildView(static_cast<InfoBarView*>(infobar));
  /external/chromium_org/chrome/browser/ui/gtk/infobars/
infobar_gtk.cc 29 // Pixels between infobar elements.
39 // InfoBar --------------------------------------------------------------------
42 const int InfoBar::kSeparatorLineHeight = 1;
43 const int InfoBar::kDefaultArrowTargetHeight = 9;
44 const int InfoBar::kMaximumArrowTargetHeight = 24;
45 const int InfoBar::kDefaultArrowTargetHalfWidth = kDefaultArrowTargetHeight;
46 const int InfoBar::kMaximumArrowTargetHalfWidth = 14;
47 const int InfoBar::kDefaultBarTargetHeight = 36;
56 : InfoBar(delegate.Pass()),
83 GetBackgroundColor(InfoBar::GetTopColor(type), r, g, b)
    [all...]
translate_infobar_base_gtk.cc 25 scoped_ptr<InfoBar> TranslateInfoBarDelegate::CreateInfoBar(
28 return scoped_ptr<InfoBar>(new BeforeTranslateInfoBar(delegate.Pass()));
30 return scoped_ptr<InfoBar>(new AfterTranslateInfoBar(delegate.Pass()));
31 return scoped_ptr<InfoBar>(new TranslateMessageInfoBar(delegate.Pass()));
73 InfoBar::AnimationProgressed(animation);
  /external/chromium/chrome/browser/extensions/
extension_infobar_delegate.h 46 virtual InfoBar* CreateInfoBar();
58 // The extension host we are showing the InfoBar for. The delegate needs to
59 // own this since the InfoBar gets deleted and recreated when you switch tabs
60 // and come back (and we don't want the user's interaction with the InfoBar to
  /external/chromium/chrome/browser/ui/gtk/infobars/
translate_infobar_base_gtk.h 18 class TranslateInfoBarBase : public InfoBar,
24 // Initializes the infobar widgets. Should be called after the object has been
28 // Overridden from InfoBar:
59 // Convenience to retrieve the TranslateInfoBarDelegate for this infobar.
74 // background. When 0, the infobar background should be pure PAGE_ACTION_TYPE.
75 // When 1, the infobar background should be pure WARNING_TYPE.
confirm_infobar_gtk.cc 16 InfoBar* ConfirmInfoBarDelegate::CreateInfoBar() {
23 : InfoBar(delegate) {
  /external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/infobar/
MessageInfoBar.java 5 package org.chromium.chrome.browser.infobar;
12 * A simple infobar that contains a message and a close icon on the right side.
16 public class MessageInfoBar extends InfoBar {
20 * Creates and returns an infobar with a white background and a close button on the right.
21 * @param title the text displayed in the infobar
22 * @return the infobar.
29 * Creates and returns an infobar with a white background and a close button on the right.
31 * @param title the text displayed in the infobar
32 * @return the infobar.
39 * Creates a warning infobar, with a yellow background and a warning icon on the right
    [all...]
TranslateCheckBox.java 4 package org.chromium.chrome.browser.infobar;
35 mListener.onPanelClosed(InfoBar.ACTION_TYPE_NONE);
TranslateInfoBarDelegate.java 5 package org.chromium.chrome.browser.infobar;
30 InfoBar showTranslateInfoBar(
TwoButtonInfoBar.java 5 package org.chromium.chrome.browser.infobar;
13 * An infobar that presents the user with up to 2 buttons.
15 public abstract class TwoButtonInfoBar extends InfoBar {
22 * Creates controls for the current InfoBar.
TranslateInfoBar.java 5 package org.chromium.chrome.browser.infobar;
20 * Java version of the translate infobar
88 * Based on the infobar and the button pressed figure out what action needs to happen.
91 int action = InfoBar.ACTION_TYPE_NONE;
96 ? InfoBar.ACTION_TYPE_TRANSLATE : InfoBar.ACTION_TYPE_CANCEL;
100 action = InfoBar.ACTION_TYPE_TRANSLATE_SHOW_ORIGINAL;
105 action = InfoBar.ACTION_TYPE_TRANSLATE;
197 // Close the sub panel and show the infobar again.
201 // Apply options and close the infobar
    [all...]
  /external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/infobar/
InfoBarTest.java 5 package org.chromium.chrome.browser.infobar;
51 * Verify PopUp InfoBar. Only basic triggering verified due to lack of tabs
59 assertTrue("InfoBar not added", mListener.addInfoBarAnimationFinished());
61 List<InfoBar> infoBars = getActivity().getActiveTab().getInfoBarContainer().getInfoBars();
62 assertEquals("Wrong infobar count", 1, infoBars.size());
66 assertTrue("InfoBar not removed.", mListener.removeInfoBarAnimationFinished());
67 assertEquals("Wrong infobar count", 0, infoBars.size());
69 // A second load should not show the infobar.
71 assertFalse("InfoBar added when it should not", mListener.addInfoBarAnimationFinished());
75 * Verify Geolocation creates an InfoBar
    [all...]
  /external/chromium_org/chrome/browser/google/
google_url_tracker_infobar_delegate.h 13 // This infobar is shown by the GoogleURLTracker when the Google base URL has
17 // Creates a Google URL tracker infobar and delegate and adds the infobar to
18 // |infobar_service|. Returns the infobar if it was successfully added.
19 static InfoBar* Create(InfoBarService* infobar_service,
google_url_tracker_map_entry.cc 10 #include "chrome/browser/infobars/infobar.h"
35 if (content::Details<InfoBar::RemovedDetails>(details)->first->delegate() ==
google_url_tracker.h 24 class InfoBar;
88 // commits, we'll show the infobar.
107 // If there is already a visible GoogleURLTracker infobar for this tab, this
161 // each tab with an infobar to re-perform the user's search, but on the new
179 // Creates an infobar and adds it to the provided InfoBarService. Returns the
180 // infobar on success or NULL on failure. The caller does not own the
182 base::Callback<InfoBar*(InfoBarService*, GoogleURLTracker*, const GURL&)>
  /external/chromium_org/chrome/browser/media/
midi_permission_infobar_delegate.h 25 // Creates a MIDI permission infobar and delegate and adds the infobar to
26 // |infobar_service|. Returns the infobar if it was successfully added.
27 static InfoBar* Create(InfoBarService* infobar_service,
protected_media_identifier_infobar_delegate.h 22 // Creates a protected media identifier infobar and delegate and adds the
23 // infobar to |infobar_service|. Returns the infobar if it was successfully
25 static InfoBar* Create(InfoBarService* infobar_service,
  /external/chromium_org/chrome/browser/ui/android/infobars/
infobar_android.h 14 #include "chrome/browser/infobars/infobar.h"
19 class InfoBarAndroid : public InfoBar {
23 // InfoBar.java!
26 // Confirm infobar
29 // Translate infobar
37 // InfoBar:
44 // Tells the Java-side counterpart of this InfoBar to point to the replacement
45 // InfoBar instead of this one.
61 // Acquire the java infobar from a different one. This is used to do in-place
confirm_infobar.cc 18 scoped_ptr<InfoBar> ConfirmInfoBarDelegate::CreateInfoBar(
20 return scoped_ptr<InfoBar>(new ConfirmInfoBar(delegate.Pass()));
  /external/chromium_org/chrome/browser/ui/omnibox/
alternate_nav_infobar_delegate.h 16 // Creates an alternate nav infobar and delegate and adds the infobar to the
17 // infobar service for |web_contents|.
33 // Returns an alternate nav infobar that owns |delegate|.
34 static scoped_ptr<InfoBar> CreateInfoBar(
  /external/chromium_org/chrome/browser/extensions/
extension_infobar_delegate.cc 10 #include "chrome/browser/infobars/infobar.h"
55 height_ = std::min(2 * InfoBar::kDefaultBarTargetHeight, height_);
57 height_ = InfoBar::kDefaultBarTargetHeight;
66 // When an extension crashes, an InfoBar is shown (for the crashed extension).
68 // is already showing the 'extension crashed InfoBar', which it never is), but
74 // Only allow one InfoBar at a time per extension.
99 infobar()->RemoveSelf();
104 infobar()->RemoveSelf();
  /external/chromium_org/chrome/browser/infobars/
insecure_content_infobar_delegate.cc 9 #include "chrome/browser/infobars/infobar.h"
22 scoped_ptr<InfoBar> new_infobar(ConfirmInfoBarDelegate::CreateInfoBar(
26 // Only supsersede an existing insecure content infobar if we are upgrading
29 InfoBar* old_infobar = infobar_service->infobar_at(i);
  /external/chromium/chrome/browser/ui/views/infobars/
infobar_view.cc 40 const int InfoBar::kSeparatorLineHeight =
42 const int InfoBar::kDefaultArrowTargetHeight = 9;
43 const int InfoBar::kMaximumArrowTargetHeight = 24;
44 const int InfoBar::kDefaultArrowTargetHalfWidth = kDefaultArrowTargetHeight;
45 const int InfoBar::kMaximumArrowTargetHalfWidth = 14;
46 const int InfoBar::kDefaultBarTargetHeight = 36;
53 : InfoBar(delegate),
59 set_parent_owned(false); // InfoBar deletes itself at the appropriate time.
279 << "Infobar piecewise heights do not match overall height";
352 // infobar
    [all...]

Completed in 4158 milliseconds

1 23 4 5 6