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

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

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 | « LayoutTests/fast/forms/tabs-with-modifiers-expected.txt ('k') | Source/core/events/KeyboardEvent.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/events/KeyboardEvent.h
diff --git a/Source/core/events/KeyboardEvent.h b/Source/core/events/KeyboardEvent.h
index 71a6a7951d5c588d26d78fe65b7b615c83327250..c8749745f52e37dee4ce5d1c50f94af7a0663fe6 100644
--- a/Source/core/events/KeyboardEvent.h
+++ b/Source/core/events/KeyboardEvent.h
@@ -71,25 +71,23 @@ public:
static PassRefPtrWillBeRawPtr<KeyboardEvent> create(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)
{
return adoptRefWillBeNoop(new KeyboardEvent(type, canBubble, cancelable, view, keyIdentifier, location,
- ctrlKey, altKey, shiftKey, metaKey, altGraphKey));
+ ctrlKey, altKey, shiftKey, metaKey));
}
virtual ~KeyboardEvent();
void initKeyboardEvent(const AtomicString& type, bool canBubble, bool cancelable, AbstractView*,
const String& keyIdentifier, unsigned location,
- bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, bool altGraphKey = false);
+ bool ctrlKey, bool altKey, bool shiftKey, bool metaKey);
const String& keyIdentifier() const { return m_keyIdentifier; }
unsigned location() const { return m_location; }
bool getModifierState(const String& keyIdentifier) const;
- bool altGraphKey() const { return m_altGraphKey; }
-
const PlatformKeyboardEvent* keyEvent() const { return m_keyEvent.get(); }
virtual int keyCode() const OVERRIDE; // key code for keydown and keyup, character for keypress
@@ -108,12 +106,11 @@ private:
KeyboardEvent(const AtomicString&, const KeyboardEventInit&);
KeyboardEvent(const AtomicString& type, bool canBubble, bool cancelable, AbstractView*,
const String& keyIdentifier, unsigned location,
- bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, bool altGraphKey);
+ bool ctrlKey, bool altKey, bool shiftKey, bool metaKey);
OwnPtr<PlatformKeyboardEvent> m_keyEvent;
String m_keyIdentifier;
unsigned m_location;
- bool m_altGraphKey : 1;
bool m_isAutoRepeat : 1;
};
« no previous file with comments | « LayoutTests/fast/forms/tabs-with-modifiers-expected.txt ('k') | Source/core/events/KeyboardEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698