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

Unified Diff: content/common/input/web_input_event_traits.h

Issue 1560553002: Framelet Prototype 2016 Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased + Applied Brett's Windows + Fixed security issue Created 4 years, 11 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: content/common/input/web_input_event_traits.h
diff --git a/content/common/input/web_input_event_traits.h b/content/common/input/web_input_event_traits.h
deleted file mode 100644
index 008439c9e28e843ac704ab9505424dbb7c0cacc1..0000000000000000000000000000000000000000
--- a/content/common/input/web_input_event_traits.h
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright 2013 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.
-
-#ifndef CONTENT_COMMON_INPUT_WEB_INPUT_EVENT_TRAITS_H_
-#define CONTENT_COMMON_INPUT_WEB_INPUT_EVENT_TRAITS_H_
-
-#include <stddef.h>
-#include <stdint.h>
-
-#include <string>
-
-#include "content/common/input/scoped_web_input_event.h"
-#include "third_party/WebKit/public/web/WebInputEvent.h"
-
-namespace content {
-
-// Utility class for performing operations on and with WebInputEvents.
-class CONTENT_EXPORT WebInputEventTraits {
- public:
- static const char* GetName(blink::WebInputEvent::Type type);
- static std::string ToString(const blink::WebInputEvent& event);
- static size_t GetSize(blink::WebInputEvent::Type type);
- static ScopedWebInputEvent Clone(const blink::WebInputEvent& event);
- static void Delete(blink::WebInputEvent* event);
- static bool CanCoalesce(const blink::WebInputEvent& event_to_coalesce,
- const blink::WebInputEvent& event);
- static void Coalesce(const blink::WebInputEvent& event_to_coalesce,
- blink::WebInputEvent* event);
- static bool WillReceiveAckFromRenderer(const blink::WebInputEvent& event);
-
- // Return uniqueTouchEventId for WebTouchEvent, otherwise return 0.
- static uint32_t GetUniqueTouchEventId(const blink::WebInputEvent& event);
-};
-
-} // namespace content
-
-#endif // CONTENT_COMMON_INPUT_WEB_INPUT_EVENT_TRAITS_H_
« no previous file with comments | « content/common/input/touch_event_stream_validator_unittest.cc ('k') | content/common/input/web_input_event_traits.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698