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

Unified Diff: third_party/WebKit/Source/platform/PlatformKeyboardEvent.cpp

Issue 1828353002: Revert of Remove platform/NotImplemented.*. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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: third_party/WebKit/Source/platform/PlatformKeyboardEvent.cpp
diff --git a/third_party/WebKit/Source/platform/PlatformKeyboardEvent.cpp b/third_party/WebKit/Source/platform/PlatformKeyboardEvent.cpp
index 0d7cf82d21d0589350f84bec28e35a5aa29ad9a9..191cba1a336831ae95c1ad4c7dceafac7e66d0f3 100644
--- a/third_party/WebKit/Source/platform/PlatformKeyboardEvent.cpp
+++ b/third_party/WebKit/Source/platform/PlatformKeyboardEvent.cpp
@@ -30,6 +30,8 @@
#include <windows.h>
#elif OS(MACOSX)
#import <Carbon/Carbon.h>
+#else
+#include "platform/NotImplemented.h"
#endif
namespace blink {
@@ -81,7 +83,7 @@
#elif OS(MACOSX)
return GetCurrentKeyModifiers() & alphaLock;
#else
- NOTIMPLEMENTED();
+ notImplemented();
return false;
#endif
case OverrideCapsLockState::On:
@@ -114,7 +116,7 @@
modifiers |= MetaKey;
#else
// See https://crbug.com/538289
- NOTIMPLEMENTED();
+ notImplemented();
#endif
return static_cast<Modifiers>(modifiers);
}
« no previous file with comments | « third_party/WebKit/Source/platform/NotImplemented.cpp ('k') | third_party/WebKit/Source/platform/blink_platform.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698