Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Unified Diff: ui/ui_controls/ui_controls_gtk.cc

Issue 9838023: Removed dead View code in GTK module (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698