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

Side by Side Diff: Source/web/ContextMenuClientImpl.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/platform/blink_platform.gypi ('k') | Source/web/WebDevToolsFrontendImpl.cpp » ('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) 2009, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2009, 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 #include "core/html/HTMLPlugInElement.h" 57 #include "core/html/HTMLPlugInElement.h"
58 #include "core/html/HTMLVideoElement.h" 58 #include "core/html/HTMLVideoElement.h"
59 #include "core/html/MediaError.h" 59 #include "core/html/MediaError.h"
60 #include "core/loader/DocumentLoader.h" 60 #include "core/loader/DocumentLoader.h"
61 #include "core/loader/FrameLoader.h" 61 #include "core/loader/FrameLoader.h"
62 #include "core/page/ContextMenuController.h" 62 #include "core/page/ContextMenuController.h"
63 #include "core/page/EventHandler.h" 63 #include "core/page/EventHandler.h"
64 #include "core/frame/FrameView.h" 64 #include "core/frame/FrameView.h"
65 #include "core/page/Page.h" 65 #include "core/page/Page.h"
66 #include "core/page/Settings.h" 66 #include "core/page/Settings.h"
67 #include "core/platform/ContextMenu.h"
68 #include "core/rendering/HitTestResult.h" 67 #include "core/rendering/HitTestResult.h"
69 #include "core/rendering/RenderWidget.h" 68 #include "core/rendering/RenderWidget.h"
69 #include "platform/ContextMenu.h"
70 #include "platform/Widget.h" 70 #include "platform/Widget.h"
71 #include "platform/text/TextBreakIterator.h" 71 #include "platform/text/TextBreakIterator.h"
72 #include "platform/weborigin/KURL.h" 72 #include "platform/weborigin/KURL.h"
73 #include "public/platform/WebPoint.h" 73 #include "public/platform/WebPoint.h"
74 #include "public/platform/WebString.h" 74 #include "public/platform/WebString.h"
75 #include "public/platform/WebURL.h" 75 #include "public/platform/WebURL.h"
76 #include "public/platform/WebURLResponse.h" 76 #include "public/platform/WebURLResponse.h"
77 #include "public/platform/WebVector.h" 77 #include "public/platform/WebVector.h"
78 #include "wtf/text/WTFString.h" 78 #include "wtf/text/WTFString.h"
79 79
(...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after
415 outputItems[i] = subItems[i]; 415 outputItems[i] = subItems[i];
416 subMenuItems.swap(outputItems); 416 subMenuItems.swap(outputItems);
417 } 417 }
418 418
419 void ContextMenuClientImpl::populateCustomMenuItems(const WebCore::ContextMenu* defaultMenu, WebContextMenuData* data) 419 void ContextMenuClientImpl::populateCustomMenuItems(const WebCore::ContextMenu* defaultMenu, WebContextMenuData* data)
420 { 420 {
421 populateSubMenuItems(defaultMenu->items(), data->customItems); 421 populateSubMenuItems(defaultMenu->items(), data->customItems);
422 } 422 }
423 423
424 } // namespace blink 424 } // namespace blink
OLDNEW
« no previous file with comments | « Source/platform/blink_platform.gypi ('k') | Source/web/WebDevToolsFrontendImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698