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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 #include "core/html/HTMLPlugInElement.h" | 53 #include "core/html/HTMLPlugInElement.h" |
54 #include "core/input/EventHandler.h" | 54 #include "core/input/EventHandler.h" |
55 #include "core/layout/HitTestResult.h" | 55 #include "core/layout/HitTestResult.h" |
56 #include "core/layout/LayoutPart.h" | 56 #include "core/layout/LayoutPart.h" |
57 #include "core/loader/DocumentLoader.h" | 57 #include "core/loader/DocumentLoader.h" |
58 #include "core/loader/FrameLoader.h" | 58 #include "core/loader/FrameLoader.h" |
59 #include "core/loader/HistoryItem.h" | 59 #include "core/loader/HistoryItem.h" |
60 #include "core/page/ContextMenuController.h" | 60 #include "core/page/ContextMenuController.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/FrameViewBase.h" | |
64 #include "platform/exported/WrappedResourceResponse.h" | 63 #include "platform/exported/WrappedResourceResponse.h" |
65 #include "platform/text/TextBreakIterator.h" | 64 #include "platform/text/TextBreakIterator.h" |
66 #include "platform/weborigin/KURL.h" | 65 #include "platform/weborigin/KURL.h" |
67 #include "platform/wtf/text/WTFString.h" | 66 #include "platform/wtf/text/WTFString.h" |
68 #include "public/platform/WebPoint.h" | 67 #include "public/platform/WebPoint.h" |
69 #include "public/platform/WebString.h" | 68 #include "public/platform/WebString.h" |
70 #include "public/platform/WebURL.h" | 69 #include "public/platform/WebURL.h" |
71 #include "public/platform/WebURLResponse.h" | 70 #include "public/platform/WebURLResponse.h" |
72 #include "public/platform/WebVector.h" | 71 #include "public/platform/WebVector.h" |
73 #include "public/web/WebContextMenuData.h" | 72 #include "public/web/WebContextMenuData.h" |
(...skipping 392 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
466 sub_menu_items.Swap(output_items); | 465 sub_menu_items.Swap(output_items); |
467 } | 466 } |
468 | 467 |
469 void ContextMenuClientImpl::PopulateCustomMenuItems( | 468 void ContextMenuClientImpl::PopulateCustomMenuItems( |
470 const ContextMenu* default_menu, | 469 const ContextMenu* default_menu, |
471 WebContextMenuData* data) { | 470 WebContextMenuData* data) { |
472 PopulateSubMenuItems(default_menu->Items(), data->custom_items); | 471 PopulateSubMenuItems(default_menu->Items(), data->custom_items); |
473 } | 472 } |
474 | 473 |
475 } // namespace blink | 474 } // namespace blink |
OLD | NEW |