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

Side by Side Diff: chrome/browser/renderer_context_menu/render_view_context_menu.cc

Issue 743723003: [POC] Copy video frame feature Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/renderer_context_menu/render_view_context_menu.h" 5 #include "chrome/browser/renderer_context_menu/render_view_context_menu.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <set> 8 #include <set>
9 #include <utility> 9 #include <utility>
10 10
(...skipping 489 matching lines...) Expand 10 before | Expand all | Expand 10 after
500 } 500 }
501 501
502 if (content_type_->SupportsGroup( 502 if (content_type_->SupportsGroup(
503 ContextMenuContentType::ITEM_GROUP_SEARCHWEBFORIMAGE)) { 503 ContextMenuContentType::ITEM_GROUP_SEARCHWEBFORIMAGE)) {
504 AppendSearchWebForImageItems(); 504 AppendSearchWebForImageItems();
505 } 505 }
506 506
507 if (content_type_->SupportsGroup( 507 if (content_type_->SupportsGroup(
508 ContextMenuContentType::ITEM_GROUP_MEDIA_VIDEO)) { 508 ContextMenuContentType::ITEM_GROUP_MEDIA_VIDEO)) {
509 AppendVideoItems(); 509 AppendVideoItems();
510 AppendImageItems();
510 } 511 }
511 512
512 if (content_type_->SupportsGroup( 513 if (content_type_->SupportsGroup(
513 ContextMenuContentType::ITEM_GROUP_MEDIA_AUDIO)) { 514 ContextMenuContentType::ITEM_GROUP_MEDIA_AUDIO)) {
514 AppendAudioItems(); 515 AppendAudioItems();
515 } 516 }
516 517
517 if (content_type_->SupportsGroup( 518 if (content_type_->SupportsGroup(
518 ContextMenuContentType::ITEM_GROUP_MEDIA_CANVAS)) { 519 ContextMenuContentType::ITEM_GROUP_MEDIA_CANVAS)) {
519 AppendCanvasItems(); 520 AppendCanvasItems();
(...skipping 1250 matching lines...) Expand 10 before | Expand all | Expand 10 after
1770 source_web_contents_->GetRenderViewHost()-> 1771 source_web_contents_->GetRenderViewHost()->
1771 ExecuteMediaPlayerActionAtLocation(location, action); 1772 ExecuteMediaPlayerActionAtLocation(location, action);
1772 } 1773 }
1773 1774
1774 void RenderViewContextMenu::PluginActionAt( 1775 void RenderViewContextMenu::PluginActionAt(
1775 const gfx::Point& location, 1776 const gfx::Point& location,
1776 const WebPluginAction& action) { 1777 const WebPluginAction& action) {
1777 source_web_contents_->GetRenderViewHost()-> 1778 source_web_contents_->GetRenderViewHost()->
1778 ExecutePluginActionAtLocation(location, action); 1779 ExecutePluginActionAtLocation(location, action);
1779 } 1780 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698