| Index: ui/ui_controls/ui_controls_gtk.cc
|
| diff --git a/ui/ui_controls/ui_controls_gtk.cc b/ui/ui_controls/ui_controls_gtk.cc
|
| index eadb2c019e11a55ba69eeeaeb23668f2a072acc5..c0e22df30d5687f32d68df7a5cf6bf1a92ac7561 100644
|
| --- a/ui/ui_controls/ui_controls_gtk.cc
|
| +++ b/ui/ui_controls/ui_controls_gtk.cc
|
| @@ -14,11 +14,6 @@
|
| #include "ui/base/gtk/event_synthesis_gtk.h"
|
| #include "ui/gfx/rect.h"
|
|
|
| -#if defined(TOOLKIT_VIEWS)
|
| -#include "ui/views/view.h"
|
| -#include "ui/views/widget/widget.h"
|
| -#endif
|
| -
|
| namespace {
|
|
|
| // static
|
| @@ -251,13 +246,4 @@ bool SendMouseClick(MouseButton type) {
|
| return SendMouseEvents(type, UP | DOWN);
|
| }
|
|
|
| -#if defined(TOOLKIT_VIEWS)
|
| -void RunClosureAfterAllPendingUIEvents(const base::Closure& task) {
|
| - // Send noop event and run task.
|
| - int x, y;
|
| - gdk_window_at_pointer(&x, &y);
|
| - SendMouseMoveNotifyWhenDone(x, y, task);
|
| -}
|
| -#endif
|
| -
|
| } // namespace ui_controls
|
|
|