Searched refs:widget (Results 1 - 25 of 487) 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 Dview_id_util.cc21 GtkWidget* widget; // Output: the found widget, or NULL. member in struct:__anon2651::ViewIDSearchStruct
24 // Recursively search for the given view ID among the children of |widget|.
25 void SearchForWidgetWithViewID(GtkWidget* widget, gpointer data) { argument
29 // The widget has already been found; abort the search.
30 if (search_struct->widget)
33 // Check if the widget defines its own ID function.
35 g_object_get_data(G_OBJECT(widget), kViewIDOverrideString));
37 search_struct->widget = delegate->GetWidgetForViewID(search_struct->id);
39 if (search_struct->widget)
123 SetID(GtkWidget* widget, ViewID id) argument
137 SetDelegateForWidget(GtkWidget* widget, Delegate* delegate) argument
[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 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 Drounded_window.h34 // Sets up the passed in widget that has its own GdkWindow with an expose
36 // an "expose-event" handler on |widget|; if caller needs to do custom
41 GtkWidget* widget, const GdkColor& color, int corner_size,
45 void StopActingAsRoundedWindow(GtkWidget* widget);
48 bool IsActingAsRoundedWindow(GtkWidget* widget);
50 // Sets edge and border properties on a widget that has already been configured
52 void SetRoundedWindowEdgesAndBorders(GtkWidget* widget,
57 // Sets the color of the border on a widget that has already been configured
59 void SetRoundedWindowBorderColor(GtkWidget* widget, GdkColor color);
/external/webkit/Source/WebCore/platform/chromium/
H A DPlatformScreenChromium.cpp39 int screenDepth(Widget* widget) argument
41 return PlatformBridge::screenDepth(widget);
44 int screenDepthPerComponent(Widget* widget) argument
46 return PlatformBridge::screenDepthPerComponent(widget);
49 bool screenIsMonochrome(Widget* widget) argument
51 return PlatformBridge::screenIsMonochrome(widget);
54 FloatRect screenRect(Widget* widget) argument
56 return PlatformBridge::screenRect(widget);
59 FloatRect screenAvailableRect(Widget* widget) argument
61 return PlatformBridge::screenAvailableRect(widget);
[all...]
/external/webkit/Source/WebCore/bindings/js/
H A DScriptControllerEfl.cpp40 PassRefPtr<JSC::Bindings::Instance> ScriptController::createScriptInstanceForWidget(Widget* widget) argument
42 if (!widget->isPluginView())
45 return static_cast<PluginView*>(widget)->bindingInstance();
H A DScriptControllerGtk.cpp40 PassRefPtr<JSC::Bindings::Instance> ScriptController::createScriptInstanceForWidget(Widget* widget) argument
42 if (!widget->isPluginView())
45 return static_cast<PluginView*>(widget)->bindingInstance();
H A DScriptControllerHaiku.cpp37 PassRefPtr<JSC::Bindings::Instance> ScriptController::createScriptInstanceForWidget(Widget* widget) argument
39 if (!widget->isPluginView())
42 return static_cast<PluginView*>(widget)->bindingInstance();
H A DScriptControllerWx.cpp36 PassRefPtr<JSC::Bindings::Instance> ScriptController::createScriptInstanceForWidget(Widget* widget) argument
38 if (!widget->isPluginView())
41 return static_cast<PluginView*>(widget)->bindingInstance();
H A DScriptControllerAndroid.cpp35 PassRefPtr<JSC::Bindings::Instance> ScriptController::createScriptInstanceForWidget(Widget* widget) argument
37 if (!widget->isPluginView())
40 return static_cast<PluginView*>(widget)->bindingInstance();
H A DScriptControllerBrew.cpp38 PassRefPtr<JSC::Bindings::Instance> ScriptController::createScriptInstanceForWidget(WebCore::Widget* widget) argument
40 if (!widget->isPluginView())
43 return static_cast<PluginView*>(widget)->bindingInstance();
H A DScriptControllerWin.cpp37 PassRefPtr<JSC::Bindings::Instance> ScriptController::createScriptInstanceForWidget(Widget* widget) argument
39 if (!widget->isPluginView())
42 return static_cast<PluginView*>(widget)->bindingInstance();
H A DScriptControllerQt.cpp49 PassRefPtr<JSC::Bindings::Instance> ScriptController::createScriptInstanceForWidget(WebCore::Widget* widget) argument
51 if (widget->isPluginView()) {
52 PluginView* pluginView = static_cast<PluginView*>(widget);
56 QObject* object = widget->bindingObject();
59 object = widget->platformWidget();
/external/chromium/testing/gtest/xcode/Samples/FrameworkSample/
H A Dwidget_test.cc41 #include <Widget/widget.h>
46 Widget widget(1.0f, "name");
47 EXPECT_FLOAT_EQ(1.0f, widget.GetFloatValue());
48 EXPECT_EQ(std::string("name"), widget.GetStringValue());
54 Widget widget(1.0f, "name");
55 EXPECT_EQ(1, widget.GetIntValue());
59 widget.GetCharPtrValue(buffer, max_size);
/external/libvpx/libvpx/third_party/googletest/src/xcode/Samples/FrameworkSample/
H A Dwidget_test.cc41 #include <Widget/widget.h>
46 Widget widget(1.0f, "name");
47 EXPECT_FLOAT_EQ(1.0f, widget.GetFloatValue());
48 EXPECT_EQ(std::string("name"), widget.GetStringValue());
54 Widget widget(1.0f, "name");
55 EXPECT_EQ(1, widget.GetIntValue());
59 widget.GetCharPtrValue(buffer, max_size);
/external/protobuf/gtest/xcode/Samples/FrameworkSample/
H A Dwidget_test.cc41 #include <Widget/widget.h>
46 Widget widget(1.0f, "name");
47 EXPECT_FLOAT_EQ(1.0f, widget.GetFloatValue());
48 EXPECT_EQ(std::string("name"), widget.GetStringValue());
54 Widget widget(1.0f, "name");
55 EXPECT_EQ(1, widget.GetIntValue());
59 widget.GetCharPtrValue(buffer, max_size);
/external/webkit/Source/WebCore/platform/qt/
H A DPlatformBridgeQt.cpp39 NPObject* PlatformBridge::pluginScriptableObject(Widget* widget) argument
41 if (!widget)
44 if (!widget->isPluginView())
47 PluginView* pluginView = static_cast<PluginView*>(widget);
/external/webkit/Source/WebCore/platform/wx/
H A DWidgetWx.cpp40 Widget::Widget(PlatformWidget widget) argument
42 init(widget);
52 if (PlatformWidget widget = platformWidget())
53 widget->SetFocus();
67 if (PlatformWidget widget = platformWidget())
68 widget->Show();
73 if (PlatformWidget widget = platformWidget())
74 widget->Hide();
79 if (PlatformWidget widget = platformWidget())
80 return widget
[all...]
/external/webkit/Source/WebKit/qt/tests/hybridPixmap/
H A Dtst_hybridPixmap.cpp22 #include "widget.h"
43 Widget widget; local
44 widget.show();
45 widget.start();
46 waitForSignal(&widget, SIGNAL(testComplete()));
/external/webkit/Source/WebCore/platform/win/
H A DPlatformScreenWin.cpp40 // Returns info for the default monitor if widget is NULL
41 static MONITORINFOEX monitorInfoForWidget(Widget* widget) argument
43 HWND window = widget ? widget->root()->hostWindow()->platformPageClient() : 0;
52 static DEVMODE deviceInfoForWidget(Widget* widget) argument
61 MONITORINFOEX monitorInfo = monitorInfoForWidget(widget);
68 int screenDepth(Widget* widget) argument
70 DEVMODE deviceInfo = deviceInfoForWidget(widget);
79 int screenDepthPerComponent(Widget* widget) argument
82 return screenDepth(widget) /
85 screenIsMonochrome(Widget* widget) argument
96 screenRect(Widget* widget) argument
102 screenAvailableRect(Widget* widget) argument
[all...]
/external/webkit/Source/WebCore/platform/gtk/
H A DGtkVersioning.h61 #define gtk_widget_get_realized(widget) GTK_WIDGET_REALIZED(widget)
62 #define gtk_widget_set_realized(widget, TRUE) GTK_WIDGET_SET_FLAGS((widget), GTK_REALIZED)
67 #define gtk_widget_is_toplevel(widget) GTK_WIDGET_TOPLEVEL(widget)
68 #define gtk_widget_get_realized(widget) GTK_WIDGET_REALIZED(widget)
69 #define gtk_widget_get_has_window(widget) !GTK_WIDGET_NO_WINDOW(widget)
[all...]
H A DPlatformScreenGtk.cpp48 static GdkVisual* getVisual(Widget* widget) argument
50 if (!widget)
53 GtkWidget* container = GTK_WIDGET(widget->root()->hostWindow()->platformPageClient());
69 int screenDepth(Widget* widget) argument
71 GdkVisual* visual = getVisual(widget);
77 int screenDepthPerComponent(Widget* widget) argument
79 GdkVisual* visual = getVisual(widget);
86 bool screenIsMonochrome(Widget* widget) argument
88 return screenDepth(widget) < 2;
91 FloatRect screenRect(Widget* widget) argument
111 screenAvailableRect(Widget* widget) argument
[all...]
/external/webkit/Source/WebCore/rendering/
H A DRenderPart.cpp46 void RenderPart::setWidget(PassRefPtr<Widget> widget) argument
48 if (widget == this->widget())
51 RenderWidget::setWidget(widget);
77 if (widget() && widget()->isPluginViewBase() && static_cast<PluginViewBase*>(widget())->platformLayer())
/external/webkit/Source/WebKit2/UIProcess/gtk/
H A DWebViewWidget.cpp50 static void webViewWidgetRealize(GtkWidget* widget) argument
52 gtk_widget_set_realized(widget, TRUE);
55 gtk_widget_get_allocation(widget, &allocation);
64 attributes.visual = gtk_widget_get_visual(widget);
66 attributes.colormap = gtk_widget_get_colormap(widget);
84 GdkWindow* window = gdk_window_new(gtk_widget_get_parent_window(widget), &attributes, attributesMask);
85 gtk_widget_set_window(widget, window);
86 gdk_window_set_user_data(window, widget);
90 gtk_widget_style_attach(widget);
92 widget
104 webViewWidgetContainerAdd(GtkContainer* container, GtkWidget* widget) argument
136 webViewExpose(GtkWidget* widget, GdkEventExpose* event) argument
150 webViewDraw(GtkWidget* widget, cairo_t* cr) argument
164 webViewSizeAllocate(GtkWidget* widget, GtkAllocation* allocation) argument
171 webViewFocusInEvent(GtkWidget* widget, GdkEventFocus* event) argument
185 webViewFocusOutEvent(GtkWidget* widget, GdkEventFocus* event) argument
198 webViewKeyPressEvent(GtkWidget* widget, GdkEventKey* event) argument
206 webViewKeyReleaseEvent(GtkWidget* widget, GdkEventKey* event) argument
235 webViewButtonPressEvent(GtkWidget* widget, GdkEventButton* buttonEvent) argument
290 webViewButtonReleaseEvent(GtkWidget* widget, GdkEventButton* event) argument
299 webViewScrollEvent(GtkWidget* widget, GdkEventScroll* event) argument
307 webViewMotionNotifyEvent(GtkWidget* widget, GdkEventMotion* event) argument
[all...]

Completed in 244 milliseconds

1234567891011>>