Home
last modified time | relevance | path

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

/external/chromium/chrome/browser/ui/views/download/
Ddownload_started_animation_win.cc58 views::Widget* popup_; member in __anon32ffe1270111::DownloadStartedAnimationWin
79 popup_(NULL), in DownloadStartedAnimationWin()
108 popup_ = views::Widget::CreateWidget(params); in DownloadStartedAnimationWin()
109 popup_->SetOpacity(0x00); in DownloadStartedAnimationWin()
110 popup_->Init(tab_contents_->GetNativeView(), rc); in DownloadStartedAnimationWin()
111 popup_->SetContentsView(this); in DownloadStartedAnimationWin()
113 popup_->Show(); in DownloadStartedAnimationWin()
127 popup_->SetBounds(gfx::Rect( in Reposition()
148 popup_->Close(); in Close()
161 popup_->SetOpacity( in AnimateToState()
/external/chromium/chrome/browser/ui/gtk/download/
Ddownload_started_animation_gtk.cc57 GtkWidget* popup_; member in __anondbe8f0170111::DownloadStartedAnimationGtk
109 popup_ = gtk_window_new(GTK_WINDOW_POPUP); in DownloadStartedAnimationGtk()
111 gtk_container_add(GTK_CONTAINER(popup_), image); in DownloadStartedAnimationGtk()
120 gtk_widget_shape_combine_mask(popup_, mask, 0, 0); in DownloadStartedAnimationGtk()
124 gtk_widget_show_all(popup_); in DownloadStartedAnimationGtk()
126 gtk_window_present(GTK_WINDOW(popup_)); in DownloadStartedAnimationGtk()
140 gtk_window_move(GTK_WINDOW(popup_), in Reposition()
160 gtk_widget_destroy(popup_); in Close()
178 gtk_window_set_opacity(GTK_WINDOW(popup_), opacity); in AnimateToState()
/external/chromium/chrome/browser/ui/views/
Dtheme_install_bubble_view.cc32 : popup_(NULL) { in ThemeInstallBubbleView()
77 popup_ = views::Widget::CreateWidget(params); in ThemeInstallBubbleView()
78 popup_->SetOpacity(0xCC); in ThemeInstallBubbleView()
79 popup_->Init(tab_contents->GetNativeView(), rc); in ThemeInstallBubbleView()
80 popup_->SetContentsView(this); in ThemeInstallBubbleView()
82 popup_->Show(); in ThemeInstallBubbleView()
99 if (!popup_) in Reposition()
112 popup_->SetBounds(gfx::Rect(x, y, size.width(), size.height())); in Reposition()
149 if (!popup_) { in Close()
155 popup_->Close(); in Close()
Dstatus_bubble_views.cc82 popup_(popup), in StatusView()
165 views::Widget* popup_; member in StatusBubbleViews::StatusView
199 popup_->Show(); in Show()
209 popup_->Hide(); in Hide()
281 popup_->Show(); in StartShowing()
311 popup_->SetOpacity(static_cast<unsigned char>(opacity * 255)); in SetOpacity()
325 popup_->Hide(); in AnimationEnded()
346 gfx::Rect popup_bounds = popup_->GetWindowScreenBounds(); in OnPaint()
544 popup_(NULL), in StatusBubbleViews()
556 if (popup_.get()) in ~StatusBubbleViews()
[all …]
Dfullscreen_exit_bubble.cc122 popup_(NULL), in FullscreenExitBubble()
138 popup_ = views::Widget::CreateWidget(params); in FullscreenExitBubble()
139 popup_->SetOpacity(static_cast<unsigned char>(0xff * kOpacity)); in FullscreenExitBubble()
140 popup_->Init(frame->GetNativeView(), GetPopupRect(false)); in FullscreenExitBubble()
141 popup_->SetContentsView(view_); in FullscreenExitBubble()
142 popup_->Show(); // This does not activate the popup. in FullscreenExitBubble()
165 popup_->Close(); in ~FullscreenExitBubble()
166 MessageLoop::current()->DeleteSoon(FROM_HERE, popup_); in ~FullscreenExitBubble()
177 popup_->Hide(); in AnimationProgressed()
179 popup_->SetBounds(popup_rect); in AnimationProgressed()
[all …]
Dbrowser_bubble_gtk.cc122 popup_ = pop; in InitPopup()
130 views::WidgetGtk* pop = static_cast<views::WidgetGtk*>(popup_); in MovePopup()
137 static_cast<BubbleWidget*>(popup_)->ShowAndActivate(activate); in Show()
144 views::WidgetGtk* pop = static_cast<views::WidgetGtk*>(popup_); in Hide()
151 static_cast<BubbleWidget*>(popup_)->border_contents(); in ResizeToView()
Dbrowser_bubble_win.cc121 popup_ = pop; in InitPopup()
129 views::WidgetWin* pop = static_cast<views::WidgetWin*>(popup_); in MovePopup()
136 BubbleWidget* pop = static_cast<BubbleWidget*>(popup_); in Show()
144 views::WidgetWin* pop = static_cast<views::WidgetWin*>(popup_); in Hide()
151 static_cast<BubbleWidget*>(popup_)->border_widget(); in ResizeToView()
Dbrowser_bubble.h96 gfx::NativeView native_view() const { return popup_->GetNativeView(); } in native_view()
112 views::Widget* popup_; variable
Dbrowser_actions_container.cc352 popup_(NULL), in BrowserActionsContainer()
491 bool same_showing = popup_ && button == popup_button_; in OnBrowserActionExecuted()
512 popup_ = ExtensionPopup::Show(button->GetPopupUrl(), browser_, rect, in OnBrowserActionExecuted()
794 DCHECK_EQ(popup_, popup); in ExtensionPopupIsClosing()
795 popup_ = NULL; in ExtensionPopupIsClosing()
811 if (popup_) in HidePopup()
812 popup_->Close(); in HidePopup()
932 if (popup_ && popup_->host()->extension() == extension) in BrowserActionRemoved()
Dtheme_install_bubble_view.h65 views::Widget* popup_; variable
Dfullscreen_exit_bubble.h76 views::Widget* popup_; variable
Dstatus_bubble_views.h114 scoped_ptr<views::Widget> popup_; variable
Dbrowser_actions_container.h378 ExtensionPopup* TestGetPopup() { return popup_; } in TestGetPopup()
477 ExtensionPopup* popup_; variable
Dbrowser_bubble.cc56 popup_->Close(); in ~BrowserBubble()
/external/chromium/chrome/browser/autocomplete/
Dautocomplete_edit.cc71 popup_(NULL), in AutocompleteEditModel()
94 popup_->set_profile(profile); in SetProfile()
170 } else if (popup_->IsOpen()) { in FinalizeInstantQuery()
215 if (user_input_in_progress() && popup_->IsOpen()) { in OnChanged()
274 if (view_->DeleteAtEndPressed() || (popup_->selected_line() != 0) || in UseVerbatimInstant()
386 popup_->SetHoveredLine(AutocompletePopupModel::kNoMatch); in StartAutocomplete()
400 if (popup_->IsOpen() && update_instant_) { in StopAutocomplete()
489 if (popup_->IsOpen()) { in OpenURL()
492 popup_->selected_line(), 0, result()); in OpenURL()
543 if (instant && !popup_->IsOpen()) in OpenURL()
[all …]
Dautocomplete_popup_view_mac.mm290 popup_(nil), function
313 if (popup_ && [[[popup_ contentView] subviews] count]) {
314 NSArray* subviews = [[popup_ contentView] subviews];
322 return popup_ != nil;
326 if (!popup_) {
327 popup_.reset([[NSWindow alloc] initWithContentRect:NSZeroRect
331 [popup_ setMovableByWindowBackground:NO];
333 [popup_ setAlphaValue:1.0];
334 [popup_ setOpaque:NO];
335 [popup_ setBackgroundColor:[NSColor clearColor]];
[all …]
Dautocomplete_edit.h113 popup_ = popup_model; in set_popup_model()
118 AutocompletePopupModel* popup_model() const { return popup_; } in popup_model()
444 AutocompletePopupModel* popup_; variable
Dautocomplete_popup_view_mac.h144 scoped_nsobject<NSWindow> popup_; variable
/external/chromium/chrome/browser/ui/views/location_bar/
Dpage_action_image_view.cc29 popup_(NULL) { in PageActionImageView()
52 if (popup_) in ~PageActionImageView()
73 bool popup_showing = popup_ != NULL; in ExecuteAction()
90 popup_ = ExtensionPopup::Show( in ExecuteAction()
238 DCHECK_EQ(popup_, popup); in ExtensionPopupIsClosing()
240 popup_ = NULL; in ExtensionPopupIsClosing()
244 if (popup_) in HidePopup()
245 popup_->Close(); in HidePopup()
Dpage_action_image_view.h110 ExtensionPopup* popup_; variable
/external/chromium/chrome/browser/first_run/
Dtry_chrome_dialog_view.cc49 popup_(NULL), in TryChromeDialogView()
69 popup_ = views::Widget::CreateWidget(params); in ShowModal()
70 if (!popup_) { in ShowModal()
76 popup_->Init(NULL, pos); in ShowModal()
78 views::RootView* root_view = popup_->GetRootView(); in ShowModal()
198 popup_->SetBounds(pos); in ShowModal()
201 SetToastRegion(popup_->GetNativeView(), in ShowModal()
206 process_singleton->Lock(popup_->GetNativeView()); in ShowModal()
207 popup_->Show(); in ShowModal()
254 popup_->Close(); in ButtonPressed()
Dtry_chrome_dialog_view.h101 views::Widget* popup_; variable
/external/chromium/chrome/browser/ui/views/autocomplete/
Dautocomplete_popup_contents_view.cc265 return (popup_ != NULL); in IsOpen()
275 if (popup_ != NULL) { in UpdatePopupAppearance()
281 popup_->Close(); // This will eventually delete the popup. in UpdatePopupAppearance()
282 popup_.reset(); in UpdatePopupAppearance()
329 if (popup_ == NULL) { in UpdatePopupAppearance()
331 popup_ = (new AutocompletePopupClass)->AsWeakPtr(); in UpdatePopupAppearance()
335 popup_->SetCreateParams(params); in UpdatePopupAppearance()
336 popup_->Init(location_bar_->GetWidget()->GetNativeView(), GetPopupBounds()); in UpdatePopupAppearance()
337 popup_->SetContentsView(this); in UpdatePopupAppearance()
338 popup_->MoveAbove(popup_->GetRelativeWindowForPopup( in UpdatePopupAppearance()
[all …]
Dautocomplete_popup_contents_view.h152 base::WeakPtr<AutocompletePopupClass> popup_; variable
/external/chromium/chrome/browser/ui/views/tabs/
Ddragged_tab_controller.cc200 popup_(NULL), in DockDisplayer()
210 popup_ = views::Widget::CreateWidget(params); in DockDisplayer()
211 popup_->SetOpacity(0x00); in DockDisplayer()
212 popup_->Init(NULL, info.GetPopupRect()); in DockDisplayer()
213 popup_->SetContentsView(new DockView(info.type())); in DockDisplayer()
218 popup_->Show(); in DockDisplayer()
222 popup_view_ = popup_->GetNativeView(); in DockDisplayer()
252 if (!popup_) { in Hide()
268 static_cast<views::WidgetWin*>(popup_)->Close(); in AnimationEnded()
278 static_cast<views::WidgetWin*>(popup_)->SetOpacity( in UpdateLayeredAlpha()
[all …]