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

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

Issue 14488003: Absolutify paths to platform/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: scripts, iwyu 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/page/ContextMenuClient.h ('k') | Source/core/page/DOMWindow.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) 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 11 matching lines...) Expand all
22 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 22 * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 */ 25 */
26 26
27 #include "config.h" 27 #include "config.h"
28 #include "ContextMenuController.h" 28 #include "ContextMenuController.h"
29 29
30 #include "BackForwardController.h" 30 #include "BackForwardController.h"
31 #include "Chrome.h" 31 #include "Chrome.h"
32 #include "ContextMenu.h"
33 #include "ContextMenuClient.h" 32 #include "ContextMenuClient.h"
34 #include "ContextMenuItem.h"
35 #include "ContextMenuProvider.h" 33 #include "ContextMenuProvider.h"
36 #include "Document.h" 34 #include "Document.h"
37 #include "DocumentFragment.h" 35 #include "DocumentFragment.h"
38 #include "DocumentLoader.h" 36 #include "DocumentLoader.h"
39 #include "Editor.h" 37 #include "Editor.h"
40 #include "EditorClient.h" 38 #include "EditorClient.h"
41 #include "Event.h" 39 #include "Event.h"
42 #include "EventHandler.h" 40 #include "EventHandler.h"
43 #include "EventNames.h" 41 #include "EventNames.h"
44 #include "ExceptionCodePlaceholder.h" 42 #include "ExceptionCodePlaceholder.h"
45 #include "FormState.h" 43 #include "FormState.h"
46 #include "Frame.h" 44 #include "Frame.h"
47 #include "FrameLoadRequest.h" 45 #include "FrameLoadRequest.h"
48 #include "FrameLoader.h" 46 #include "FrameLoader.h"
49 #include "FrameLoaderClient.h" 47 #include "FrameLoaderClient.h"
50 #include "FrameSelection.h" 48 #include "FrameSelection.h"
51 #include "HTMLFormElement.h" 49 #include "HTMLFormElement.h"
52 #include "HitTestRequest.h" 50 #include "HitTestRequest.h"
53 #include "HitTestResult.h" 51 #include "HitTestResult.h"
54 #include "InspectorController.h" 52 #include "InspectorController.h"
55 #include "LocalizedStrings.h"
56 #include "MouseEvent.h" 53 #include "MouseEvent.h"
57 #include "NavigationAction.h" 54 #include "NavigationAction.h"
58 #include "Node.h" 55 #include "Node.h"
59 #include "Page.h" 56 #include "Page.h"
60 #include "PlatformEvent.h"
61 #include "RenderObject.h" 57 #include "RenderObject.h"
62 #include "ReplaceSelectionCommand.h" 58 #include "ReplaceSelectionCommand.h"
63 #include "Settings.h" 59 #include "Settings.h"
64 #include "TextIterator.h" 60 #include "TextIterator.h"
65 #include "TypingCommand.h" 61 #include "TypingCommand.h"
66 #include "UserTypingGestureIndicator.h" 62 #include "UserTypingGestureIndicator.h"
67 #include "WindowFeatures.h" 63 #include "WindowFeatures.h"
64 #include "core/platform/ContextMenu.h"
65 #include "core/platform/ContextMenuItem.h"
66 #include "core/platform/LocalizedStrings.h"
67 #include "core/platform/PlatformEvent.h"
68 #include "core/platform/network/ResourceRequest.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
(...skipping 853 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
OLDNEW
« no previous file with comments | « Source/core/page/ContextMenuClient.h ('k') | Source/core/page/DOMWindow.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698