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

Unified Diff: ash/wm/maximize_mode/internal_input_device_list_x11.h

Issue 313913004: Block internal PlatformEvents before they are dispatched in touchview. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove obsolete comment and unnecessary includes. Created 6 years, 6 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
Index: ash/wm/maximize_mode/internal_input_device_list_x11.h
diff --git a/ash/wm/maximize_mode/internal_input_device_list_x11.h b/ash/wm/maximize_mode/internal_input_device_list_x11.h
index 3ef0de8fd11a20d9c7eb9535314df7cbbeb3d189..0f5c920a49bc7a4107faef31d9493671ac12e325 100644
--- a/ash/wm/maximize_mode/internal_input_device_list_x11.h
+++ b/ash/wm/maximize_mode/internal_input_device_list_x11.h
@@ -7,29 +7,28 @@
#include <set>
+#include "ash/ash_export.h"
#include "ash/wm/maximize_mode/internal_input_device_list.h"
#include "base/macros.h"
-namespace ui {
-class Event;
-}
-
namespace ash {
// Identifies which input devices are internal and provides a helper function to
// test if an input event came from an internal device.
-class InternalInputDeviceListX11 : public InternalInputDeviceList {
+class ASH_EXPORT InternalInputDeviceListX11 : public InternalInputDeviceList {
public:
InternalInputDeviceListX11();
virtual ~InternalInputDeviceListX11();
// InternalInputDeviceList:
- virtual bool IsEventFromInternalDevice(const ui::Event* event) OVERRIDE;
+ virtual bool IsEventFromInternalDevice(
+ const ui::PlatformEvent& event) OVERRIDE;
- private:
+ protected:
// Tracks the device ids of internal input devices.
std::set<int> internal_device_ids_;
+ private:
DISALLOW_COPY_AND_ASSIGN(InternalInputDeviceListX11);
};

Powered by Google App Engine
This is Rietveld 408576698