HomeSort by relevance Sort by last modified time
    Searched defs:infobar (Results 1 - 25 of 56) sorted by null

1 2 3

  /external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/infobar/
AutoLoginProcessor.java 5 package org.chromium.chrome.browser.infobar;
ConfirmInfoBarDelegate.java 5 package org.chromium.chrome.browser.infobar;
25 * @param nativeInfoBar Pointer to the C++ InfoBar corresponding to the Java InfoBar.
26 * @param enumeratedIconId ID corresponding to the icon that will be shown for the InfoBar.
29 * @param message Message to display to the user indicating what the InfoBar is for.
35 InfoBar showConfirmInfoBar(long nativeInfoBar, int enumeratedIconId, String message,
41 ConfirmInfoBar infoBar = new ConfirmInfoBar(nativeInfoBar, null,
42 InfoBar.BACKGROUND_TYPE_WARNING, drawableId, message, linkText, buttonOk,
44 return infoBar;
InfoBarListeners.java 5 package org.chromium.chrome.browser.infobar;
8 * A collection of listeners for different infobar events.
13 * Called whenever an infobar is dismissed, either manually or as a side
14 * effect of a navigation, replacing the infobar...
17 void onInfoBarDismissed(InfoBar infoBar);
22 * Called whenever an infobar's confirm or cancel button is clicked.
25 ConfirmInfoBar infoBar, boolean confirm);
SubPanelListener.java 4 package org.chromium.chrome.browser.infobar;
7 * A listener to interact with the different subpanels of the translate infobar.
13 * @param action one of the action types in {@code InfoBar}
TranslateSubPanel.java 5 package org.chromium.chrome.browser.infobar;
10 * Interface to group the different sub panels of the translate infobar.
InfoBarContainer.java 5 package org.chromium.chrome.browser.infobar;
33 * When initiated from native code, special code is needed to keep the Java and native infobar in
48 // InfoBar being animated.
49 public InfoBar target;
57 public InfoBarTransitionInfo(InfoBar bar, View view, int type) {
76 // Whether the infobar are shown on top (below the location bar) or at the bottom of the screen.
80 private final ArrayList<InfoBar> mInfoBars = new ArrayList<InfoBar>();
117 // Chromium's InfoBarContainer may add an InfoBar immediately during this initialization
186 // When infobars are on top, the new infobar Z-order is greater than the previous infobar
    [all...]
InfoBarView.java 5 package org.chromium.chrome.browser.infobar;
10 * Functions needed to display an InfoBar UI.
14 * Prepare the InfoBar for display and adding InfoBar-specific controls to the layout.
20 * Returns the message indicating what the InfoBar is informing or asking the user about.
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...]
TranslateAlwaysPanel.java 4 package org.chromium.chrome.browser.infobar;
12 * Options panel shown in the after translate infobar.
40 mListener.onPanelClosed(InfoBar.ACTION_TYPE_NONE);
42 mListener.onPanelClosed(InfoBar.ACTION_TYPE_TRANSLATE_SHOW_ORIGINAL);
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(
TranslateNeverPanel.java 4 package org.chromium.chrome.browser.infobar;
12 * Never panel shown in the translate infobar
45 mListener.onPanelClosed(InfoBar.ACTION_TYPE_NONE);
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.
AutoLoginAccountDelegate.java 5 package org.chromium.chrome.browser.infobar;
46 Log.i("InfoBar", "auto-login failed because account is no longer valid");
AutoLoginDelegate.java 5 package org.chromium.chrome.browser.infobar;
79 long infoBar = mAccountHelper.first;
82 nativeLoginDismiss(infoBar);
88 nativeLoginSuccess(infoBar, result);
90 nativeLoginFailed(infoBar);
  /external/chromium_org/chrome/browser/ui/startup/
session_crashed_infobar_delegate_unittest.cc 10 #include "chrome/browser/infobars/infobar.h"
56 // Attach the crashed infobar to it.
65 ConfirmInfoBarDelegate* infobar = local
67 ASSERT_TRUE(infobar);
88 infobar->Accept();
  /external/chromium_org/chrome/browser/ui/views/infobars/
infobar_background.cc 7 #include "chrome/browser/infobars/infobar.h"
16 top_color_(InfoBar::GetTopColor(infobar_type)),
17 bottom_color_(InfoBar::GetBottomColor(infobar_type)) {
34 paint.setStrokeWidth(SkIntToScalar(InfoBar::kSeparatorLineHeight));
39 InfoBarView* infobar = static_cast<InfoBarView*>(view); local
41 canvas_skia->drawPath(infobar->fill_path(), paint);
51 canvas_skia->drawPath(infobar->stroke_path(), paint);
55 canvas->FillRect(gfx::Rect(0, view->height() - InfoBar::kSeparatorLineHeight,
56 view->width(), InfoBar::kSeparatorLineHeight),
  /external/chromium/chrome/browser/download/
download_request_infobar_delegate_unittest.cc 20 ConfirmInfoBarDelegate* infobar() { function in class:MockTabDownloadState
35 // The actual infobar delegate we're listening to.
74 state.infobar()->Accept();
80 state.infobar()->Cancel();
  /external/chromium/chrome/browser/ui/views/infobars/
infobar_background.cc 54 paint.setStrokeWidth(SkIntToScalar(InfoBar::kSeparatorLineHeight));
60 InfoBarView* infobar = static_cast<InfoBarView*>(view); local
62 canvas_skia->drawPath(*infobar->fill_path(), paint);
72 canvas_skia->drawPath(*infobar->stroke_path(), paint);
77 view->height() - InfoBar::kSeparatorLineHeight,
78 view->width(), InfoBar::kSeparatorLineHeight);
translate_infobar_base.cc 22 InfoBar* TranslateInfoBarDelegate::CreateInfoBar() {
23 TranslateInfoBarBase* infobar = NULL; local
26 infobar = new BeforeTranslateInfoBar(this);
29 infobar = new AfterTranslateInfoBar(this);
33 infobar = new TranslateMessageInfoBar(this);
38 infobar_view_ = infobar;
39 return infobar;
infobar_container.cc 8 #include "chrome/browser/ui/views/infobars/infobar.h"
20 top_arrow_target_height_(InfoBar::kDefaultArrowTargetHeight) {
32 InfoBar* infobar = infobars_.front(); local
33 // NULL the container pointer first so that if the infobar is currently
36 // InfoBar::MaybeDelete() from calling RemoveInfoBar() a second time if the
37 // infobar happens to be at zero height (dunno if this can actually happen).
38 infobar->set_container(NULL);
39 RemoveInfoBar(infobar);
54 // OnInfoBarAnimated() for each infobar
71 InfoBar* infobar = *i; local
152 InfoBar* infobar = *i; local
    [all...]
  /external/chromium_org/chrome/browser/ui/cocoa/infobars/
infobar_controller.h 16 // A controller for an infobar in the browser window. There is one
17 // controller per infobar view. The base InfoBarController is able to
43 @property(nonatomic, readonly) InfoBarCocoa* infobar; variable
45 // Initializes a new InfoBarController and takes a WeakPtr to |infobar|.
46 - (id)initWithInfoBar:(InfoBarCocoa*)infobar;
48 // Returns YES if the infobar is owned. If this is NO, it is not safe to call
59 // Called when someone clicks on the close button. Dismisses the infobar
61 // NOTE: Subclasses should not call this to close the infobar as it will lead to
65 // Asks the container controller to remove the infobar for this delegate. This
66 // call will trigger a notification that starts the infobar animating closed
    [all...]
  /external/chromium_org/chrome/browser/infobars/
infobar_delegate.h 16 class InfoBar;
30 // An interface implemented by objects wishing to control an InfoBar.
31 // Implementing this interface is not sufficient to use an InfoBar, since it
32 // does not map to a specific InfoBar type. Instead, you must implement
34 // InfoBar variety.
37 // The type of the infobar. It controls its appearance, such as its background
51 // Value to use when the InfoBar has no icon to show.
54 // Called when the InfoBar that owns this delegate is being destroyed. At
68 // Returns true if the InfoBar should be closed automatically after the page
75 // Called when the user clicks on the close button to dismiss the infobar
123 InfoBar* infobar() { return infobar_; } function in class:InfoBarDelegate
    [all...]
infobar_service.cc 8 #include "chrome/browser/infobars/infobar.h"
19 InfoBar* InfoBarService::AddInfoBar(scoped_ptr<InfoBar> infobar) {
20 DCHECK(infobar);
26 if ((*i)->delegate()->EqualsDelegate(infobar->delegate())) {
27 DCHECK_NE((*i)->delegate(), infobar->delegate());
32 InfoBar* infobar_ptr = infobar.release();
39 content::Details<InfoBar::AddedDetails>(infobar_ptr))
98 InfoBar* infobar = infobars_[i - 1]; local
    [all...]
  /external/chromium/chrome/browser/ui/gtk/infobars/
infobar_container_gtk.cc 28 // If |infobar_widget| matches |info_bar_delegate|, then close the infobar.
33 InfoBar* infobar = reinterpret_cast<InfoBar*>( local
36 if (!infobar) {
41 if (delegate == infobar->delegate())
42 infobar->AnimateClose();
45 // If |infobar_widget| matches |info_bar_delegate|, then close the infobar w/o
50 InfoBar* infobar = reinterpret_cast<InfoBar*> local
66 InfoBar* infobar = reinterpret_cast<InfoBar*>( local
179 InfoBar* infobar = delegate->CreateInfoBar(); local
    [all...]

Completed in 3695 milliseconds

1 2 3