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

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

Issue 78513004: Move ContextMenu* files from core/ to platform/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: ContextMenuItem.cpp Created 7 years, 1 month 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/inspector/InspectorFrontendHost.cpp ('k') | Source/core/platform/ContextMenu.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 17 matching lines...) Expand all
28 #include "core/page/ContextMenuController.h" 28 #include "core/page/ContextMenuController.h"
29 29
30 #include "core/dom/Document.h" 30 #include "core/dom/Document.h"
31 #include "core/events/Event.h" 31 #include "core/events/Event.h"
32 #include "core/events/MouseEvent.h" 32 #include "core/events/MouseEvent.h"
33 #include "core/dom/Node.h" 33 #include "core/dom/Node.h"
34 #include "core/page/ContextMenuClient.h" 34 #include "core/page/ContextMenuClient.h"
35 #include "core/page/ContextMenuProvider.h" 35 #include "core/page/ContextMenuProvider.h"
36 #include "core/page/EventHandler.h" 36 #include "core/page/EventHandler.h"
37 #include "core/frame/Frame.h" 37 #include "core/frame/Frame.h"
38 #include "core/platform/ContextMenu.h"
39 #include "core/platform/ContextMenuItem.h"
40 #include "core/rendering/HitTestResult.h" 38 #include "core/rendering/HitTestResult.h"
39 #include "platform/ContextMenu.h"
40 #include "platform/ContextMenuItem.h"
41 41
42 namespace WebCore { 42 namespace WebCore {
43 43
44 ContextMenuController::ContextMenuController(Page*, ContextMenuClient* client) 44 ContextMenuController::ContextMenuController(Page*, ContextMenuClient* client)
45 : m_client(client) 45 : m_client(client)
46 { 46 {
47 ASSERT_ARG(client, client); 47 ASSERT_ARG(client, client);
48 } 48 }
49 49
50 ContextMenuController::~ContextMenuController() 50 ContextMenuController::~ContextMenuController()
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 ASSERT(item->type() == ActionType || item->type() == CheckableActionType); 130 ASSERT(item->type() == ActionType || item->type() == CheckableActionType);
131 131
132 if (item->action() < ContextMenuItemBaseCustomTag || item->action() > Contex tMenuItemLastCustomTag) 132 if (item->action() < ContextMenuItemBaseCustomTag || item->action() > Contex tMenuItemLastCustomTag)
133 return; 133 return;
134 134
135 ASSERT(m_menuProvider); 135 ASSERT(m_menuProvider);
136 m_menuProvider->contextMenuItemSelected(item); 136 m_menuProvider->contextMenuItemSelected(item);
137 } 137 }
138 138
139 } // namespace WebCore 139 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/inspector/InspectorFrontendHost.cpp ('k') | Source/core/platform/ContextMenu.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698