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

1234567891011>>

/external/chromium_org/athena/activity/
H A Dactivity.cc8 #include "ui/views/widget/widget.h"
14 views::Widget* widget = local
16 DCHECK(widget);
17 widget->Show();
H A Dactivity_widget_delegate.cc42 views::Widget* widget) {
43 return new views::ClientView(widget, view_model_->GetContentsView());
47 views::Widget* widget) {
48 return new ActivityFrameView(widget, view_model_);
41 CreateClientView( views::Widget* widget) argument
46 CreateNonClientFrameView( views::Widget* widget) argument
/external/chromium_org/content/renderer/
H A Dime_event_guard.cc11 ImeEventGuard::ImeEventGuard(RenderWidget* widget) : widget_(widget) { argument
H A Dresizing_mode_selector.cc22 RenderWidget* widget,
25 params.is_fullscreen == widget->is_fullscreen() &&
27 widget->screenInfo().deviceScaleFactor;
21 ShouldAbortOnResize( RenderWidget* widget, const ViewMsg_Resize_Params& params) argument
/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.cc9 #include "ui/views/widget/widget.h"
17 views::Widget* widget = NULL; local
21 widget = views::Widget::CreateWindowWithParent(view, parent);
24 widget = views::Widget::CreateWindow(view);
32 widget->Show();
33 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/ui/base/ime/
H A Dinput_method_factory.cc35 gfx::AcceleratedWidget widget) {
45 if (IsRemoteInputMethodWinRequired(widget))
47 return scoped_ptr<InputMethod>(new InputMethodWin(delegate, widget));
33 CreateInputMethod( internal::InputMethodDelegate* delegate, gfx::AcceleratedWidget widget) argument
/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);
H A Dwidget_test_aura.cc9 #include "ui/views/widget/widget.h"
15 void WidgetTest::SimulateNativeDestroy(Widget* widget) { argument
16 delete widget->GetNativeView();
25 ui::EventProcessor* WidgetTest::GetEventProcessor(Widget* widget) { argument
26 return widget->GetNativeWindow()->GetHost()->event_processor();
/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
H A Dwidget_removals_observer.h21 // Called immediately before a descendant view of |widget| is removed.
22 virtual void OnWillRemoveView(Widget* widget, View* view) {} argument
/external/chromium_org/ash/desktop_background/
H A Ddesktop_background_widget_controller.h12 #include "ui/views/widget/widget.h"
13 #include "ui/views/widget/widget_observer.h"
18 // This class implements a widget-based wallpaper.
26 explicit DesktopBackgroundWidgetController(views::Widget* widget);
31 virtual void OnWidgetDestroying(views::Widget* widget) OVERRIDE;
48 views::Widget* widget() { return widget_; } function in class:ash::DesktopBackgroundWidgetController
70 // animating widget/layer is closed immediately and the new one is animating
71 // from the widget/layer before animation. For instance, if a user quickly
75 // finish immediately, the green wallpaper widget wil
[all...]
/external/chromium_org/ash/frame/
H A Ddefault_header_painter_unittest.cc14 #include "ui/views/widget/widget.h"
25 // Creates a test widget that owns its native widget.
27 Widget* widget = new Widget; local
31 widget->Init(params);
32 return widget;
/external/chromium_org/ash/system/tray/media_security/
H A Dmulti_profile_media_tray_item_unittest.cc37 StatusAreaWidget* widget = system_tray->status_area_widget(); local
38 EXPECT_TRUE(widget->GetRootView()->visible());
40 widget->GetRootView()->GetViewByID(VIEW_ID_MEDIA_TRAY_VIEW);
/external/chromium_org/ui/views/
H A Ddrag_utils.cc11 #include "ui/views/widget/widget.h"
15 float GetDeviceScaleForNativeView(views::Widget* widget) { argument
20 if (widget && widget->GetNativeView()) {
21 gfx::NativeView view = widget->GetNativeView();
33 gfx::Canvas* GetCanvasForDragImage(views::Widget* widget, argument
35 float device_scale = GetDeviceScaleForNativeView(widget);
/external/chromium_org/ash/accelerators/
H A Dfocus_manager_factory.cc17 views::Widget* widget,
19 return new views::FocusManager(widget, desktop_widget ? NULL : new Delegate);
16 CreateFocusManager( views::Widget* widget, bool desktop_widget) argument
/external/chromium_org/ash/keyboard_overlay/
H A Dkeyboard_overlay_delegate_unittest.cc14 #include "ui/views/widget/widget.h"
32 // Verifies we can show and close the widget for the overlay dialog.
42 // Showing the dialog creates a widget.
43 views::Widget* widget = delegate.Show(NULL); local
44 EXPECT_TRUE(widget);
46 // The widget is on the primary root window.
48 widget->GetNativeWindow()->GetRootWindow());
50 // The widget is horizontally centered at the bottom of the work area.
52 gfx::Rect bounds = widget
[all...]
/external/chromium_org/ash/shell/
H A Dlock_view.cc18 #include "ui/views/widget/widget.h"
19 #include "ui/views/widget/widget_delegate.h"
87 views::Widget* widget = new views::Widget; local
99 widget->Init(params);
100 widget->SetContentsView(lock_view);
101 widget->Show();
102 widget->GetNativeView()->SetName("LockView");
103 widget->GetNativeView()->Focus();
107 widget
[all...]
/external/chromium_org/ash/system/tray/
H A Dtray_bubble_wrapper.cc14 #include "ui/views/widget/widget.h"
40 void TrayBubbleWrapper::OnWidgetDestroying(views::Widget* widget) { argument
41 CHECK_EQ(bubble_widget_, widget);
56 void TrayBubbleWrapper::OnWidgetBoundsChanged(views::Widget* widget, argument
58 DCHECK_EQ(bubble_widget_, widget);
/external/chromium_org/ash/touch/
H A Dtouch_observer_hud.h12 #include "ui/views/widget/widget_observer.h"
53 views::Widget* widget() { return widget_; } function in class:ash::TouchObserverHUD
59 virtual void OnWidgetDestroying(views::Widget* widget) OVERRIDE;
/external/chromium_org/ash/wm/
H A Dwindow_positioner_unittest.cc14 #include "ui/views/widget/widget.h"
15 #include "ui/views/widget/widget_delegate.h"
32 views::Widget* widget = local
34 EXPECT_EQ("400,0 500x453", widget->GetWindowBoundsInScreen().ToString());
50 views::Widget* widget = local
52 gfx::Rect bounds = widget->GetWindowBoundsInScreen();
54 EXPECT_TRUE(widget->IsMaximized());
108 explicit OutOfDisplayDelegate(views::Widget* widget) : widget_(widget) {} argument
143 views::Widget* widget = new views::Widget(); local
[all...]
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/widget/accessibility/
H A DAccessibilityTabModelListView.java5 package org.chromium.chrome.browser.widget.accessibility;
10 import android.widget.ListView;
21 * @param context The Context to build this widget under.
22 * @param attrs The AttributeSet to use to build this widget.
/external/chromium_org/chrome/browser/ui/views/apps/
H A Dshaped_app_window_targeter_unittest.cc24 views::Widget* widget() { return widget_.get(); } function in class:ShapedAppWindowTargeterTest
61 aura::Window* window = widget()->GetNativeWindow();
107 aura::Window* window = widget()->GetNativeWindow();
165 aura::Window* window = widget()->GetNativeWindow();

Completed in 1044 milliseconds

1234567891011>>