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

Side by Side Diff: third_party/WebKit/Source/web/ContextMenuClientImpl.cpp

Issue 2855523002: Deleted Widget/FrameViewBase (Closed)
Patch Set: update comments Created 3 years, 7 months 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
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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 #include "core/html/HTMLPlugInElement.h" 52 #include "core/html/HTMLPlugInElement.h"
53 #include "core/input/EventHandler.h" 53 #include "core/input/EventHandler.h"
54 #include "core/layout/HitTestResult.h" 54 #include "core/layout/HitTestResult.h"
55 #include "core/layout/LayoutPart.h" 55 #include "core/layout/LayoutPart.h"
56 #include "core/loader/DocumentLoader.h" 56 #include "core/loader/DocumentLoader.h"
57 #include "core/loader/FrameLoader.h" 57 #include "core/loader/FrameLoader.h"
58 #include "core/loader/HistoryItem.h" 58 #include "core/loader/HistoryItem.h"
59 #include "core/page/ContextMenuController.h" 59 #include "core/page/ContextMenuController.h"
60 #include "core/page/Page.h" 60 #include "core/page/Page.h"
61 #include "platform/ContextMenu.h" 61 #include "platform/ContextMenu.h"
62 #include "platform/FrameViewBase.h"
63 #include "platform/exported/WrappedResourceResponse.h" 62 #include "platform/exported/WrappedResourceResponse.h"
64 #include "platform/text/TextBreakIterator.h" 63 #include "platform/text/TextBreakIterator.h"
65 #include "platform/weborigin/KURL.h" 64 #include "platform/weborigin/KURL.h"
66 #include "platform/wtf/text/WTFString.h" 65 #include "platform/wtf/text/WTFString.h"
67 #include "public/platform/WebPoint.h" 66 #include "public/platform/WebPoint.h"
68 #include "public/platform/WebString.h" 67 #include "public/platform/WebString.h"
69 #include "public/platform/WebURL.h" 68 #include "public/platform/WebURL.h"
70 #include "public/platform/WebURLResponse.h" 69 #include "public/platform/WebURLResponse.h"
71 #include "public/platform/WebVector.h" 70 #include "public/platform/WebVector.h"
72 #include "public/web/WebContextMenuData.h" 71 #include "public/web/WebContextMenuData.h"
(...skipping 391 matching lines...) Expand 10 before | Expand all | Expand 10 after
464 sub_menu_items.Swap(output_items); 463 sub_menu_items.Swap(output_items);
465 } 464 }
466 465
467 void ContextMenuClientImpl::PopulateCustomMenuItems( 466 void ContextMenuClientImpl::PopulateCustomMenuItems(
468 const ContextMenu* default_menu, 467 const ContextMenu* default_menu,
469 WebContextMenuData* data) { 468 WebContextMenuData* data) {
470 PopulateSubMenuItems(default_menu->Items(), data->custom_items); 469 PopulateSubMenuItems(default_menu->Items(), data->custom_items);
471 } 470 }
472 471
473 } // namespace blink 472 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698