Home
last modified time | relevance | path

Searched refs:infobars (Results 1 – 25 of 153) sorted by relevance

1234567

/external/chromium_org/components/
Dinfobars.gypi8 # GN version: //components/infobars/core
22 'infobars/core/confirm_infobar_delegate.cc',
23 'infobars/core/confirm_infobar_delegate.h',
24 'infobars/core/infobar.cc',
25 'infobars/core/infobar.h',
26 'infobars/core/infobar_android.cc',
27 'infobars/core/infobar_container.cc',
28 'infobars/core/infobar_container.h',
29 'infobars/core/infobar_delegate.cc',
30 'infobars/core/infobar_delegate.h',
[all …]
/external/chromium_org/components/infobars/test/
Dinfobar_test.cc18 const int infobars::InfoBar::kSeparatorLineHeight = 1;
19 const int infobars::InfoBar::kDefaultArrowTargetHeight = 9;
20 const int infobars::InfoBar::kMaximumArrowTargetHeight = 24;
21 const int infobars::InfoBar::kDefaultArrowTargetHalfWidth =
23 const int infobars::InfoBar::kMaximumArrowTargetHalfWidth = 14;
24 const int infobars::InfoBar::kDefaultBarTargetHeight = 36;
29 scoped_ptr<infobars::InfoBar> ConfirmInfoBarDelegate::CreateInfoBar( in CreateInfoBar()
31 return scoped_ptr<infobars::InfoBar>(new infobars::InfoBar( in CreateInfoBar()
32 delegate.PassAs<infobars::InfoBarDelegate>())); in CreateInfoBar()
/external/chromium_org/chrome/browser/ui/cocoa/infobars/
Dinfobar_cocoa.mm5 #include "chrome/browser/ui/cocoa/infobars/infobar_cocoa.h"
7 #import "chrome/browser/ui/cocoa/infobars/infobar_controller.h"
9 const int infobars::InfoBar::kSeparatorLineHeight = 1;
10 const int infobars::InfoBar::kDefaultArrowTargetHeight = 11;
11 const int infobars::InfoBar::kMaximumArrowTargetHeight = 24;
12 const int infobars::InfoBar::kDefaultArrowTargetHalfWidth =
14 const int infobars::InfoBar::kMaximumArrowTargetHalfWidth = 14;
15 const int infobars::InfoBar::kDefaultBarTargetHeight = 36;
17 InfoBarCocoa::InfoBarCocoa(scoped_ptr<infobars::InfoBarDelegate> delegate)
18 : infobars::InfoBar(delegate.Pass()),
[all …]
Dinfobar_container_cocoa.mm5 #import "chrome/browser/ui/cocoa/infobars/infobar_container_cocoa.h"
7 #import "chrome/browser/ui/cocoa/infobars/infobar_cocoa.h"
8 #import "chrome/browser/ui/cocoa/infobars/infobar_container_controller.h"
12 : infobars::InfoBarContainer(this),
21 infobars::InfoBar* infobar,
28 infobars::InfoBar* infobar) {
Dinfobar_container_cocoa.h14 class InfoBarContainerCocoa : public infobars::InfoBarContainer,
15 public infobars::InfoBarContainer::Delegate {
22 virtual void PlatformSpecificAddInfoBar(infobars::InfoBar* infobar,
25 infobars::InfoBar* infobar) OVERRIDE;
Dinfobar_container_controller.mm5 #import "chrome/browser/ui/cocoa/infobars/infobar_container_controller.h"
9 #include "chrome/browser/infobars/infobar_service.h"
11 #import "chrome/browser/ui/cocoa/infobars/infobar_cocoa.h"
12 #import "chrome/browser/ui/cocoa/infobars/infobar_container_cocoa.h"
13 #import "chrome/browser/ui/cocoa/infobars/infobar_controller.h"
16 #include "components/infobars/core/confirm_infobar_delegate.h"
17 #include "components/infobars/core/infobar.h"
18 #include "components/infobars/core/infobar_container.h"
52 // Delete the container so that any remaining infobars are removed.
117 // Stack the infobars at the bottom of the view, starting with the
Dinfobar_container_controller_unittest.mm5 #import "chrome/browser/ui/cocoa/infobars/infobar_container_controller.h"
10 #include "chrome/browser/infobars/infobar_service.h"
12 #import "chrome/browser/ui/cocoa/infobars/confirm_infobar_controller.h"
13 #include "chrome/browser/ui/cocoa/infobars/infobar_cocoa.h"
14 #include "chrome/browser/ui/cocoa/infobars/mock_confirm_infobar_delegate.h"
63 scoped_ptr<infobars::InfoBarDelegate> confirm_delegate(
Dalternate_nav_infobar_controller.mm5 #import "chrome/browser/ui/cocoa/infobars/alternate_nav_infobar_controller.h"
9 #include "chrome/browser/ui/cocoa/infobars/infobar_cocoa.h"
17 // Link infobars have a text message, of which part is linkified. We
61 scoped_ptr<infobars::InfoBar> AlternateNavInfoBarDelegate::CreateInfoBar(
64 new InfoBarCocoa(delegate.PassAs<infobars::InfoBarDelegate>()));
68 return infobar.PassAs<infobars::InfoBar>();
Dinfobar_cocoa.h16 class InfoBarCocoa : public infobars::InfoBar {
18 explicit InfoBarCocoa(scoped_ptr<infobars::InfoBarDelegate> delegate);
29 infobars::InfoBarManager* OwnerCocoa();
Dinfobar_gradient_view.mm5 #include "chrome/browser/ui/cocoa/infobars/infobar_gradient_view.h"
10 #import "chrome/browser/ui/cocoa/infobars/infobar_container_controller.h"
13 #include "components/infobars/core/infobar.h"
39 - (void)setInfobarType:(infobars::InfoBarDelegate::Type)infobarType {
40 SkColor topColor = infobars::InfoBar::GetTopColor(infobarType);
41 SkColor bottomColor = infobars::InfoBar::GetBottomColor(infobarType);
61 bounds.size.height = infobars::InfoBar::kDefaultBarTargetHeight;
/external/chromium_org/components/infobars/core/
Dinfobar_android.cc9 const int infobars::InfoBar::kSeparatorLineHeight = 1;
10 const int infobars::InfoBar::kDefaultArrowTargetHeight = 9;
11 const int infobars::InfoBar::kMaximumArrowTargetHeight = 24;
12 const int infobars::InfoBar::kDefaultArrowTargetHalfWidth =
14 const int infobars::InfoBar::kMaximumArrowTargetHalfWidth = 14;
15 const int infobars::InfoBar::kDefaultBarTargetHeight = 36;
Dconfirm_infobar_delegate.h12 namespace infobars {
18 class ConfirmInfoBarDelegate : public infobars::InfoBarDelegate {
70 static scoped_ptr<infobars::InfoBar> CreateInfoBar(
79 infobars::InfoBarDelegate* delegate) const OVERRIDE;
/external/chromium_org/components/google/core/browser/
Dgoogle_url_tracker_map_entry.h15 namespace infobars {
19 class GoogleURLTrackerMapEntry : public infobars::InfoBarManager::Observer {
23 infobars::InfoBarManager* infobar_manager,
40 const infobars::InfoBarManager* infobar_manager() const { in infobar_manager()
50 virtual void OnInfoBarRemoved(infobars::InfoBar* infobar,
53 infobars::InfoBarManager* manager) OVERRIDE;
56 infobars::InfoBarManager* const infobar_manager_;
Dgoogle_url_tracker.h28 namespace infobars {
94 const infobars::InfoBarManager* infobar_manager);
106 infobars::InfoBarManager* infobar_manager,
112 virtual void OnNavigationCommitted(infobars::InfoBarManager* infobar_manager,
125 typedef std::map<const infobars::InfoBarManager*, GoogleURLTrackerMapEntry*>
Dgoogle_url_tracker_map_entry.cc12 infobars::InfoBarManager* infobar_manager, in GoogleURLTrackerMapEntry()
51 void GoogleURLTrackerMapEntry::OnInfoBarRemoved(infobars::InfoBar* infobar, in OnInfoBarRemoved()
61 infobars::InfoBarManager* manager) { in OnManagerShuttingDown()
/external/chromium_org/chrome/browser/infobars/
Dinfobar_service.h20 namespace infobars {
26 class InfoBarService : public infobars::InfoBarManager,
30 static infobars::InfoBarDelegate::NavigationDetails
38 infobars::InfoBar* infobar);
58 virtual void NotifyInfoBarAdded(infobars::InfoBar* infobar) OVERRIDE;
59 virtual void NotifyInfoBarRemoved(infobars::InfoBar* infobar,
/external/chromium_org/chrome/browser/ui/android/infobars/
Dinfobar_container_android.h23 class InfoBarContainerAndroid : public infobars::InfoBarContainer {
42 virtual void PlatformSpecificAddInfoBar(infobars::InfoBar* infobar,
44 virtual void PlatformSpecificRemoveInfoBar(infobars::InfoBar* infobar)
47 infobars::InfoBar* old_infobar,
48 infobars::InfoBar* new_infobar) OVERRIDE;
Dinfobar_container_android.cc24 : infobars::InfoBarContainer(NULL), in InfoBarContainerAndroid()
37 infobars::InfoBar* infobar, in PlatformSpecificAddInfoBar()
73 infobars::InfoBar* old_infobar, in PlatformSpecificReplaceInfoBar()
74 infobars::InfoBar* new_infobar) { in PlatformSpecificReplaceInfoBar()
80 infobars::InfoBar* infobar) { in PlatformSpecificRemoveInfoBar()
/external/chromium_org/chrome/browser/ui/views/infobars/
Dinfobar_background.cc15 infobars::InfoBarDelegate::Type infobar_type) in InfoBarBackground()
17 top_color_(infobars::InfoBar::GetTopColor(infobar_type)), in InfoBarBackground()
18 bottom_color_(infobars::InfoBar::GetBottomColor(infobar_type)) { in InfoBarBackground()
35 paint.setStrokeWidth(SkIntToScalar(infobars::InfoBar::kSeparatorLineHeight)); in Paint()
57 gfx::Rect(0, view->height() - infobars::InfoBar::kSeparatorLineHeight, in Paint()
58 view->width(), infobars::InfoBar::kSeparatorLineHeight), in Paint()
Dinfobar_view.cc54 const int infobars::InfoBar::kSeparatorLineHeight =
56 const int infobars::InfoBar::kDefaultArrowTargetHeight = 9;
57 const int infobars::InfoBar::kMaximumArrowTargetHeight = 24;
58 const int infobars::InfoBar::kDefaultArrowTargetHalfWidth =
60 const int infobars::InfoBar::kMaximumArrowTargetHalfWidth = 14;
61 const int infobars::InfoBar::kDefaultBarTargetHeight = 36;
69 InfoBarView::InfoBarView(scoped_ptr<infobars::InfoBarDelegate> delegate) in InfoBarView()
70 : infobars::InfoBar(delegate.Pass()), in InfoBarView()
76 new InfoBarBackground(infobars::InfoBar::delegate()->GetInfoBarType())); in InfoBarView()
152 const infobars::InfoBarContainer::Delegate* delegate = container_delegate(); in Layout()
[all …]
Dinfobar_container_view.h13 public infobars::InfoBarContainer {
28 virtual void PlatformSpecificAddInfoBar(infobars::InfoBar* infobar,
31 infobars::InfoBar* infobar) OVERRIDE;
/external/chromium_org/chrome/browser/extensions/
Dextension_infobar_delegate.cc40 : infobars::InfoBarDelegate(), in ExtensionInfoBarDelegate()
58 height_ = std::min(2 * infobars::InfoBar::kDefaultBarTargetHeight, height_); in ExtensionInfoBarDelegate()
60 height_ = infobars::InfoBar::kDefaultBarTargetHeight; in ExtensionInfoBarDelegate()
71 infobars::InfoBarDelegate* delegate) const { in EqualsDelegate()
91 infobars::InfoBarDelegate::Type ExtensionInfoBarDelegate::GetInfoBarType() in GetInfoBarType()
/external/chromium_org/chrome/browser/geolocation/
Dgeolocation_permission_context_unittest.cc67 bool Contains(infobars::InfoBar* infobar) const;
73 std::set<infobars::InfoBar*> removed_infobars_;
90 content::Details<infobars::InfoBar::RemovedDetails>(details)->first); in Observe()
93 bool ClosedInfoBarTracker::Contains(infobars::InfoBar* infobar) const { in Contains()
279 infobars::InfoBar* infobar = infobar_service()->infobar_at(0); in TEST_F()
356 infobars::InfoBar* infobar_0 = infobar_service()->infobar_at(0); in TEST_F()
374 infobars::InfoBar* infobar_1 = infobar_service()->infobar_at(0); in TEST_F()
410 infobars::InfoBar* infobar = infobar_service()->infobar_at(0); in TEST_F()
436 infobars::InfoBar* infobar = infobar_service()->infobar_at(0); in TEST_F()
478 infobars::InfoBar* infobar_0 = infobar_service()->infobar_at(0); in TEST_F()
[all …]
Dgeolocation_infobar_delegate.cc59 infobars::InfoBar* GeolocationInfoBarDelegate::Create( in Create()
73 infobars::InfoBar* infobar = ConfirmInfoBarDelegate::CreateInfoBar( in Create()
75 return infobar_service->AddInfoBar(scoped_ptr<infobars::InfoBar>(infobar)); in Create()
125 infobars::InfoBarDelegate::Type GeolocationInfoBarDelegate::GetInfoBarType() in GetInfoBarType()
/external/chromium_org/chrome/browser/media/
Dwebrtc_browsertest_base.cc106 infobars::InfoBar* infobar = in GetUserMediaWithSpecificConstraintsAndAccept()
125 infobars::InfoBar* infobar = in GetUserMediaWithSpecificConstraintsAndDeny()
138 infobars::InfoBar* infobar = in GetUserMediaAndDismiss()
158 infobars::InfoBar* WebRtcTestBase::GetUserMediaAndWaitForInfoBar( in GetUserMediaAndWaitForInfoBar()
170 content::Details<infobars::InfoBar::AddedDetails> details( in GetUserMediaAndWaitForInfoBar()
216 content::Details<infobars::InfoBar::AddedDetails> details( in OpenPageAndAcceptUserMedia()
218 infobars::InfoBar* infobar = details.ptr(); in OpenPageAndAcceptUserMedia()
227 infobars::InfoBar* infobar) const { in CloseInfoBarInTab()

1234567