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

Side by Side Diff: Source/platform/PlatformKeyboardEvent.cpp

Issue 400543004: Rename WebCore namespace to blink in Platform (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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/platform/PlatformKeyboardEvent.h ('k') | Source/platform/PlatformMouseEvent.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007 Apple Inc. All rights reserved.
3 * Copyright (C) 2008, 2009 Google Inc. 3 * Copyright (C) 2008, 2009 Google Inc.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 17 matching lines...) Expand all
28 #include "platform/PlatformKeyboardEvent.h" 28 #include "platform/PlatformKeyboardEvent.h"
29 29
30 #if OS(WIN) 30 #if OS(WIN)
31 #include <windows.h> 31 #include <windows.h>
32 #elif OS(MACOSX) 32 #elif OS(MACOSX)
33 #import <Carbon/Carbon.h> 33 #import <Carbon/Carbon.h>
34 #else 34 #else
35 #include "platform/NotImplemented.h" 35 #include "platform/NotImplemented.h"
36 #endif 36 #endif
37 37
38 namespace WebCore { 38 namespace blink {
39 39
40 #if OS(WIN) 40 #if OS(WIN)
41 static const unsigned short HIGHBITMASKSHORT = 0x8000; 41 static const unsigned short HIGHBITMASKSHORT = 0x8000;
42 #endif 42 #endif
43 43
44 void PlatformKeyboardEvent::disambiguateKeyDownEvent(Type type) 44 void PlatformKeyboardEvent::disambiguateKeyDownEvent(Type type)
45 { 45 {
46 #if OS(WIN) 46 #if OS(WIN)
47 // No KeyDown events on Windows to disambiguate. 47 // No KeyDown events on Windows to disambiguate.
48 ASSERT_NOT_REACHED(); 48 ASSERT_NOT_REACHED();
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 metaKey = currentModifiers & ::cmdKey; 99 metaKey = currentModifiers & ::cmdKey;
100 #else 100 #else
101 shiftKey = false; 101 shiftKey = false;
102 ctrlKey = false; 102 ctrlKey = false;
103 altKey = false; 103 altKey = false;
104 metaKey = false; 104 metaKey = false;
105 notImplemented(); 105 notImplemented();
106 #endif 106 #endif
107 } 107 }
108 108
109 } // namespace WebCore 109 } // namespace blink
OLDNEW
« no previous file with comments | « Source/platform/PlatformKeyboardEvent.h ('k') | Source/platform/PlatformMouseEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698