| OLD | NEW |
| 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 #include "core/frame/FrameView.h" | 44 #include "core/frame/FrameView.h" |
| 45 #include "core/frame/PinchViewport.h" | 45 #include "core/frame/PinchViewport.h" |
| 46 #include "core/frame/Settings.h" | 46 #include "core/frame/Settings.h" |
| 47 #include "core/html/HTMLAnchorElement.h" | 47 #include "core/html/HTMLAnchorElement.h" |
| 48 #include "core/html/HTMLFormElement.h" | 48 #include "core/html/HTMLFormElement.h" |
| 49 #include "core/html/HTMLImageElement.h" | 49 #include "core/html/HTMLImageElement.h" |
| 50 #include "core/html/HTMLInputElement.h" | 50 #include "core/html/HTMLInputElement.h" |
| 51 #include "core/html/HTMLMediaElement.h" | 51 #include "core/html/HTMLMediaElement.h" |
| 52 #include "core/html/HTMLPlugInElement.h" | 52 #include "core/html/HTMLPlugInElement.h" |
| 53 #include "core/html/MediaError.h" | 53 #include "core/html/MediaError.h" |
| 54 #include "core/input/EventHandler.h" |
| 54 #include "core/layout/HitTestResult.h" | 55 #include "core/layout/HitTestResult.h" |
| 55 #include "core/layout/LayoutPart.h" | 56 #include "core/layout/LayoutPart.h" |
| 56 #include "core/loader/DocumentLoader.h" | 57 #include "core/loader/DocumentLoader.h" |
| 57 #include "core/loader/FrameLoader.h" | 58 #include "core/loader/FrameLoader.h" |
| 58 #include "core/loader/HistoryItem.h" | 59 #include "core/loader/HistoryItem.h" |
| 59 #include "core/page/ContextMenuController.h" | 60 #include "core/page/ContextMenuController.h" |
| 60 #include "core/page/EventHandler.h" | |
| 61 #include "core/page/Page.h" | 61 #include "core/page/Page.h" |
| 62 #include "platform/ContextMenu.h" | 62 #include "platform/ContextMenu.h" |
| 63 #include "platform/Widget.h" | 63 #include "platform/Widget.h" |
| 64 #include "platform/exported/WrappedResourceResponse.h" | 64 #include "platform/exported/WrappedResourceResponse.h" |
| 65 #include "platform/text/TextBreakIterator.h" | 65 #include "platform/text/TextBreakIterator.h" |
| 66 #include "platform/weborigin/KURL.h" | 66 #include "platform/weborigin/KURL.h" |
| 67 #include "public/platform/WebPoint.h" | 67 #include "public/platform/WebPoint.h" |
| 68 #include "public/platform/WebString.h" | 68 #include "public/platform/WebString.h" |
| 69 #include "public/platform/WebURL.h" | 69 #include "public/platform/WebURL.h" |
| 70 #include "public/platform/WebURLResponse.h" | 70 #include "public/platform/WebURLResponse.h" |
| (...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 464 outputItems[i] = subItems[i]; | 464 outputItems[i] = subItems[i]; |
| 465 subMenuItems.swap(outputItems); | 465 subMenuItems.swap(outputItems); |
| 466 } | 466 } |
| 467 | 467 |
| 468 void ContextMenuClientImpl::populateCustomMenuItems(const ContextMenu* defaultMe
nu, WebContextMenuData* data) | 468 void ContextMenuClientImpl::populateCustomMenuItems(const ContextMenu* defaultMe
nu, WebContextMenuData* data) |
| 469 { | 469 { |
| 470 populateSubMenuItems(defaultMenu->items(), data->customItems); | 470 populateSubMenuItems(defaultMenu->items(), data->customItems); |
| 471 } | 471 } |
| 472 | 472 |
| 473 } // namespace blink | 473 } // namespace blink |
| OLD | NEW |