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

1 2 34 5 6

  /external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/infobar/
AnimationHelper.java 5 package org.chromium.chrome.browser.infobar;
25 * 1) Prep work is done for the InfoBar so that the View being animated in (if it exists) is
48 private final InfoBar mInfoBar;
61 * @param infoBar InfoBar that goes with the specified ContentWrapperView.
66 public AnimationHelper(InfoBarContainer container, ContentWrapperView target, InfoBar infoBar,
69 mInfoBar = infoBar;
94 * @return the InfoBar being animated.
96 public InfoBar getInfoBar()
    [all...]
ContentWrapperView.java 5 package org.chromium.chrome.browser.infobar;
31 * Once an InfoBar has been hidden and removed from the InfoBarContainer, it cannot be reused
40 private final InfoBar mInfoBar;
49 public ContentWrapperView(Context context, InfoBar infoBar, int backgroundType, View panel,
53 mInfoBar = infoBar;
60 if (backgroundType == InfoBar.BACKGROUND_TYPE_WARNING) {
78 // Add the InfoBar content.
94 * Calculates how tall the InfoBar boundary should be in pixels.
104 * @return the current View representing the InfoBar
    [all...]
ConfirmInfoBar.java 5 package org.chromium.chrome.browser.infobar;
15 * An infobar that presents the user with 2 buttons (typically OK, Cancel).
61 // Construct text to be displayed on the infobar.
98 int action = isPrimaryButton ? InfoBar.ACTION_TYPE_OK : InfoBar.ACTION_TYPE_CANCEL;
InfoBar.java 5 package org.chromium.chrome.browser.infobar;
16 * The base class for all InfoBar classes.
18 * Make sure to use setExpireOnNavigation(false) if you want an infobar to be sticky.
20 public abstract class InfoBar implements InfoBarView {
21 private static final String TAG = "InfoBar";
24 * Possible labels of all the infobar buttons.
31 // Confirm infobar
35 // Translate infobar
68 * @param listener Listens to when buttons have been clicked on the InfoBar.
72 public InfoBar(InfoBarListeners.Dismiss listener, int backgroundType, int iconDrawableId)
    [all...]
TranslateNeverPanel.java 4 package org.chromium.chrome.browser.infobar;
12 * Never panel shown in the translate infobar
45 mListener.onPanelClosed(InfoBar.ACTION_TYPE_NONE);
  /external/chromium_org/chrome/browser/custom_handlers/
register_protocol_handler_infobar_delegate.cc 9 #include "chrome/browser/infobars/infobar.h"
25 scoped_ptr<InfoBar> infobar(ConfirmInfoBarDelegate::CreateInfoBar(
30 InfoBar* existing_infobar = infobar_service->infobar_at(i);
36 infobar_service->ReplaceInfoBar(existing_infobar, infobar.Pass());
41 infobar_service->AddInfoBar(infobar.Pass());
  /external/chromium_org/chrome/browser/extensions/
theme_installed_infobar_delegate.cc 12 #include "chrome/browser/infobars/infobar.h"
36 // Create the new infobar.
51 scoped_ptr<InfoBar> new_infobar(ConfirmInfoBarDelegate::CreateInfoBar(
56 // If there's a previous theme infobar, just replace that instead of adding a
59 InfoBar* old_infobar = infobar_service->infobar_at(i);
74 // No previous theme infobar, so add this.
158 infobar()->RemoveSelf();
extension_infobar_delegate.h 28 // Creates an extension infobar and delegate and adds the infobar to the
29 // infobar service for |web_contents|.
51 // Returns an extension infobar that owns |delegate|.
52 static scoped_ptr<InfoBar> CreateInfoBar(
70 // The extension host we are showing the InfoBar for.
71 // TODO(pkasting): Should this live on the InfoBar instead?
77 // The requested height of the infobar (in pixels).
  /external/chromium_org/chrome/browser/geolocation/
chrome_geolocation_permission_context_unittest.cc 21 #include "chrome/browser/infobars/infobar.h"
59 bool Contains(InfoBar* infobar) const;
65 std::set<InfoBar*> removed_infobars_;
82 content::Details<InfoBar::RemovedDetails>(details)->first);
85 bool ClosedInfoBarTracker::Contains(InfoBar* infobar) const {
86 return removed_infobars_.count(infobar) != 0;
261 InfoBar* infobar = infobar_service()->infobar_at(0) local
408 InfoBar* infobar = infobar_service()->infobar_at(0); local
434 InfoBar* infobar = infobar_service()->infobar_at(0); local
640 InfoBar* infobar = infobar_service()->infobar_at(0); local
    [all...]
geolocation_infobar_delegate.h 22 // Creates a geolocation infobar and delegate and adds the infobar to
23 // |infobar_service|. Returns the infobar if it was successfully added.
24 static InfoBar* Create(InfoBarService* infobar_service,
70 // Whether the user has interacted with the geolocation infobar.
  /external/chromium_org/chrome/browser/media/
media_stream_infobar_delegate.cc 11 #include "chrome/browser/infobars/infobar.h"
48 // Deny the request if there is no place to show the infobar, e.g. when
54 scoped_ptr<InfoBar> infobar(ConfirmInfoBarDelegate::CreateInfoBar(
58 InfoBar* old_infobar = infobar_service->infobar_at(i);
60 infobar_service->ReplaceInfoBar(old_infobar, infobar.Pass());
64 infobar_service->AddInfoBar(infobar.Pass());
77 // Deny the request if the infobar was closed with the 'x' button, since
midi_permission_infobar_delegate.cc 9 #include "chrome/browser/infobars/infobar.h"
21 InfoBar* MIDIPermissionInfoBarDelegate::Create(
protected_media_identifier_infobar_delegate.cc 8 #include "chrome/browser/infobars/infobar.h"
21 InfoBar* ProtectedMediaIdentifierInfoBarDelegate::Create(
  /external/chromium_org/chrome/browser/ui/gtk/infobars/
confirm_infobar_gtk.cc 20 scoped_ptr<InfoBar> ConfirmInfoBarDelegate::CreateInfoBar(
22 return scoped_ptr<InfoBar>(new ConfirmInfoBarGtk(delegate.Pass()));
infobar_gtk.h 12 #include "chrome/browser/infobars/infobar.h"
29 class InfoBarGtk : public InfoBar,
39 // Get the top level native GTK widget for this infobar.
44 // Returns the target height of the infobar if the bar is animating,
51 // Retrieves the component colors for the infobar's background
62 // InfoBar:
87 // Returns the signal registrar for this infobar. All signals representing
103 // Adds |display_text| to the infobar. If |link_text| is not empty, it is
105 // or right aligned in the infobar if |link_offset| is |npos|. If a link is
128 // the infobar
    [all...]
  /external/chromium_org/chrome/browser/ui/views/infobars/
alternate_nav_infobar_view.cc 17 scoped_ptr<InfoBar> AlternateNavInfoBarDelegate::CreateInfoBar(
19 return scoped_ptr<InfoBar>(new AlternateNavInfoBarView(delegate.Pass()));
infobar_view.cc 45 // InfoBar --------------------------------------------------------------------
48 const int InfoBar::kSeparatorLineHeight =
50 const int InfoBar::kDefaultArrowTargetHeight = 9;
51 const int InfoBar::kMaximumArrowTargetHeight = 24;
52 const int InfoBar::kDefaultArrowTargetHalfWidth = kDefaultArrowTargetHeight;
53 const int InfoBar::kMaximumArrowTargetHalfWidth = 14;
54 const int InfoBar::kDefaultBarTargetHeight = 36;
66 : InfoBar(delegate.Pass()),
70 set_owned_by_client(); // InfoBar deletes itself at the appropriate time.
71 set_background(new InfoBarBackground(InfoBar::delegate()->GetInfoBarType()))
    [all...]
confirm_infobar.cc 18 scoped_ptr<InfoBar> ConfirmInfoBarDelegate::CreateInfoBar(
20 return scoped_ptr<InfoBar>(new ConfirmInfoBar(delegate.Pass()));
infobar_view.h 10 #include "chrome/browser/infobars/infobar.h"
33 class InfoBarView : public InfoBar,
49 // Creates a label with the appropriate font and color for an infobar.
52 // Creates a link with the appropriate font and color for an infobar.
57 // Creates a menu button with an infobar-specific appearance.
63 // Creates a button with an infobar-specific appearance.
109 // InfoBar:
123 // The optional icon at the left edge of the InfoBar.
126 // The close button at the right edge of the InfoBar.
  /external/chromium_org/chrome/browser/ui/
hung_plugin_tab_helper.cc 15 #include "chrome/browser/infobars/infobar.h"
133 // Creates a hung plugin infobar and delegate and adds the infobar to
134 // |infobar_service|. Returns the infobar if it was successfully added.
135 static InfoBar* Create(InfoBarService* infobar_service,
161 InfoBar* HungPluginInfoBarDelegate::Create(InfoBarService* infobar_service,
214 // not we're currently showing the infobar.
223 // Possibly-null if we're not showing an infobar right now.
224 InfoBar* infobar; member in struct:HungPluginTabHelper::PluginState
328 InfoBar* infobar = content::Details<InfoBar::RemovedDetails>(details)->first; local
    [all...]
  /external/chromium/chrome/browser/ui/gtk/infobars/
infobar_arrow_model.cc 44 void InfoBarArrowModel::ShowArrowFor(InfoBar* bar, bool animate) {
92 SkIntToScalar(bounds.bottom() + InfoBar::kInfoBarHeight));
  /external/chromium_org/chrome/browser/ui/android/infobars/
translate_infobar.cc 19 scoped_ptr<InfoBar> TranslateInfoBarDelegate::CreateInfoBar(
21 return scoped_ptr<InfoBar>(new TranslateInfoBar(delegate.Pass()));
  /external/chromium/chrome/browser/ui/views/infobars/
infobar_view.h 10 #include "chrome/browser/ui/views/infobars/infobar.h"
30 class InfoBarView : public InfoBar,
46 // Creates a label with the appropriate font and color for an infobar.
49 // Creates a link with the appropriate font and color for an infobar.
54 // Creates a menu button with an infobar-specific appearance.
60 // Creates a text button with an infobar-specific appearance.
91 // InfoBar:
113 // The optional icon at the left edge of the InfoBar.
116 // The close button at the right edge of the InfoBar.
119 // Tracks and stores the last focused view which is not the InfoBar or any o
    [all...]
link_infobar.cc 12 InfoBar* LinkInfoBarDelegate::CreateInfoBar() {
  /external/chromium_org/chrome/browser/content_settings/
permission_queue_controller.cc 11 #include "chrome/browser/infobars/infobar.h"
54 InfoBar* infobar() { return infobar_; } function in class:PermissionQueueController::PendingInfoBarRequest
66 InfoBar* infobar_;
171 GetInfoBarService(id)->RemoveInfoBar(i->infobar());
199 // The infobar that called us is i->infobar(), and its delegate is
205 // This infobar is for the same frame/embedder pair, but in a different
210 // We haven't created an infobar yet, just remove the pending request.
221 GetInfoBarService(i->id())->RemoveInfoBar(i->infobar());
243 InfoBar* infobar = content::Details<InfoBar::RemovedDetails>(details)->first; local
    [all...]

Completed in 1371 milliseconds

1 2 34 5 6