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

1 2

  /external/chromium_org/chrome/browser/ui/views/infobars/
infobar_background.cc 7 #include "chrome/browser/infobars/infobar.h"
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/infobars/
infobar_service.cc 8 #include "chrome/browser/infobars/infobar.h"
20 scoped_ptr<InfoBarDelegate> infobar) {
21 DCHECK(infobar);
27 if ((*i)->EqualsDelegate(infobar.get())) {
28 DCHECK_NE(*i, infobar.get());
33 InfoBarDelegate* infobar_ptr = infobar.release();
59 void InfoBarService::RemoveInfoBar(InfoBarDelegate* infobar) {
60 RemoveInfoBarInternal(infobar, true);
79 // Remove the old infobar before notifying, so that if any observers call
80 // back to AddInfoBar() or similar, we don't dupe-check against this infobar
140 InfoBarDelegate* infobar = infobars_[i - 1]; local
    [all...]
infobar_container.cc 16 #include "chrome/browser/infobars/infobar.h"
29 top_arrow_target_height_(InfoBar::kDefaultArrowTargetHeight) {
52 // OnInfoBarAnimated() for each infobar.
70 InfoBar* infobar = *i; local
71 next_infobar_y -= infobar->arrow_height();
73 next_infobar_y += infobar->total_height();
83 // line height, because the infobar arrow target heights are without-stroke.
85 std::max(height - InfoBar::kSeparatorLineHeight, 0),
86 InfoBar::kMaximumArrowTargetHeight)
168 InfoBar* infobar = *i; local
193 InfoBar* infobar = infobars_.front(); local
    [all...]
  /external/chromium_org/chrome/browser/media/
webrtc_browsertest_base.cc 8 #include "chrome/browser/infobars/infobar.h"
38 MediaStreamInfoBarDelegate* infobar = local
40 infobar->Accept();
41 CloseInfoBarInTab(tab_contents, infobar);
57 MediaStreamInfoBarDelegate* infobar = local
59 infobar->Cancel();
60 CloseInfoBarInTab(tab_contents, infobar);
69 MediaStreamInfoBarDelegate* infobar = local
71 infobar->InfoBarDismissed();
72 CloseInfoBarInTab(tab_contents, infobar);
101 MediaStreamInfoBarDelegate* infobar = details->AsMediaStreamInfoBarDelegate(); 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...]
translate_infobar_base_gtk.cc 34 : InfoBar(delegate) {
73 InfoBar::GetTopColor(InfoBarDelegate::PAGE_ACTION_TYPE, r, g, b);
75 InfoBar::GetTopColor(InfoBarDelegate::WARNING_TYPE, r, g, b);
78 InfoBar::GetTopColor(InfoBarDelegate::PAGE_ACTION_TYPE,
82 InfoBar::GetTopColor(InfoBarDelegate::WARNING_TYPE,
98 InfoBar::GetBottomColor(InfoBarDelegate::PAGE_ACTION_TYPE, r, g, b);
100 InfoBar::GetBottomColor(InfoBarDelegate::WARNING_TYPE, r, g, b);
103 InfoBar::GetBottomColor(InfoBarDelegate::PAGE_ACTION_TYPE,
107 InfoBar::GetBottomColor(InfoBarDelegate::WARNING_TYPE,
221 InfoBar* TranslateInfoBarDelegate::CreateInfoBar()
222 TranslateInfoBarBase* infobar = NULL; local
    [all...]
  /external/chromium/chrome/browser/autofill/
autofill_browsertest.cc 439 TranslateInfoBarDelegate* infobar = browser()->GetSelectedTabContents()-> local
442 ASSERT_TRUE(infobar != NULL);
443 EXPECT_EQ(TranslateInfoBarDelegate::BEFORE_TRANSLATE, infobar->type());
446 infobar->Translate();
autofill_metrics_unittest.cc 859 AutofillCCInfoBarDelegate* infobar; local
    [all...]
  /external/chromium/chrome/browser/google/
google_url_tracker.cc 32 InfoBarDelegate* infobar = new GoogleURLTrackerInfoBarDelegate(tab_contents, local
34 tab_contents->AddInfoBar(infobar);
35 return infobar;
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/browser/content_settings/
permission_queue_controller.cc 11 #include "chrome/browser/infobars/infobar.h"
51 InfoBarDelegate* infobar() { return infobar_; } function in class:PermissionQueueController::PendingInfoBarRequest
161 GetInfoBarService(id)->RemoveInfoBar(i->infobar());
189 // The infobar that called us is i->infobar(), and it's currently in
195 // This infobar is for the same frame/embedder pair, but in a different
200 // We haven't created an infobar yet, just remove the pending request.
211 GetInfoBarService(i->id())->RemoveInfoBar(i->infobar());
224 // We will receive this notification for all infobar closures, so we need to
225 // check whether this is the geolocation infobar we're tracking. Note that th
233 InfoBarDelegate* infobar = local
    [all...]
  /external/chromium_org/chrome/browser/google/
google_url_tracker.cc 291 // Whether there's an existing infobar or not, we need to listen for the
292 // load to commit, so we can show and/or update the infobar when it does.
293 // (We may already be registered for this if there is an existing infobar
303 // yet have an infobar and we're already registered for this, or it has an
304 // infobar and the infobar's owner will handle tearing it down when the
312 // This is a new search on a tab where we already have an infobar.
317 // This is a non-search navigation on a tab with an infobar. If there was
323 // If this navigation actually commits, that will trigger the infobar's
324 // owner to expire the infobar if need be. If it doesn't commit, the
351 GoogleURLTrackerInfoBarDelegate* infobar = local
    [all...]
google_url_tracker_unittest.cc 16 #include "chrome/browser/infobars/infobar.h"
35 // not add the infobar to |infobar_service|, since that "pointer" is really
203 void OnInfoBarClosed(scoped_ptr<InfoBarDelegate> infobar,
241 // object, we don't add the created infobar to it. Instead we will simulate
242 // any helper<->infobar interaction necessary. The returned object will be
266 void GoogleURLTrackerTest::OnInfoBarClosed(scoped_ptr<InfoBarDelegate> infobar,
269 InfoBarRemovedDetails removed_details(infobar.get(), false);
274 ASSERT_EQ(infobar, map_entry->infobar_delegate());
279 // Second, simulate the infobar container closing the infobar in response
777 GoogleURLTrackerInfoBarDelegate* infobar = GetInfoBarDelegate(1); local
795 GoogleURLTrackerInfoBarDelegate* infobar = GetInfoBarDelegate(1); local
813 GoogleURLTrackerInfoBarDelegate* infobar = GetInfoBarDelegate(1); local
    [all...]
  /external/chromium/chrome/browser/translate/
translate_manager_browsertest.cc 84 // Returns the translate infobar if there is 1 infobar and it is a translate
85 // infobar.
92 // If there is 1 infobar and it is a translate infobar, closes it and returns
95 InfoBarDelegate* infobar = GetTranslateInfoBar(); local
96 if (!infobar)
98 infobar->InfoBarDismissed(); // Simulates closing the infobar.
99 contents()->RemoveInfoBar(infobar);
128 TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local
285 TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local
353 TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local
390 TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local
489 TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local
512 TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local
684 TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local
713 TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local
756 TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local
813 TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local
941 TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local
1012 TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local
1099 TranslateInfoBarDelegate* infobar; local
1183 TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local
    [all...]
translate_manager.cc 224 // infobar if the user already dismissed one in that case.
235 // current infobars. Since InitTranslation might add an infobar, it must
263 // Only add translate infobar if it doesn't exist; if it already exists,
264 // just update the state, the actual infobar would have received the same
387 // If there is already a translate infobar showing, don't show another one.
411 // feature; the user will get an infobar, so they can control whether the
459 TranslateInfoBarDelegate* infobar = TranslateInfoBarDelegate::CreateDelegate( local
462 if (!infobar) {
464 // not happen as we won't show a translate infobar or have the translate
469 ShowInfoBar(tab_contents, infobar);
558 TranslateInfoBarDelegate* infobar; local
    [all...]
  /external/chromium_org/chrome/browser/geolocation/
chrome_geolocation_permission_context_unittest.cc 21 #include "chrome/browser/infobars/infobar.h"
59 bool Contains(InfoBarDelegate* infobar) const;
85 bool ClosedInfoBarTracker::Contains(InfoBarDelegate* infobar) const {
86 return removed_infobars_.count(infobar) != 0;
353 // Ensure only one infobar is created.
370 // Now we should have a new infobar for the second frame.
450 // Simulate the frame going away, ensure the infobar for this frame
451 // is removed and the next pending infobar is created.
526 // Now the infobar for the tab with the same origin should have gone.
531 // Destroy the infobar that has just been removed
616 InfoBarDelegate* infobar = infobar_service()->infobar_at(0); local
    [all...]
geolocation_browsertest.cc 16 #include "chrome/browser/infobars/infobar.h"
130 // until the infobar has been displayed; otherwise it will block until the
144 InfoBarDelegate* infobar() { return infobar_; } function in class:__anon7531::GeolocationNotificationObserver
231 // 1. Infobar is displayed when a geolocation is requested from an unauthorized
233 // 2. Denying the infobar triggers the correct error callback.
234 // 3. Allowing the infobar does not trigger an error, and allow a geoposition to
359 infobar_ = notification_observer.infobar();
383 LOG(WARNING) << "will set infobar response";
396 LOG(WARNING) << "infobar response set";
454 // Infobar was displayed, deny access and check for error code
    [all...]
  /external/chromium_org/chrome/browser/translate/
translate_manager_browsertest.cc 16 #include "chrome/browser/infobars/infobar.h"
147 // Returns the translate infobar if there is 1 infobar and it is a translate
148 // infobar.
154 // If there is 1 infobar and it is a translate infobar, closes it and returns
157 InfoBarDelegate* infobar = GetTranslateInfoBar(); local
158 if (!infobar)
160 infobar->InfoBarDismissed(); // Simulates closing the infobar
180 TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local
376 TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local
449 TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local
488 TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local
554 TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local
677 TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local
837 TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local
864 TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local
898 TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local
998 TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local
1128 TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local
1201 TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local
1288 TranslateInfoBarDelegate* infobar; local
1375 TranslateInfoBarDelegate* infobar = GetTranslateInfoBar(); local
    [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 delegate and adds it to |infobar_service|.
216 // not we're currently showing the infobar.
225 // Possibly-null if we're not showing an infobar right now.
226 InfoBarDelegate* infobar; member in struct:HungPluginTabHelper::PluginState
228 // Time to delay before re-showing the infobar for a hung plugin. This is
232 // Handles calling the helper when the infobar should be re-shown.
251 infobar(NULL),
288 if (i->second->infobar)
289 infobar_service->RemoveInfoBar(i->second->infobar);
336 InfoBarDelegate* infobar = local
    [all...]
  /external/chromium_org/chrome/test/ppapi/
ppapi_test.cc 18 #include "chrome/browser/infobars/infobar.h"
85 EXPECT_EQ(0u, expected_infobars_.size()) << "Missing an expected infobar";
93 InfoBarDelegate* infobar = local
96 infobar->AsConfirmInfoBarDelegate();
99 ASSERT_FALSE(expected_infobars_.empty()) << "Unexpected infobar";
106 // TODO(bauerb): We should close the infobar.
  /external/chromium_org/chrome/browser/extensions/api/debugger/
debugger_api.cc 28 #include "chrome/browser/infobars/infobar.h"
87 ExtensionDevToolsInfoBarDelegate* infobar);
150 // Creates an extension dev tools infobar delegate and adds it to the
308 ExtensionDevToolsInfoBarDelegate* infobar)
313 infobar_(infobar),
569 ExtensionDevToolsInfoBarDelegate* infobar = NULL; local
572 // Do not attach to the target if for any reason the infobar cannot be shown
574 infobar = ExtensionDevToolsInfoBarDelegate::Create(
576 if (!infobar) {
586 debuggee_, infobar);
    [all...]

Completed in 453 milliseconds

1 2