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

12 3 4 5

  /external/chromium_org/chrome/browser/ui/cocoa/infobars/
infobar_container_controller.h 33 // Controller for the infobar container view, which is the superview
34 // of all the infobar views. This class owns zero or more
35 // InfoBarControllers, which manage the infobar views. This class
56 // If YES then an infobar animation is in progress.
60 // position is updated if the infobar height doesn't change but the overlap
81 // Adds the given infobar.
82 - (void)addInfoBar:(InfoBarCocoa*)infobar
85 // Removes the given infobar.
86 - (void)removeInfoBar:(InfoBarCocoa*)infobar;
88 // Positions the infobar views in the container view and notifie
    [all...]
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/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/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_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.h 14 class InfoBar;
24 // Adds the specified |infobar|, which already owns a delegate.
26 // If infobars are disabled for this tab or the tab already has an infobar
28 // InfoBarDelegate::EqualsDelegate(infobar->delegate()), |infobar| is deleted
31 // Returns the infobar if it was successfully added.
32 virtual InfoBar* AddInfoBar(scoped_ptr<InfoBar> infobar);
34 // Removes the specified |infobar|. This in turn may close immediately o
    [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_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),
translate_language_menu_model.cc 13 TranslateInfoBarBase* infobar,
19 infobar_(infobar),
translate_language_menu_model.h 18 // infobar. This menu has only one level (no submenus).
29 TranslateInfoBarBase* infobar,
  /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);
  /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/chrome/browser/google/
google_url_tracker_unittest.cc 70 virtual InfoBar* CreateInfoBar();
86 InfoBar* TestInfoBarDelegate::CreateInfoBar() {
257 TestInfoBarDelegate* infobar = static_cast<TestInfoBarDelegate*>( local
259 return infobar->new_google_url();
263 TestInfoBarDelegate* infobar = static_cast<TestInfoBarDelegate*>( local
265 ASSERT_TRUE(infobar);
266 ASSERT_TRUE(infobar->google_url_tracker());
267 infobar->google_url_tracker()->AcceptGoogleURL(infobar->new_google_url());
271 TestInfoBarDelegate* infobar = static_cast<TestInfoBarDelegate*> local
279 InfoBarDelegate* infobar = g_browser_process->google_url_tracker()->infobar_; local
    [all...]
  /external/chromium_org/chrome/android/java/src/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;
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.
  /external/chromium_org/chrome/browser/ui/gtk/infobars/
infobar_container_gtk.cc 52 void InfoBarContainerGtk::PlatformSpecificAddInfoBar(InfoBar* infobar,
54 InfoBarGtk* infobar_gtk = static_cast<InfoBarGtk*>(infobar);
74 void InfoBarContainerGtk::PlatformSpecificRemoveInfoBar(InfoBar* infobar) {
75 InfoBarGtk* infobar_gtk = static_cast<InfoBarGtk*>(infobar);
79 std::find(infobars_gtk_.begin(), infobars_gtk_.end(), infobar);
96 InfoBarGtk* infobar) {
100 // For each infobar after |infobar| (or starting from the beginning if NULL)
    [all...]
  /external/chromium_org/chrome/test/android/javatests/src/org/chromium/chrome/test/util/
InfoBarTestAnimationListener.java 8 import org.chromium.chrome.browser.infobar.AnimationHelper;
9 import org.chromium.chrome.browser.infobar.InfoBarContainer;
  /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/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
  /external/chromium/chrome/browser/ui/gtk/infobars/
infobar_container_gtk.h 14 class InfoBar;
36 // the InfoBar's close button handler.
55 // toolbar or on the next infobar up).
58 // Adds an InfoBar for the specified delegate, in response to a notification
62 // Removes an InfoBar for the specified delegate, in response to a
63 // notification from the selected TabContents. The InfoBar's disappearance
69 void UpdateToolbarInfoBarState(InfoBar* infobar, bool animate);
  /external/chromium_org/chrome/android/javatests/src/org/chromium/chrome/browser/translate/
TranslateInfoBarTest.java 9 import org.chromium.chrome.browser.infobar.InfoBar;
10 import org.chromium.chrome.browser.infobar.InfoBarContainer;
20 * Tests for the translate infobar, assumes it runs on a system with language
48 List<InfoBar> infoBars = getActivity().getActiveTab().getInfoBarContainer().getInfoBars();
50 assertTrue("InfoBar not opened.", mListener.addInfoBarAnimationFinished());
51 InfoBar infoBar = infoBars.get(0);
52 assertTrue(InfoBarUtil.hasPrimaryButton(this, infoBar));
53 assertTrue(InfoBarUtil.hasSecondaryButton(this, infoBar));
    [all...]
  /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();

Completed in 845 milliseconds

12 3 4 5