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

Unified Diff: ui/events/blink/scoped_web_input_event.h

Issue 2240983003: Move |ScopedWebInputEvent| and |WebInputEventTraits| from |content::| to "ui/events/blink" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and ncarter's review Created 4 years, 4 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 | « ui/events/blink/BUILD.gn ('k') | ui/events/blink/scoped_web_input_event.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/blink/scoped_web_input_event.h
diff --git a/content/common/input/scoped_web_input_event.h b/ui/events/blink/scoped_web_input_event.h
similarity index 61%
rename from content/common/input/scoped_web_input_event.h
rename to ui/events/blink/scoped_web_input_event.h
index bc502eef6a70ea7e99e4ca30b887ca16de58ef96..c7e686f8d23194957bddb113076fba1ab0f21ce2 100644
--- a/content/common/input/scoped_web_input_event.h
+++ b/ui/events/blink/scoped_web_input_event.h
@@ -2,27 +2,25 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_COMMON_INPUT_SCOPED_WEB_INPUT_EVENT_H_
-#define CONTENT_COMMON_INPUT_SCOPED_WEB_INPUT_EVENT_H_
+#ifndef UI_EVENTS_BLINK_SCOPED_WEB_INPUT_EVENT_H_
+#define UI_EVENTS_BLINK_SCOPED_WEB_INPUT_EVENT_H_
#include <memory>
-#include "content/common/content_export.h"
-
namespace blink {
class WebInputEvent;
}
-namespace content {
+namespace ui {
// blink::WebInputEvent does not provide a virtual destructor.
-struct CONTENT_EXPORT WebInputEventDeleter {
+struct WebInputEventDeleter {
WebInputEventDeleter();
void operator()(blink::WebInputEvent* web_event) const;
};
typedef std::unique_ptr<blink::WebInputEvent, WebInputEventDeleter>
ScopedWebInputEvent;
-} // namespace content
+} // namespace ui
-#endif // CONTENT_COMMON_INPUT_SCOPED_WEB_INPUT_EVENT_H_
+#endif // UI_EVENTS_BLINK_SCOPED_WEB_INPUT_EVENT_H_
« no previous file with comments | « ui/events/blink/BUILD.gn ('k') | ui/events/blink/scoped_web_input_event.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698