| OLD | NEW |
| 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) 2010 Igalia S.L | 3 * Copyright (C) 2010 Igalia S.L |
| 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 53 #include "HitTestResult.h" | 53 #include "HitTestResult.h" |
| 54 #include "InspectorController.h" | 54 #include "InspectorController.h" |
| 55 #include "LocalizedStrings.h" | 55 #include "LocalizedStrings.h" |
| 56 #include "MouseEvent.h" | 56 #include "MouseEvent.h" |
| 57 #include "NavigationAction.h" | 57 #include "NavigationAction.h" |
| 58 #include "Node.h" | 58 #include "Node.h" |
| 59 #include "Page.h" | 59 #include "Page.h" |
| 60 #include "PlatformEvent.h" | 60 #include "PlatformEvent.h" |
| 61 #include "RenderObject.h" | 61 #include "RenderObject.h" |
| 62 #include "ReplaceSelectionCommand.h" | 62 #include "ReplaceSelectionCommand.h" |
| 63 #include "ResourceRequest.h" | |
| 64 #include "Settings.h" | 63 #include "Settings.h" |
| 65 #include "TextIterator.h" | 64 #include "TextIterator.h" |
| 66 #include "TypingCommand.h" | 65 #include "TypingCommand.h" |
| 67 #include "UserTypingGestureIndicator.h" | 66 #include "UserTypingGestureIndicator.h" |
| 68 #include "WindowFeatures.h" | 67 #include "WindowFeatures.h" |
| 68 #include "core/platform/network/ResourceRequest.h" |
| 69 #include "markup.h" | 69 #include "markup.h" |
| 70 #include <wtf/unicode/CharacterNames.h> | 70 #include <wtf/unicode/CharacterNames.h> |
| 71 #include <wtf/unicode/Unicode.h> | 71 #include <wtf/unicode/Unicode.h> |
| 72 | 72 |
| 73 using namespace WTF; | 73 using namespace WTF; |
| 74 using namespace Unicode; | 74 using namespace Unicode; |
| 75 | 75 |
| 76 namespace WebCore { | 76 namespace WebCore { |
| 77 | 77 |
| 78 ContextMenuController::ContextMenuController(Page* page, ContextMenuClient* clie
nt) | 78 ContextMenuController::ContextMenuController(Page* page, ContextMenuClient* clie
nt) |
| (...skipping 852 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 931 { | 931 { |
| 932 // Simulate a click in the middle of the accessibility object. | 932 // Simulate a click in the middle of the accessibility object. |
| 933 PlatformMouseEvent mouseEvent(clickPoint, clickPoint, RightButton, PlatformE
vent::MousePressed, 1, false, false, false, false, currentTime()); | 933 PlatformMouseEvent mouseEvent(clickPoint, clickPoint, RightButton, PlatformE
vent::MousePressed, 1, false, false, false, false, currentTime()); |
| 934 bool handled = frame->eventHandler()->sendContextMenuEvent(mouseEvent); | 934 bool handled = frame->eventHandler()->sendContextMenuEvent(mouseEvent); |
| 935 if (handled && client()) | 935 if (handled && client()) |
| 936 client()->showContextMenu(); | 936 client()->showContextMenu(); |
| 937 } | 937 } |
| 938 #endif | 938 #endif |
| 939 | 939 |
| 940 } // namespace WebCore | 940 } // namespace WebCore |
| OLD | NEW |