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

Side by Side Diff: Source/core/page/EventHandler.cpp

Issue 13901012: Remove OS(WINCE) as blink and chromium does not support WinCe. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 8 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
« no previous file with comments | « no previous file | Source/core/platform/graphics/BitmapImage.cpp » ('j') | Source/wtf/OSAllocator.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserv ed. 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserv ed.
3 * Copyright (C) 2006 Alexey Proskuryakov (ap@webkit.org) 3 * Copyright (C) 2006 Alexey Proskuryakov (ap@webkit.org)
4 * Copyright (C) 2012 Digia Plc. and/or its subsidiary(-ies) 4 * Copyright (C) 2012 Digia Plc. and/or its subsidiary(-ies)
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 2751 matching lines...) Expand 10 before | Expand all | Expand 10 after
2762 2762
2763 Document* doc = m_frame->document(); 2763 Document* doc = m_frame->document();
2764 if (!doc) 2764 if (!doc)
2765 return false; 2765 return false;
2766 2766
2767 // Clear mouse press state to avoid initiating a drag while context menu is up. 2767 // Clear mouse press state to avoid initiating a drag while context menu is up.
2768 m_mousePressed = false; 2768 m_mousePressed = false;
2769 2769
2770 static const int kContextMenuMargin = 1; 2770 static const int kContextMenuMargin = 1;
2771 2771
2772 #if OS(WINDOWS) && !OS(WINCE) 2772 #if OS(WINDOWS)
2773 int rightAligned = ::GetSystemMetrics(SM_MENUDROPALIGNMENT); 2773 int rightAligned = ::GetSystemMetrics(SM_MENUDROPALIGNMENT);
2774 #else 2774 #else
2775 int rightAligned = 0; 2775 int rightAligned = 0;
2776 #endif 2776 #endif
2777 IntPoint location; 2777 IntPoint location;
2778 2778
2779 Node* focusedNode = doc->focusedNode(); 2779 Node* focusedNode = doc->focusedNode();
2780 FrameSelection* selection = m_frame->selection(); 2780 FrameSelection* selection = m_frame->selection();
2781 Position start = selection->selection().start(); 2781 Position start = selection->selection().start();
2782 2782
(...skipping 1208 matching lines...) Expand 10 before | Expand all | Expand 10 after
3991 unsigned EventHandler::accessKeyModifiers() 3991 unsigned EventHandler::accessKeyModifiers()
3992 { 3992 {
3993 #if OS(DARWIN) 3993 #if OS(DARWIN)
3994 return PlatformEvent::CtrlKey | PlatformEvent::AltKey; 3994 return PlatformEvent::CtrlKey | PlatformEvent::AltKey;
3995 #else 3995 #else
3996 return PlatformEvent::AltKey; 3996 return PlatformEvent::AltKey;
3997 #endif 3997 #endif
3998 } 3998 }
3999 3999
4000 } // namespace WebCore 4000 } // namespace WebCore
OLDNEW
« no previous file with comments | « no previous file | Source/core/platform/graphics/BitmapImage.cpp » ('j') | Source/wtf/OSAllocator.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698