Index: aura/demo/demo_main.cc |
=================================================================== |
--- aura/demo/demo_main.cc (revision 98850) |
+++ aura/demo/demo_main.cc (working copy) |
@@ -3,7 +3,6 @@ |
// found in the LICENSE file. |
#include "aura/desktop.h" |
-#include "aura/event.h" |
#include "aura/window.h" |
#include "aura/window_delegate.h" |
#include "base/at_exit.h" |
@@ -13,6 +12,7 @@ |
#include "third_party/skia/include/core/SkXfermode.h" |
#include "ui/base/resource/resource_bundle.h" |
#include "ui/base/ui_base_paths.h" |
+#include "ui/gfx/canvas.h" |
#include "ui/gfx/canvas_skia.h" |
#include "ui/gfx/rect.h" |
@@ -23,10 +23,6 @@ |
public: |
explicit DemoWindowDelegate(SkColor color) : color_(color) {} |
- virtual bool OnMouseEvent(const aura::MouseEvent& event) OVERRIDE { |
- return true; |
- } |
- |
virtual void OnPaint(gfx::Canvas* canvas) OVERRIDE { |
canvas->AsCanvasSkia()->drawColor(color_, SkXfermode::kSrc_Mode); |
} |