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

Unified Diff: Source/core/events/KeyboardEvent.cpp

Issue 434683002: Remove KeyboardEvent.altGraphKey (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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 | « Source/core/events/KeyboardEvent.h ('k') | Source/core/events/KeyboardEvent.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/events/KeyboardEvent.cpp
diff --git a/Source/core/events/KeyboardEvent.cpp b/Source/core/events/KeyboardEvent.cpp
index e65b1bf1c2c6e27cdf6ed990a3815387489969fb..09ea74bf2d0a3343e9fdd35065f601094ceac737 100644
--- a/Source/core/events/KeyboardEvent.cpp
+++ b/Source/core/events/KeyboardEvent.cpp
@@ -97,7 +97,6 @@ KeyboardEventInit::KeyboardEventInit()
KeyboardEvent::KeyboardEvent()
: m_location(DOM_KEY_LOCATION_STANDARD)
- , m_altGraphKey(false)
, m_isAutoRepeat(false)
{
ScriptWrappable::init(this);
@@ -109,7 +108,6 @@ KeyboardEvent::KeyboardEvent(const PlatformKeyboardEvent& key, AbstractView* vie
, m_keyEvent(adoptPtr(new PlatformKeyboardEvent(key)))
, m_keyIdentifier(key.keyIdentifier())
, m_location(keyLocationCode(key))
- , m_altGraphKey(false)
, m_isAutoRepeat(key.isAutoRepeat())
{
ScriptWrappable::init(this);
@@ -119,7 +117,6 @@ KeyboardEvent::KeyboardEvent(const AtomicString& eventType, const KeyboardEventI
: UIEventWithKeyState(eventType, initializer.bubbles, initializer.cancelable, initializer.view, initializer.detail, initializer.ctrlKey, initializer.altKey, initializer.shiftKey, initializer.metaKey)
, m_keyIdentifier(initializer.keyIdentifier)
, m_location(initializer.location)
- , m_altGraphKey(false)
, m_isAutoRepeat(initializer.repeat)
{
ScriptWrappable::init(this);
@@ -127,11 +124,10 @@ KeyboardEvent::KeyboardEvent(const AtomicString& eventType, const KeyboardEventI
KeyboardEvent::KeyboardEvent(const AtomicString& eventType, bool canBubble, bool cancelable, AbstractView *view,
const String &keyIdentifier, unsigned location,
- bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, bool altGraphKey)
+ bool ctrlKey, bool altKey, bool shiftKey, bool metaKey)
: UIEventWithKeyState(eventType, canBubble, cancelable, view, 0, ctrlKey, altKey, shiftKey, metaKey)
, m_keyIdentifier(keyIdentifier)
, m_location(location)
- , m_altGraphKey(altGraphKey)
, m_isAutoRepeat(false)
{
ScriptWrappable::init(this);
@@ -143,7 +139,7 @@ KeyboardEvent::~KeyboardEvent()
void KeyboardEvent::initKeyboardEvent(const AtomicString& type, bool canBubble, bool cancelable, AbstractView* view,
const String &keyIdentifier, unsigned location,
- bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, bool altGraphKey)
+ bool ctrlKey, bool altKey, bool shiftKey, bool metaKey)
{
if (dispatched())
return;
@@ -156,7 +152,6 @@ void KeyboardEvent::initKeyboardEvent(const AtomicString& type, bool canBubble,
m_shiftKey = shiftKey;
m_altKey = altKey;
m_metaKey = metaKey;
- m_altGraphKey = altGraphKey;
}
bool KeyboardEvent::getModifierState(const String& keyIdentifier) const
« no previous file with comments | « Source/core/events/KeyboardEvent.h ('k') | Source/core/events/KeyboardEvent.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698