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

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

Issue 8493017: Cleanup extension permissions module. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 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 | Annotate | Revision Log
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 #include <utility> 7 #include <utility>
8 8
9 #include "chrome/browser/tab_contents/render_view_context_menu.h" 9 #include "chrome/browser/tab_contents/render_view_context_menu.h"
10 10
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 #include "chrome/browser/tab_contents/spellchecker_submenu_observer.h" 43 #include "chrome/browser/tab_contents/spellchecker_submenu_observer.h"
44 #include "chrome/browser/tab_contents/spelling_menu_observer.h" 44 #include "chrome/browser/tab_contents/spelling_menu_observer.h"
45 #include "chrome/browser/translate/translate_manager.h" 45 #include "chrome/browser/translate/translate_manager.h"
46 #include "chrome/browser/translate/translate_prefs.h" 46 #include "chrome/browser/translate/translate_prefs.h"
47 #include "chrome/browser/translate/translate_tab_helper.h" 47 #include "chrome/browser/translate/translate_tab_helper.h"
48 #include "chrome/browser/ui/browser.h" 48 #include "chrome/browser/ui/browser.h"
49 #include "chrome/browser/ui/prefs/prefs_tab_helper.h" 49 #include "chrome/browser/ui/prefs/prefs_tab_helper.h"
50 #include "chrome/browser/ui/search_engines/search_engine_tab_helper.h" 50 #include "chrome/browser/ui/search_engines/search_engine_tab_helper.h"
51 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" 51 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
52 #include "chrome/common/chrome_constants.h" 52 #include "chrome/common/chrome_constants.h"
53 #include "chrome/common/chrome_notification_types.h"
53 #include "chrome/common/chrome_switches.h" 54 #include "chrome/common/chrome_switches.h"
54 #include "chrome/common/pref_names.h" 55 #include "chrome/common/pref_names.h"
55 #include "chrome/common/print_messages.h" 56 #include "chrome/common/print_messages.h"
56 #include "chrome/common/spellcheck_messages.h" 57 #include "chrome/common/spellcheck_messages.h"
57 #include "chrome/common/url_constants.h" 58 #include "chrome/common/url_constants.h"
58 #include "content/browser/child_process_security_policy.h" 59 #include "content/browser/child_process_security_policy.h"
59 #include "content/browser/download/download_manager.h" 60 #include "content/browser/download/download_manager.h"
60 #include "content/browser/download/download_stats.h" 61 #include "content/browser/download/download_stats.h"
61 #include "content/browser/download/save_package.h" 62 #include "content/browser/download/save_package.h"
62 #include "content/browser/renderer_host/render_view_host.h" 63 #include "content/browser/renderer_host/render_view_host.h"
(...skipping 1777 matching lines...) Expand 10 before | Expand all | Expand 10 after
1840 profile_->GetPrefs()->GetString(prefs::kAcceptLanguages), 1841 profile_->GetPrefs()->GetString(prefs::kAcceptLanguages),
1841 g_browser_process->clipboard()); 1842 g_browser_process->clipboard());
1842 } 1843 }
1843 1844
1844 void RenderViewContextMenu::MediaPlayerActionAt( 1845 void RenderViewContextMenu::MediaPlayerActionAt(
1845 const gfx::Point& location, 1846 const gfx::Point& location,
1846 const WebMediaPlayerAction& action) { 1847 const WebMediaPlayerAction& action) {
1847 source_tab_contents_->render_view_host()-> 1848 source_tab_contents_->render_view_host()->
1848 ExecuteMediaPlayerActionAtLocation(location, action); 1849 ExecuteMediaPlayerActionAtLocation(location, action);
1849 } 1850 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698