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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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" | 67 #include "core/platform/ContextMenu.h" |
68 #include "core/platform/Widget.h" | |
69 #include "core/rendering/HitTestResult.h" | 68 #include "core/rendering/HitTestResult.h" |
70 #include "core/rendering/RenderWidget.h" | 69 #include "core/rendering/RenderWidget.h" |
| 70 #include "platform/Widget.h" |
71 #include "platform/text/TextBreakIterator.h" | 71 #include "platform/text/TextBreakIterator.h" |
72 #include "public/platform/WebPoint.h" | 72 #include "public/platform/WebPoint.h" |
73 #include "public/platform/WebString.h" | 73 #include "public/platform/WebString.h" |
74 #include "public/platform/WebURL.h" | 74 #include "public/platform/WebURL.h" |
75 #include "public/platform/WebURLResponse.h" | 75 #include "public/platform/WebURLResponse.h" |
76 #include "public/platform/WebVector.h" | 76 #include "public/platform/WebVector.h" |
77 #include "weborigin/KURL.h" | 77 #include "weborigin/KURL.h" |
78 #include "wtf/text/WTFString.h" | 78 #include "wtf/text/WTFString.h" |
79 | 79 |
80 using namespace WebCore; | 80 using namespace WebCore; |
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
413 outputItems[i] = subItems[i]; | 413 outputItems[i] = subItems[i]; |
414 subMenuItems.swap(outputItems); | 414 subMenuItems.swap(outputItems); |
415 } | 415 } |
416 | 416 |
417 void ContextMenuClientImpl::populateCustomMenuItems(const WebCore::ContextMenu*
defaultMenu, WebContextMenuData* data) | 417 void ContextMenuClientImpl::populateCustomMenuItems(const WebCore::ContextMenu*
defaultMenu, WebContextMenuData* data) |
418 { | 418 { |
419 populateSubMenuItems(defaultMenu->items(), data->customItems); | 419 populateSubMenuItems(defaultMenu->items(), data->customItems); |
420 } | 420 } |
421 | 421 |
422 } // namespace WebKit | 422 } // namespace WebKit |
OLD | NEW |