/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, 39 ConfirmInfoBar infoBar = new ConfirmInfoBar(nativeInfoBar, null, drawableId, message, 41 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);
|
MessageInfoBar.java | 5 package org.chromium.chrome.browser.infobar; 9 * A simple infobar that contains a message and a close icon on the right side. 13 * TODO(newt): merge this into InfoBar.java 15 public class MessageInfoBar extends InfoBar { 18 * Creates an infobar with a message and a close button. 19 * @param title the text displayed in the infobar 26 * Creates an infobar with an icon, a message and a close button. 27 * @param listener A listener to be notified when the infobar is dismissed, or null. 28 * @param iconResourceId The icon to display in the infobar, or 0 if no icon should be shown. 29 * @param title The text to display in the infobar [all...] |
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.
|
DataReductionProxyInfoBarDelegate.java | 5 package org.chromium.chrome.browser.infobar; 16 * Launches the {@link InfoBar}. 17 * @param webContents The {@link WebContents} in which to launch the {@link InfoBar}. 33 * @param nativeInfoBar Pointer to the C++ InfoBar corresponding to the Java InfoBar. 34 * @param enumeratedIconId ID corresponding to the icon that will be shown for the InfoBar. 39 InfoBar showDataReductionProxyInfoBar(long nativeInfoBar, int enumeratedIconId) { 41 DataReductionProxyInfoBar infoBar = new DataReductionProxyInfoBar( 43 return infoBar;
|
InfoBarView.java | 5 package org.chromium.chrome.browser.infobar; 9 * Functions needed to display an InfoBar UI. 13 * Prepares the InfoBar for display and adds InfoBar-specific controls to the layout.
|
SavePasswordInfoBar.java | 5 package org.chromium.chrome.browser.infobar; 12 * The infobar that allows saving passwords for autofill.
|
SavePasswordInfoBarDelegate.java | 5 package org.chromium.chrome.browser.infobar; 24 * @param nativeInfoBar Pointer to the C++ InfoBar corresponding to the Java InfoBar. 25 * @param enumeratedIconId ID corresponding to the icon that will be shown for the InfoBar. 28 * @param message Message to display to the user indicating what the InfoBar is for. 33 InfoBar showSavePasswordInfoBar(long nativeInfoBar, int enumeratedIconId, String message, 36 SavePasswordInfoBar infoBar = new SavePasswordInfoBar( 38 return infoBar; 45 * @param nativeInfoBar The native infobar pointer.
|
TranslateAlwaysPanel.java | 4 package org.chromium.chrome.browser.infobar; 11 * Options panel shown in the after translate infobar. 40 mListener.onPanelClosed(InfoBar.ACTION_TYPE_NONE); 42 mListener.onPanelClosed(InfoBar.ACTION_TYPE_TRANSLATE_SHOW_ORIGINAL);
|
TranslateInfoBarDelegate.java | 5 package org.chromium.chrome.browser.infobar; 31 InfoBar showTranslateInfoBar(
|
TranslateNeverPanel.java | 4 package org.chromium.chrome.browser.infobar; 11 * Never panel shown in the translate infobar 42 mListener.onPanelClosed(InfoBar.ACTION_TYPE_NONE);
|
DataReductionProxyInfoBar.java | 5 package org.chromium.chrome.browser.infobar; 10 * Generates an InfoBar for the data reduction proxy that contains a message and a link to the 20 * Launch a data reduction proxy {@link InfoBar} with the specified title and link 22 * @param webContents The {@link WebContents} in which to open the {@link InfoBar}. 25 * @param title The text to display in the {@link InfoBar}. 26 * @param linkText The text to display in the link in the {@link InfoBar}.
|
TranslateCheckBox.java | 4 package org.chromium.chrome.browser.infobar; 39 mListener.onPanelClosed(InfoBar.ACTION_TYPE_NONE);
|
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);
|
ConfirmInfoBar.java | 5 package org.chromium.chrome.browser.infobar; 8 * An infobar that presents the user with several buttons. 10 * TODO(newt): merge this into InfoBar.java. 12 public class ConfirmInfoBar extends InfoBar { 48 int action = isPrimaryButton ? InfoBar.ACTION_TYPE_OK : InfoBar.ACTION_TYPE_CANCEL;
|
/external/chromium_org/chrome/browser/ui/startup/ |
session_crashed_infobar_delegate_unittest.cc | 19 #include "components/infobars/core/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 | 8 #include "components/infobars/core/infobar.h" 17 top_color_(infobars::InfoBar::GetTopColor(infobar_type)), 18 bottom_color_(infobars::InfoBar::GetBottomColor(infobar_type)) { 35 paint.setStrokeWidth(SkIntToScalar(infobars::InfoBar::kSeparatorLineHeight)); 40 InfoBarView* infobar = static_cast<InfoBarView*>(view); local 42 canvas_skia->drawPath(infobar->fill_path(), paint); 52 canvas_skia->drawPath(infobar->stroke_path(), paint); 57 gfx::Rect(0, view->height() - infobars::InfoBar::kSeparatorLineHeight, 58 view->width(), infobars::InfoBar::kSeparatorLineHeight),
|
/external/chromium_org/chrome/browser/ui/cocoa/infobars/ |
infobar_controller.h | 19 // A controller for an infobar in the browser window. There is one 20 // controller per infobar view. The base InfoBarController is able to 46 @property(nonatomic, readonly) InfoBarCocoa* infobar; variable 48 // Initializes a new InfoBarController and takes a WeakPtr to |infobar|. 49 - (id)initWithInfoBar:(InfoBarCocoa*)infobar; 51 // Returns YES if the infobar is owned. If this is NO, it is not safe to call 62 // Called when someone clicks on the close button. Dismisses the infobar 64 // NOTE: Subclasses should not call this to close the infobar as it will lead to 68 // Asks the container controller to remove the infobar for this delegate. This 69 // call will trigger a notification that starts the infobar animating closed [all...] |
/external/chromium_org/chrome/browser/geolocation/ |
geolocation_infobar_delegate.cc | 13 #include "components/infobars/core/infobar.h" 59 infobars::InfoBar* GeolocationInfoBarDelegate::Create( 73 infobars::InfoBar* infobar = ConfirmInfoBarDelegate::CreateInfoBar( local 75 return infobar_service->AddInfoBar(scoped_ptr<infobars::InfoBar>(infobar)); 108 InfoBarService::WebContentsFromInfoBar(infobar());
|
/external/chromium_org/components/infobars/core/ |
infobar_container.cc | 11 #include "components/infobars/core/infobar.h" 23 top_arrow_target_height_(InfoBar::kDefaultArrowTargetHeight) { 39 InfoBar* infobar = infobars_.front(); local 40 // Inform the infobar that it's hidden. If it was already closing, this 41 // deletes it. Otherwise, this ensures the infobar will be deleted if it's 43 infobar->Hide(false); 52 // OnInfoBarStateChanged() for each infobar. 69 InfoBar* infobar = *i local [all...] |
infobar_delegate.h | 33 class InfoBar; 35 // An interface implemented by objects wishing to control an InfoBar. 36 // Implementing this interface is not sufficient to use an InfoBar, since it 37 // does not map to a specific InfoBar type. Instead, you must implement 39 // InfoBar variety. 42 // The type of the infobar. It controls its appearance, such as its background 71 // Value to use when the InfoBar has no icon to show. 74 // Called when the InfoBar that owns this delegate is being destroyed. At 88 // Returns true if the InfoBar should be closed automatically after the page 95 // Called when the user clicks on the close button to dismiss the infobar 136 InfoBar* infobar() { return infobar_; } function in class:infobars::InfoBarDelegate [all...] |
infobar_manager.cc | 8 #include "components/infobars/core/infobar.h" 16 void InfoBarManager::Observer::OnInfoBarAdded(InfoBar* infobar) { 19 void InfoBarManager::Observer::OnInfoBarRemoved(InfoBar* infobar, 23 void InfoBarManager::Observer::OnInfoBarReplaced(InfoBar* old_infobar, 24 InfoBar* new_infobar) { 33 InfoBar* InfoBarManager::AddInfoBar(scoped_ptr<InfoBar> infobar) { 120 InfoBar* infobar = infobars_[i - 1]; local [all...] |