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

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

Issue 6799005: Build break fix for WK change https://bugs.webkit.org/show_bug.cgi?id=57566 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 8 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 | Annotate | Revision Log
« 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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 <algorithm> 5 #include <algorithm>
6 #include <set> 6 #include <set>
7 7
8 #include "chrome/browser/tab_contents/render_view_context_menu.h" 8 #include "chrome/browser/tab_contents/render_view_context_menu.h"
9 9
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 485 matching lines...) Expand 10 before | Expand all | Expand 10 after
496 break; 496 break;
497 case WebContextMenuData::MediaTypeVideo: 497 case WebContextMenuData::MediaTypeVideo:
498 AppendVideoItems(); 498 AppendVideoItems();
499 break; 499 break;
500 case WebContextMenuData::MediaTypeAudio: 500 case WebContextMenuData::MediaTypeAudio:
501 AppendAudioItems(); 501 AppendAudioItems();
502 break; 502 break;
503 case WebContextMenuData::MediaTypePlugin: 503 case WebContextMenuData::MediaTypePlugin:
504 AppendPluginItems(); 504 AppendPluginItems();
505 break; 505 break;
506 #ifdef WEBCONTEXT_MEDIATYPEFILE_DEFINED
507 case WebContextMenuData::MediaTypeFile:
508 break;
509 #endif
506 } 510 }
507 511
508 if (params_.is_editable) 512 if (params_.is_editable)
509 AppendEditableItems(); 513 AppendEditableItems();
510 else if (has_selection) 514 else if (has_selection)
511 AppendCopyItem(); 515 AppendCopyItem();
512 516
513 if (has_selection) 517 if (has_selection)
514 AppendSearchProvider(); 518 AppendSearchProvider();
515 519
(...skipping 1022 matching lines...) Expand 10 before | Expand all | Expand 10 after
1538 profile_->GetPrefs()->GetString(prefs::kAcceptLanguages), 1542 profile_->GetPrefs()->GetString(prefs::kAcceptLanguages),
1539 g_browser_process->clipboard()); 1543 g_browser_process->clipboard());
1540 } 1544 }
1541 1545
1542 void RenderViewContextMenu::MediaPlayerActionAt( 1546 void RenderViewContextMenu::MediaPlayerActionAt(
1543 const gfx::Point& location, 1547 const gfx::Point& location,
1544 const WebMediaPlayerAction& action) { 1548 const WebMediaPlayerAction& action) {
1545 source_tab_contents_->render_view_host()->MediaPlayerActionAt( 1549 source_tab_contents_->render_view_host()->MediaPlayerActionAt(
1546 location, action); 1550 location, action);
1547 } 1551 }
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