| Index: views/controls/native_control_gtk.h
|
| diff --git a/views/controls/native_control_gtk.h b/views/controls/native_control_gtk.h
|
| index 8146ed48248fe7acf332b46ece3028cf58071c71..32a34f6ffc9e7ad3207a7a69c646e2400f9c3a50 100644
|
| --- a/views/controls/native_control_gtk.h
|
| +++ b/views/controls/native_control_gtk.h
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2010 The Chromium Authors. All rights reserved.
|
| +// Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| @@ -25,6 +25,16 @@ class NativeControlGtk : public NativeViewHost {
|
| virtual void ViewHierarchyChanged(bool is_add, View *parent, View *child);
|
| virtual void VisibilityChanged(View* starting_from, bool is_visible);
|
| virtual void OnFocus();
|
| +#if defined(TOUCH_UI)
|
| + virtual bool OnMousePressed(const MouseEvent& event);
|
| + virtual void OnMouseReleased(const MouseEvent& event);
|
| + virtual void OnMouseMoved(const MouseEvent& event);
|
| + virtual void OnMouseExited(const MouseEvent& event);
|
| + virtual void OnMouseEntered(const MouseEvent& event);
|
| +
|
| + // Fake a mouse event.
|
| + void FakeNativeMouseEvent(const MouseEvent& event);
|
| +#endif
|
|
|
| // Called when the NativeControlGtk is attached to a View hierarchy with a
|
| // valid Widget. The NativeControlGtk should use this opportunity to create
|
|
|