Searched defs:widget (Results 1 - 25 of 531) sorted by relevance

1234567891011>>

/external/chromium/chrome/browser/ui/gtk/
H A Downed_widget_gtk.cc15 void OwnedWidgetGtk::Own(GtkWidget* widget) { argument
16 if (!widget)
21 // widget was created. There should be a floating reference.
22 DCHECK(g_object_is_floating(widget));
25 g_object_ref_sink(widget);
26 widget_ = widget;
33 GtkWidget* widget = widget_;
35 gtk_widget_destroy(widget);
37 DCHECK(!g_object_is_floating(widget));
39 DCHECK_EQ(G_OBJECT(widget)
[all...]
H A Dfocus_store_gtk.h19 GtkWidget* widget() const { return widget_; } function in class:FocusStoreGtk
21 // Save the widget that is currently focused for |widget|'s toplevel (NOT
22 // |widget|).
23 void Store(GtkWidget* widget);
25 // Save |widget| as the focus widget. Call with NULL to clear |widget_|.
26 void SetWidget(GtkWidget* widget);
32 // The widget which last had focus.
35 // The widget fo
[all...]
H A Doverflow_button.h23 GtkWidget* widget() { return widget_.get(); } function in class:OverflowButton
H A Dfocus_store_gtk.cc20 void FocusStoreGtk::Store(GtkWidget* widget) { argument
22 if (widget) {
23 GtkWindow* window = platform_util::GetTopLevel(widget);
31 void FocusStoreGtk::SetWidget(GtkWidget* widget) { argument
36 widget_ = widget;
H A Dfullscreen_exit_bubble_gtk.h28 GtkWidget* widget() const { function in class:FullscreenExitBubbleGtk
29 return slide_widget_->widget();
42 // The widget that animates the slide-out of fullscreen exit bubble.
H A Downed_widget_gtk.h6 // ownership between a C++ object and a GTK widget. It is common to have a
7 // C++ object which encapsulates a GtkWidget, and that widget is exposed from
18 // GtkWidget* widget() { return vbox_.get() }; // Host my widget!
23 // This design will ensure that the widget stays alive from the call to Own()
33 // container owns the widget, and if we remove the widget from the container,
34 // the widget is destroyed. This style of ownership often causes problems when
35 // you have an object encapsulating the widget. If we just use a raw
36 // GtkObject* with no specific ownership management, we push the widget'
62 OwnedWidgetGtk(GtkWidget* widget) argument
[all...]
/external/chromium_org/content/renderer/
H A Dime_event_guard.cc11 ImeEventGuard::ImeEventGuard(RenderWidget* widget) : widget_(widget) { argument
/external/chromium/chrome/browser/ui/views/
H A Ddom_view_browsertest.cc9 #include "views/widget/root_view.h"
10 #include "views/widget/widget.h"
19 Widget* widget = Widget::CreateWidget(params); local
20 widget->Init(NULL, gfx::Rect(0, 0, 400, 400));
21 return widget;
/external/chromium_org/ash/keyboard_overlay/
H A Dkeyboard_overlay_delegate_unittest.cc13 #include "ui/views/widget/widget.h"
19 // Verifies we can show and close the widget for the overlay dialog.
27 // Showing the dialog creates a widget.
28 views::Widget* widget = delegate.Show(NULL); local
29 EXPECT_TRUE(widget);
31 // The widget is on the primary root window.
33 widget->GetNativeWindow()->GetRootWindow());
35 // The widget is horizontally centered at the bottom of the work area.
37 gfx::Rect bounds = widget
[all...]
/external/chromium_org/chrome/browser/ui/libgtk2ui/
H A Downed_widget_gtk2.cc17 void OwnedWidgetGtk::Own(GtkWidget* widget) { argument
18 if (!widget)
23 // widget was created. There should be a floating reference.
24 DCHECK(g_object_is_floating(widget));
27 g_object_ref_sink(widget);
28 widget_ = widget;
35 GtkWidget* widget = widget_;
37 gtk_widget_destroy(widget);
39 DCHECK(!g_object_is_floating(widget));
41 DCHECK_EQ(G_OBJECT(widget)
[all...]
H A Downed_widget_gtk2.h6 // ownership between a C++ object and a GTK widget. It is common to have a
7 // C++ object which encapsulates a GtkWidget, and that widget is exposed from
18 // GtkWidget* widget() { return vbox_.get() }; // Host my widget!
23 // This design will ensure that the widget stays alive from the call to Own()
33 // container owns the widget, and if we remove the widget from the container,
34 // the widget is destroyed. This style of ownership often causes problems when
35 // you have an object encapsulating the widget. If we just use a raw
36 // GtkObject* with no specific ownership management, we push the widget'
63 OwnedWidgetGtk(GtkWidget* widget) argument
[all...]
/external/chromium_org/chrome/browser/ui/views/
H A Dchrome_web_dialog_view.cc8 #include "ui/views/widget/widget.h"
16 views::Widget* widget = NULL; local
18 widget = views::Widget::CreateWindowWithParent(
25 widget = views::Widget::CreateWindow(
31 widget->Show();
32 return widget->GetNativeWindow();
H A Dfind_bar_controller_interactive_uitest.cc16 #include "ui/views/widget/widget.h"
41 views::Widget* widget = views::Widget::GetWidgetForNativeWindow(window); local
42 views::FocusManager* focus_manager = widget->GetFocusManager();
/external/chromium_org/content/browser/renderer_host/
H A Dbacking_store.cc9 BackingStore::BackingStore(RenderWidgetHost* widget, const gfx::Size& size) argument
10 : render_widget_host_(widget),
H A Dgtk_plugin_container_manager.h24 // Sets the widget that will host the plugin containers. Must be a GtkFixed.
25 void set_host_widget(GtkWidget *widget) { host_widget_ = widget; } argument
38 // Maps a plugin XID to the corresponding container widget.
41 // Maps a container widget to the corresponding plugin XID.
42 gfx::PluginWindowHandle MapWidgetToID(GtkWidget* widget);
46 static void RealizeCallback(GtkWidget *widget, void *user_data);
/external/chromium_org/ui/base/gtk/
H A Downed_widget_gtk.cc17 void OwnedWidgetGtk::Own(GtkWidget* widget) { argument
18 if (!widget)
23 // widget was created. There should be a floating reference.
24 DCHECK(g_object_is_floating(widget));
27 g_object_ref_sink(widget);
28 widget_ = widget;
35 GtkWidget* widget = widget_;
37 gtk_widget_destroy(widget);
39 DCHECK(!g_object_is_floating(widget));
41 DCHECK_EQ(G_OBJECT(widget)
[all...]
H A Dfocus_store_gtk.h20 GtkWidget* widget() const { return widget_; } function in class:ui::FocusStoreGtk
22 // Save the widget that is currently focused for |widget|'s toplevel (NOT
23 // |widget|).
24 void Store(GtkWidget* widget);
26 // Save |widget| as the focus widget. Call with NULL to clear |widget_|.
27 void SetWidget(GtkWidget* widget);
33 // The widget which last had focus.
36 // The widget fo
[all...]
H A Downed_widget_gtk.h6 // ownership between a C++ object and a GTK widget. It is common to have a
7 // C++ object which encapsulates a GtkWidget, and that widget is exposed from
18 // GtkWidget* widget() { return vbox_.get() }; // Host my widget!
23 // This design will ensure that the widget stays alive from the call to Own()
33 // container owns the widget, and if we remove the widget from the container,
34 // the widget is destroyed. This style of ownership often causes problems when
35 // you have an object encapsulating the widget. If we just use a raw
36 // GtkObject* with no specific ownership management, we push the widget'
64 OwnedWidgetGtk(GtkWidget* widget) argument
[all...]
/external/chromium_org/ui/views/focus/
H A Daccelerator_handler_win.cc11 #include "ui/views/widget/widget.h"
20 Widget* widget = Widget::GetTopLevelWidgetForNativeView(msg.hwnd); local
21 FocusManager* focus_manager = widget ? widget->GetFocusManager() : NULL;
/external/chromium_org/ui/views/test/
H A Dtest_widget_observer.cc8 #include "ui/views/widget/widget.h"
13 TestWidgetObserver::TestWidgetObserver(Widget* widget) argument
14 : widget_(widget) {
23 void TestWidgetObserver::OnWidgetDestroying(Widget* widget) { argument
24 DCHECK_EQ(widget_, widget);
/external/chromium_org/ui/views/widget/
H A Dwidget_deletion_observer.cc5 #include "ui/views/widget/widget_deletion_observer.h"
7 #include "ui/views/widget/widget.h"
11 WidgetDeletionObserver::WidgetDeletionObserver(Widget* widget) argument
12 : widget_(widget) {
21 void WidgetDeletionObserver::OnWidgetDestroying(Widget* widget) { argument
/external/chromium/chrome/browser/ui/gtk/infobars/
H A Dinfobar_container_gtk.h26 // Get the native widget.
27 GtkWidget* widget() const { return container_.get(); } function in class:InfoBarContainerGtk
/external/chromium_org/ash/system/tray/
H A Dtray_bubble_wrapper.cc13 #include "ui/views/widget/widget.h"
40 void TrayBubbleWrapper::OnWidgetDestroying(views::Widget* widget) { argument
41 CHECK_EQ(bubble_widget_, widget);
/external/chromium_org/chrome/browser/ui/gtk/
H A Doverflow_button.h23 GtkWidget* widget() { return widget_.get(); } function in class:OverflowButton
/external/chromium_org/ui/views/
H A Dbutton_drag_utils.cc27 views::Widget* widget) {
47 views::GetCanvasForDragImage(widget, prefsize));
23 SetURLAndDragImage(const GURL& url, const string16& title, const gfx::ImageSkia& icon, ui::OSExchangeData* data, views::Widget* widget) argument

Completed in 712 milliseconds

1234567891011>>