Searched refs:widget (Results 26 - 50 of 487) sorted by relevance

1234567891011>>

/external/webkit/Source/WebCore/accessibility/mac/
H A DAccessibilityObjectMac.mm40 Widget* widget = 0;
41 if (isAttachment() && (widget = widgetForAttachmentView()) && widget->isFrameView())
/external/chromium/chrome/browser/ui/gtk/
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...]
H A Dgtk_floating_container.cc26 // Returns the GtkFloatingContainerChild associated with |widget| (or NULL if
27 // |widget| not found).
29 GtkWidget* widget) {
35 if (child->widget == widget)
47 GtkWidget* widget);
52 static void gtk_floating_container_size_request(GtkWidget* widget,
54 static void gtk_floating_container_size_allocate(GtkWidget* widget,
96 "X position of child widget",
107 "Y position of child widget",
28 GetChild(GtkFloatingContainer* container, GtkWidget* widget) argument
131 gtk_floating_container_remove(GtkContainer* container, GtkWidget* widget) argument
193 gtk_floating_container_size_request(GtkWidget* widget, GtkRequisition* requisition) argument
204 gtk_floating_container_size_allocate(GtkWidget* widget, GtkAllocation* allocation) argument
304 gtk_floating_container_add_floating(GtkFloatingContainer* container, GtkWidget* widget) argument
[all...]
H A Dreload_button_gtk.cc43 gtk_widget_set_size_request(widget(), reload_.Width(), reload_.Height());
45 gtk_widget_set_app_paintable(widget(), TRUE);
47 g_signal_connect(widget(), "clicked", G_CALLBACK(OnClickedThunk), this);
48 g_signal_connect(widget(), "expose-event", G_CALLBACK(OnExposeThunk), this);
49 g_signal_connect(widget(), "leave-notify-event",
51 GTK_WIDGET_UNSET_FLAGS(widget(), GTK_CAN_FOCUS);
53 gtk_widget_set_has_tooltip(widget(), TRUE);
54 g_signal_connect(widget(), "query-tooltip", G_CALLBACK(OnQueryTooltipThunk),
57 hover_controller_.Init(widget());
58 gtk_util::SetButtonTriggersNavigation(widget());
195 OnExpose(GtkWidget* widget, GdkEventExpose* e) argument
[all...]
H A Dback_forward_button_gtk.cc48 gtk_widget_set_tooltip_text(widget(),
54 g_signal_connect(widget(), "clicked",
56 g_signal_connect(widget(), "button-press-event",
58 gtk_widget_add_events(widget(), GDK_POINTER_MOTION_MASK);
59 g_signal_connect(widget(), "motion-notify-event",
62 // Popup the menu as left-aligned relative to this widget rather than the
64 g_object_set_data(G_OBJECT(widget()), "left-align-popup",
67 gtk_util::SetButtonTriggersNavigation(widget());
84 menu_->PopupForWidget(widget(), button, event_time);
87 void BackForwardButtonGtk::OnClick(GtkWidget* widget) { argument
95 OnButtonPress(GtkWidget* widget, GdkEventButton* event) argument
112 OnMouseMove(GtkWidget* widget, GdkEventMotion* event) argument
[all...]
H A Dbrowser_toolbar_gtk.cc77 void SetWidgetHeightRequest(GtkWidget* widget, gpointer user_data) { argument
78 gtk_widget_set_size_request(widget, -1, GPOINTER_TO_INT(user_data));
147 g_signal_connect(back_->widget(), "clicked",
149 gtk_box_pack_start(GTK_BOX(toolbar_left_), back_->widget(), FALSE,
153 g_signal_connect(forward_->widget(), "clicked",
155 gtk_box_pack_start(GTK_BOX(toolbar_left_), forward_->widget(), FALSE,
159 gtk_box_pack_start(GTK_BOX(toolbar_left_), reload_->widget(), FALSE, FALSE,
165 gtk_widget_set_tooltip_text(home_->widget(),
167 g_signal_connect(home_->widget(), "clicked",
169 gtk_box_pack_start(GTK_BOX(toolbar_left_), home_->widget(), FALS
282 GtkWidget* widget = NULL; local
448 OnAlignmentExpose(GtkWidget* widget, GdkEventExpose* e) argument
589 OnDragDataReceived(GtkWidget* widget, GdkDragContext* drag_context, gint x, gint y, GtkSelectionData* data, guint info, guint time) argument
[all...]
H A Drounded_window.cc202 gboolean OnRoundedWindowExpose(GtkWidget* widget, argument
205 g_object_get_data(G_OBJECT(widget), kRoundedData));
207 if (data->expected_width != widget->allocation.width ||
208 data->expected_height != widget->allocation.height) {
209 data->expected_width = widget->allocation.width;
210 data->expected_height = widget->allocation.height;
219 gdk_window_shape_combine_region(widget->window, mask_region, 0, 0);
246 void OnStyleSet(GtkWidget* widget, GtkStyle* previous_style) { argument
247 DCHECK(widget);
249 g_object_get_data(G_OBJECT(widget), kRoundedDat
257 ActAsRoundedWindow( GtkWidget* widget, const GdkColor& color, int corner_size, int rounded_edges, int drawn_borders) argument
286 StopActingAsRoundedWindow(GtkWidget* widget) argument
296 IsActingAsRoundedWindow(GtkWidget* widget) argument
300 SetRoundedWindowEdgesAndBorders(GtkWidget* widget, int corner_size, int rounded_edges, int drawn_borders) argument
313 SetRoundedWindowBorderColor(GtkWidget* widget, GdkColor color) argument
[all...]
H A Dtabstrip_origin_provider.h13 // Abstract interface that provides an offset of a widget. Many pieces of the
23 // the origin of the GdkWindow of widget(), but the y coordinate of the origin
24 // of widget() itself.
26 // Should only be called after both the tabstrip and |widget| have been
28 virtual gfx::Point GetTabStripOriginForWidget(GtkWidget* widget) = 0;
H A Dgtk_chrome_button.cc39 static gboolean gtk_chrome_button_expose(GtkWidget* widget,
91 static gboolean gtk_chrome_button_expose(GtkWidget* widget, argument
93 GtkChromeButtonPrivate *priv = GTK_CHROME_BUTTON_GET_PRIVATE(widget);
95 GTK_WIDGET_STATE(widget) : priv->paint_state;
104 GTK_BUTTON(widget)->depressed = (paint_state == GTK_STATE_ACTIVE);
106 (widget, event);
116 g_nine_box_active->RenderToWidget(widget);
118 g_nine_box_prelight->RenderToWidgetWithOpacity(widget,
123 // If we have a child widget, draw it.
124 if (gtk_bin_get_child(GTK_BIN(widget))) {
[all...]
H A Dview_id_util.h25 // widget to a human-readable value for debugging.
26 static void SetID(GtkWidget* widget, ViewID id);
30 static void SetDelegateForWidget(GtkWidget* widget, Delegate* delegate);
/external/webkit/Source/WebCore/platform/wx/
H A DScreenWx.cpp49 FloatRect screenRect(Widget* widget) argument
53 Widget* widget = widget->widget();
54 displayNum = wxDisplay::GetFromWindow(widget->nativeWindow());
63 int screenDepth(Widget* widget) argument
73 bool screenIsMonochrome(Widget* widget) argument
78 FloatRect screenAvailableRect(Widget* widget) argument
81 Widget* widget = widget
[all...]
/external/webkit/Source/WebCore/platform/android/
H A DWidgetAndroid.cpp39 Widget::Widget(PlatformWidget widget) argument
41 init(widget);
108 const Widget* widget = this; local
109 while (!widget->isFrameView()) {
110 widget = widget->parent();
111 if (!widget)
114 if (!widget)
117 static_cast<const ScrollView*>(widget));
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
H A DShadowButton.java3 import android.widget.Button;
4 import android.widget.TextView;
H A DShadowAbsSeekBar.java3 import android.widget.AbsSeekBar;
H A DShadowAbsoluteLayout.java3 import android.widget.AbsoluteLayout;
H A DShadowFilter.java3 import android.widget.Filter;
H A DShadowLinearLayout.java3 import android.widget.LinearLayout;
H A DShadowGridView.java3 import android.widget.GridView;
4 import android.widget.ListAdapter;
/external/webkit/Source/WebCore/page/efl/
H A DEventHandlerEfl.cpp69 return passMouseDownEventToWidget(static_cast<RenderWidget*>(target)->widget());
74 return passMouseDownEventToWidget(renderWidget->widget());
77 bool EventHandler::passMouseDownEventToWidget(Widget* widget) argument
89 bool EventHandler::passWheelEventToWidget(PlatformWheelEvent& event, Widget* widget) argument
91 ASSERT(widget);
92 if (!widget->isFrameView())
95 return static_cast<FrameView*>(widget)->frame()->eventHandler()->handleWheelEvent(event);
/external/webkit/Source/WebCore/platform/brew/
H A DScreenBrew.cpp70 FloatRect screenAvailableRect(Widget* widget) argument
72 return screenRect(widget);
83 int screenDepthPerComponent(Widget* widget) argument
85 return screenDepth(widget);
H A DWidgetBrew.cpp36 Widget::Widget(PlatformWidget widget) argument
38 init(widget);
/external/webkit/Source/WebCore/platform/efl/
H A DPlatformScreenEfl.cpp49 int screenDepth(Widget* widget) argument
67 FloatRect screenRect(Widget* widget) argument
84 FloatRect screenAvailableRect(Widget* widget) argument
87 return screenRect(widget);
/external/webkit/Source/WebCore/plugins/
H A DPluginViewBase.h39 // PluginViewBase is a widget that all plug-in views inherit from, both in Webkit and WebKit2.
51 PluginViewBase(PlatformWidget widget = 0) : Widget(widget) { }
/external/webkit/Source/WebKit/gtk/WebCoreSupport/
H A DPasteboardHelperGtk.cpp59 bool PasteboardHelperGtk::usePrimarySelectionClipboard(GtkWidget* widget) argument
61 return webkit_web_view_use_primary_for_paste(WEBKIT_WEB_VIEW((widget)));
/external/webkit/Source/WebCore/platform/gtk/
H A DRenderThemeGtk2.cpp99 static void adjustRectForFocus(GtkWidget* widget, IntRect& rect, bool ignoreInteriorFocusProperty = false) argument
103 gtk_widget_style_get(widget,
144 static void setToggleSize(const RenderThemeGtk* theme, RenderStyle* style, GtkWidget* widget) argument
151 gtk_widget_style_get(widget, "indicator-size", &indicatorSize, NULL);
158 static void paintToggle(RenderThemeGtk* theme, RenderObject* renderObject, const PaintInfo& info, const IntRect& rect, GtkWidget* widget) argument
164 gtk_widget_set_sensitive(widget, theme->isEnabled(renderObject) && !theme->isReadOnlyControl(renderObject));
165 gtk_widget_set_direction(widget, gtkTextDirection(renderObject->style()->direction()));
168 gtk_toggle_button_set_inconsistent(GTK_TOGGLE_BUTTON(widget), indeterminate);
180 if (GTK_IS_RADIO_BUTTON(widget)) {
182 widgetContext.gtkPaintOption(buttonRect, widget, toggleStat
217 setWidgetHasFocus(GtkWidget* widget, gboolean hasFocus) argument
426 GtkWidget* widget = gtkEntry(); local
477 GtkWidget* widget = 0; local
503 GtkWidget* widget = 0; local
537 GtkWidget* widget = part == SliderThumbHorizontalPart ? gtkHScale() : gtkVScale(); local
557 GtkWidget* widget = gtkProgressBar(); local
602 GtkWidget* widget = gtkSpinButton(); local
660 GtkWidget* widget = widgetType == GTK_TYPE_CONTAINER ? GTK_WIDGET(gtkContainer()) : gtkEntry(); local
672 GtkWidget* widget = gtkEntry(); local
678 GtkWidget* widget = gtkEntry(); local
684 GtkWidget* widget = gtkEntry(); local
690 GtkWidget* widget = gtkEntry(); local
696 GtkWidget* widget = gtkTreeView(); local
702 GtkWidget* widget = gtkTreeView(); local
708 GtkWidget* widget = gtkTreeView(); local
714 GtkWidget* widget = gtkTreeView(); local
730 gtkStyleSetCallback(GtkWidget* widget, GtkStyle* previous, RenderTheme* renderTheme) argument
736 setupWidget(GtkWidget* widget) argument
742 setupWidgetAndAddToContainer(GtkWidget* widget, GtkWidget* window) const argument
744 gtk_container_add(GTK_CONTAINER(window), widget); local
838 getGtkComboBoxButton(GtkWidget* widget, gpointer target) argument
851 getGtkComboBoxPieces(GtkWidget* widget, gpointer data) argument
[all...]

Completed in 604 milliseconds

1234567891011>>