Home
last modified time | relevance | path

Searched refs:widget_ (Results 1 – 19 of 19) sorted by relevance

/external/chromium/chrome/browser/ui/gtk/
Dtheme_install_bubble_view_gtk.cc47 : widget_(NULL), in ThemeInstallBubbleViewGtk()
80 gtk_widget_destroy(widget_); in ~ThemeInstallBubbleViewGtk()
86 widget_ = gtk_window_new(GTK_WINDOW_POPUP); in InitWidgets()
87 gtk_container_set_border_width(GTK_CONTAINER(widget_), kTextPadding); in InitWidgets()
97 gtk_container_add(GTK_CONTAINER(widget_), label); in InitWidgets()
106 GdkScreen* screen = gtk_widget_get_screen(widget_); in InitWidgets()
110 gtk_widget_set_colormap(widget_, colormap); in InitWidgets()
116 gtk_widget_set_app_paintable(widget_, TRUE); in InitWidgets()
117 g_signal_connect(widget_, "expose-event", in InitWidgets()
119 gtk_widget_realize(widget_); in InitWidgets()
[all …]
Dfocus_store_gtk.cc12 : widget_(NULL), in FocusStoreGtk()
36 widget_ = widget; in SetWidget()
37 if (widget_) { in SetWidget()
39 destroy_handler_id_ = g_signal_connect(widget_, "destroy", in SetWidget()
41 &widget_); in SetWidget()
46 if (widget_) { in DisconnectDestroyHandler()
47 g_signal_handler_disconnect(widget_, destroy_handler_id_); in DisconnectDestroyHandler()
48 widget_ = NULL; in DisconnectDestroyHandler()
Dslide_animator_gtk.cc38 widget_.Own(gtk_expanded_container_new()); in SlideAnimatorGtk()
39 gtk_container_add(GTK_CONTAINER(widget_.get()), child); in SlideAnimatorGtk()
40 gtk_widget_set_size_request(widget_.get(), -1, 0); in SlideAnimatorGtk()
45 g_signal_connect(widget_.get(), "child-size-request", in SlideAnimatorGtk()
67 widget_.Destroy(); in ~SlideAnimatorGtk()
74 gtk_widget_show(widget_.get()); in Open()
79 gtk_widget_show(widget_.get()); in OpenWithoutAnimation()
100 gtk_widget_hide(widget_.get()); in CloseWithoutAnimation()
122 gtk_expanded_container_move(GTK_EXPANDED_CONTAINER(widget_.get()), in AnimationProgressed()
126 gtk_widget_set_size_request(widget_.get(), -1, showing_height); in AnimationProgressed()
[all …]
Dcustom_button.h123 GtkWidget* widget_; variable
165 GtkWidget* widget() const { return widget_.get(); } in widget()
168 return gfx::Rect(widget_->allocation.x, in bounds()
169 widget_->allocation.y, in bounds()
170 widget_->allocation.width, in bounds()
171 widget_->allocation.height); in bounds()
174 int width() const { return widget_->allocation.width; } in width()
175 int height() const { return widget_->allocation.height; } in height()
209 OwnedWidgetGtk widget_; variable
Downed_widget_gtk.h60 OwnedWidgetGtk() : widget_(NULL) { } in OwnedWidgetGtk()
62 explicit OwnedWidgetGtk(GtkWidget* widget) : widget_(NULL) { Own(widget); } in OwnedWidgetGtk()
67 GtkWidget* get() const { return widget_; } in get()
68 GtkWidget* operator->() const { return widget_; }
86 GtkWidget* widget_;
Downed_widget_gtk.cc19 DCHECK(!widget_); in Own()
26 widget_ = widget; in Own()
30 if (!widget_) in Destroy()
33 GtkWidget* widget = widget_; in Destroy()
34 widget_ = NULL; in Destroy()
Dcustom_button.cc173 widget_(NULL) { in CustomDrawHoverController()
179 widget_(NULL) { in CustomDrawHoverController()
186 DCHECK(widget_ == NULL); in Init()
187 widget_ = widget; in Init()
188 g_signal_connect(widget_, "enter-notify-event", in Init()
190 g_signal_connect(widget_, "leave-notify-event", in Init()
196 gtk_widget_queue_draw(widget_); in AnimationProgressed()
270 widget_.Destroy(); in ~CustomDrawButton()
275 widget_.Own(gtk_chrome_button_new()); in Init()
Doverflow_button.cc17 widget_.Own(GtkThemeService::GetFrom(profile)->BuildChromeButton()); in OverflowButton()
18 gtk_widget_set_no_show_all(widget_.get(), TRUE); in OverflowButton()
26 widget_.Destroy(); in ~OverflowButton()
Dfocus_store_gtk.h19 GtkWidget* widget() const { return widget_; } in widget()
33 GtkWidget* widget_; variable
Doverflow_button.h23 GtkWidget* widget() { return widget_.get(); } in widget()
31 OwnedWidgetGtk widget_; variable
Dslide_animator_gtk.h60 GtkWidget* widget() { return widget_.get(); } in widget()
102 OwnedWidgetGtk widget_; variable
Dreload_button_gtk.cc39 widget_(gtk_chrome_button_new()), in ReloadButtonGtk()
76 widget_.Destroy(); in ~ReloadButtonGtk()
93 gtk_chrome_button_unset_paint_state(GTK_CHROME_BUTTON(widget_.get())); in ChangeMode()
110 gtk_chrome_button_set_paint_state(GTK_CHROME_BUTTON(widget_.get()), in ChangeMode()
Dreload_button_gtk.h31 GtkWidget* widget() const { return widget_.get(); } in widget()
86 OwnedWidgetGtk widget_; variable
Dtheme_install_bubble_view_gtk.h46 GtkWidget* widget_; variable
/external/chromium/chrome/browser/tab_contents/
Dweb_drag_dest_gtk.cc45 widget_(widget), in WebDragDestGtk()
65 widget, "destroy", G_CALLBACK(gtk_widget_destroyed), &widget_); in WebDragDestGtk()
69 if (widget_) { in ~WebDragDestGtk()
70 gtk_drag_dest_unset(widget_); in ~WebDragDestGtk()
71 g_signal_handler_disconnect(widget_, destroy_handler_); in ~WebDragDestGtk()
118 gtk_drag_get_data(widget_, context, in OnDragMotion()
123 gtk_drag_get_data(widget_, context, GetBookmarkTargetAtom(), time); in OnDragMotion()
127 gtk_util::ClientPoint(widget_), in OnDragMotion()
128 gtk_util::ScreenPoint(widget_), in OnDragMotion()
231 gtk_util::ClientPoint(widget_), in OnDragDataReceived()
[all …]
Dthumbnail_generator_unittest.cc36 widget_(process_, 1),
37 view_(&widget_) {
39 widget_.set_view(&view_);
47 Details<RenderViewHost>(reinterpret_cast<RenderViewHost*>(&widget_)));
88 widget_.OnMessageReceived(msg);
121 RenderWidgetHost widget_;
138 SkBitmap result = generator_.GetThumbnailForRenderer(&widget_);
146 widget_.WasHidden();
147 ASSERT_TRUE(BackingStoreManager::ExpireBackingStoreForTest(&widget_));
148 ASSERT_FALSE(widget_.GetBackingStore(false, false));
[all …]
Dweb_drag_dest_gtk.h61 GtkWidget* widget_; variable
/external/chromium/chrome/browser/chromeos/login/
Dwizard_controller.cc229 : widget_(NULL), in WizardController()
249 if (widget_) { in ~WizardController()
250 widget_->Close(); in ~WizardController()
251 widget_ = NULL; in ~WizardController()
361 if (widget_) { in ShowLoginScreen()
362 widget_->Close(); in ShowLoginScreen()
363 widget_ = NULL; in ShowLoginScreen()
573 widget_ = views::Widget::CreateWidget(widget_params); in CreateScreenWindow()
577 static_cast<views::WidgetGtk*>(widget_)->EnableDoubleBuffer(true); in CreateScreenWindow()
578 widget_->Init(NULL, bounds); in CreateScreenWindow()
[all …]
Dwizard_controller.h219 views::Widget* widget_; variable