HomeSort by relevance Sort by last modified time
    Searched full:infobar (Results 26 - 50 of 365) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/infobar/
InfoBar.java 5 package org.chromium.chrome.browser.infobar;
15 * The base class for all InfoBar classes.
17 * Make sure to use setExpireOnNavigation(false) if you want an infobar to be sticky.
19 public abstract class InfoBar implements InfoBarView {
20 private static final String TAG = "InfoBar";
23 * Possible labels of all the infobar buttons.
30 // Confirm infobar
34 // Translate infobar
63 * @param listener Listens to when buttons have been clicked on the InfoBar.
65 * @param message The message to show in the infobar
    [all...]
InfoBarContainer.java 5 package org.chromium.chrome.browser.infobar;
38 * When initiated from native code, special code is needed to keep the Java and native infobar in
48 * A listener for the InfoBar animation.
58 // InfoBar being animated.
59 public InfoBar target;
67 public InfoBarTransitionInfo(InfoBar bar, View view, int type) {
87 private final ArrayList<InfoBar> mInfoBars = new ArrayList<InfoBar>();
151 // Chromium's InfoBarContainer may add an InfoBar immediately during this initialization
266 * Adds an InfoBar to the view hierarchy
    [all...]
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/autofill/
autofill_cc_infobar_delegate_unittest.cc 106 // Test that credit card infobar metrics are logged correctly.
111 // Accept the infobar.
113 scoped_ptr<ConfirmInfoBarDelegate> infobar(CreateDelegate(&metric_logger));
114 ASSERT_TRUE(infobar);
122 EXPECT_TRUE(infobar->Accept());
125 // Cancel the infobar.
127 scoped_ptr<ConfirmInfoBarDelegate> infobar(CreateDelegate(&metric_logger));
128 ASSERT_TRUE(infobar);
135 EXPECT_TRUE(infobar->Cancel());
138 // Dismiss the infobar
    [all...]
  /external/chromium_org/chrome/browser/notifications/
desktop_notification_infobar_delegate.h 14 // Creates a Notification permission infobar and delegate and adds the
15 // infobar to |infobar_service|.
16 // Returns the infobar if it was successfully added.
17 static infobars::InfoBar* Create(InfoBarService* infobar_service,
  /external/chromium_org/chrome/browser/ui/cocoa/infobars/
infobar_container_cocoa.h 22 virtual void PlatformSpecificAddInfoBar(infobars::InfoBar* infobar,
25 infobars::InfoBar* infobar) OVERRIDE;
infobar_container_controller.h 36 // Controller for the infobar container view, which is the superview
37 // of all the infobar views. This class owns zero or more
38 // InfoBarControllers, which manage the infobar views. This class
59 // If YES then an infobar animation is in progress.
79 // Adds the given infobar.
80 - (void)addInfoBar:(InfoBarCocoa*)infobar
83 // Removes the given infobar.
84 - (void)removeInfoBar:(InfoBarCocoa*)infobar;
86 // Positions the infobar views in the container view and notifies
90 // Set the max arrow height of the top infobar
    [all...]
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/ui/content_settings/
media_setting_changed_infobar_delegate.h 12 // An infobar that tells the user a reload is required after changing media
13 // settings, and allows a reload via a button on the infobar.
16 // Creates a media setting changed infobar and delegate and adds the infobar
  /external/chromium_org/chrome/browser/ui/views/infobars/
infobar_container_view.h 28 virtual void PlatformSpecificAddInfoBar(infobars::InfoBar* infobar,
31 infobars::InfoBar* infobar) OVERRIDE;
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/common/extensions/docs/examples/api/infobars/sandwichbar/
background.js 6 * Handles requests sent by the content script. Shows an infobar.
10 // infobar.
11 var url = "infobar.html#" + request.count;
13 // Show the infobar on the tab where the request was sent.
  /external/chromium_org/components/google/core/browser/
google_url_tracker_map_entry.cc 8 #include "components/infobars/core/infobar.h"
31 // Transfer ownership of |navigation_helper_| to the infobar delegate as the
32 // infobar delegate has need of it after this object has been destroyed in
51 void GoogleURLTrackerMapEntry::OnInfoBarRemoved(infobars::InfoBar* infobar,
54 if (infobar->delegate() == infobar_delegate_) {
  /external/chromium_org/components/infobars/core/
infobar.cc 5 #include "components/infobars/core/infobar.h"
17 InfoBar::InfoBar(scoped_ptr<InfoBarDelegate> delegate)
32 InfoBar::~InfoBar() {
37 SkColor InfoBar::GetTopColor(InfoBarDelegate::Type infobar_type) {
47 SkColor InfoBar::GetBottomColor(InfoBarDelegate::Type infobar_type) {
56 void InfoBar::SetOwner(InfoBarManager* owner) {
63 void InfoBar::Show(bool animate) {
73 void InfoBar::Hide(bool animate)
    [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...]
  /external/chromium_org/chrome/browser/ui/android/infobars/
infobar_container_android.cc 13 #include "components/infobars/core/infobar.h"
37 infobars::InfoBar* infobar,
39 DCHECK(infobar);
40 InfoBarAndroid* android_bar = static_cast<InfoBarAndroid*>(infobar);
45 NOTIMPLEMENTED() << "CLANK: infobar type "
46 << infobar->delegate()->GetInfoBarType();
50 if (infobar->delegate()->AsAutoLoginInfoBarDelegate()) {
53 infobar->delegate()->AsAutoLoginInfoBarDelegate());
73 infobars::InfoBar* old_infobar
    [all...]
  /external/chromium_org/chrome/browser/translate/
translate_manager_render_view_host_unittest.cc 30 #include "components/infobars/core/infobar.h"
153 // Returns the translate infobar if there is 1 infobar and it is a translate
154 // infobar.
162 // If there is 1 infobar and it is a translate infobar, closes it and returns
165 infobars::InfoBarDelegate* infobar = GetTranslateInfoBar(); local
166 if (!infobar)
168 infobar->InfoBarDismissed(); // Simulates closing the infobar
189 translate::TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local
416 translate::TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local
499 translate::TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local
541 translate::TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local
615 translate::TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local
748 translate::TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local
941 translate::TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local
972 translate::TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local
1014 translate::TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local
1124 translate::TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local
1280 translate::TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local
1357 translate::TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local
1448 translate::TranslateInfoBarDelegate* infobar; local
1540 translate::TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local
1588 translate::TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local
1631 translate::TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local
1674 translate::TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local
    [all...]
  /external/chromium_org/chrome/browser/infobars/
infobar_service.h 21 class InfoBar;
25 // It manages the infobar notifications and responds to navigation events.
38 infobars::InfoBar* infobar);
56 // TODO(droger): Remove these functions once infobar notifications are
58 virtual void NotifyInfoBarAdded(infobars::InfoBar* infobar) OVERRIDE;
59 virtual void NotifyInfoBarRemoved(infobars::InfoBar* infobar,
insecure_content_infobar_delegate.h 21 // Depending on the |type| requested and whether an insecure content infobar
23 // an insecure content infobar and delegate and either adds the infobar to
24 // |infobar_service| or replaces the existing infobar.
29 DISPLAY_INFOBAR_SHOWN = 0, // Infobar was displayed.
  /external/chromium_org/chrome/browser/ui/
auto_login_infobar_delegate.h 21 // This is the actual infobar displayed to prompt the user to auto-login.
29 // Username to display in the infobar indicating user to be logged in as.
35 // Creates an autologin infobar and delegate and adds the infobar to the
36 // infobar service for |web_contents|. Returns whether the infobar was
43 SHOWN, // The infobar was shown to the user.
47 IGNORED, // The user ignored the infobar.
76 // Whether any UI controls in the infobar were pressed or not.
  /external/chromium_org/chrome/test/android/javatests/src/org/chromium/chrome/test/util/
TranslateUtil.java 14 import org.chromium.chrome.browser.infobar.InfoBar;
28 InfoBar infoBar) {
29 View view = infoBar.getContentWrapper().findViewById(R.id.infobar_message);
57 return verifyInfoBarText(infoBar,
61 public static boolean verifyInfoBarText(InfoBar infoBar, String text) {
62 View view = infoBar.getContentWrapper().findViewById(R.id.infobar_message);
  /external/chromium_org/chrome/browser/custom_handlers/
register_protocol_handler_infobar_delegate.h 15 // An InfoBar delegate that enables the user to allow or deny storing credit
19 // Creates a new register protocol handler infobar and delegate. Searches
20 // |infobar_service| for an existing infobar for the same |handler|; replaces
21 // it with the new infobar if found, otherwise adds the new infobar to
  /external/chromium_org/chrome/browser/net/spdyproxy/
data_reduction_proxy_infobar_delegate.h 17 // Configures an InfoBar with no buttons that stays visible until it is
18 // explicitly dismissed. This InfoBar is suitable for displaying a message
22 // Creates the InfoBar and adds it to the provided |web_contents|.
31 // Returns a Data Reduction Proxy infobar that owns |delegate|.
32 static scoped_ptr<infobars::InfoBar> CreateInfoBar(
  /external/chromium_org/chrome/browser/plugins/
plugin_infobar_delegates.h 47 // Infobar that's shown when a plug-in requires user authorization to run.
50 // Creates an unauthorized plugin infobar and delegate and adds the infobar to
79 // Infobar that's shown when a plug-in is out of date.
83 // Creates an outdated plugin infobar and delegate and adds the infobar to
113 // Replaces this infobar with one showing |message|. The new infobar will
124 // The main purpose for this class is to popup/close the infobar when there is
131 // Shows an infobar asking whether to install the plugin represented b
    [all...]
  /external/chromium_org/chrome/browser/ui/omnibox/
alternate_nav_infobar_delegate.h 22 // Creates an alternate nav infobar and delegate and adds the infobar to the
23 // infobar service for |web_contents|.
39 // Returns an alternate nav infobar that owns |delegate|.
40 static scoped_ptr<infobars::InfoBar> CreateInfoBar(

Completed in 339 milliseconds

12 3 4 5 6 7 8 91011>>