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

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, 1 month 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 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 30 matching lines...) Expand all
41 #include "chrome/browser/spellchecker/spellchecker_platform_engine.h" 41 #include "chrome/browser/spellchecker/spellchecker_platform_engine.h"
42 #include "chrome/browser/tab_contents/spellchecker_submenu_observer.h" 42 #include "chrome/browser/tab_contents/spellchecker_submenu_observer.h"
43 #include "chrome/browser/tab_contents/spelling_menu_observer.h" 43 #include "chrome/browser/tab_contents/spelling_menu_observer.h"
44 #include "chrome/browser/translate/translate_manager.h" 44 #include "chrome/browser/translate/translate_manager.h"
45 #include "chrome/browser/translate/translate_prefs.h" 45 #include "chrome/browser/translate/translate_prefs.h"
46 #include "chrome/browser/translate/translate_tab_helper.h" 46 #include "chrome/browser/translate/translate_tab_helper.h"
47 #include "chrome/browser/ui/browser.h" 47 #include "chrome/browser/ui/browser.h"
48 #include "chrome/browser/ui/search_engines/search_engine_tab_helper.h" 48 #include "chrome/browser/ui/search_engines/search_engine_tab_helper.h"
49 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" 49 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
50 #include "chrome/common/chrome_constants.h" 50 #include "chrome/common/chrome_constants.h"
51 #include "chrome/common/chrome_notification_types.h"
51 #include "chrome/common/chrome_switches.h" 52 #include "chrome/common/chrome_switches.h"
52 #include "chrome/common/pref_names.h" 53 #include "chrome/common/pref_names.h"
53 #include "chrome/common/print_messages.h" 54 #include "chrome/common/print_messages.h"
54 #include "chrome/common/spellcheck_messages.h" 55 #include "chrome/common/spellcheck_messages.h"
55 #include "chrome/common/url_constants.h" 56 #include "chrome/common/url_constants.h"
56 #include "content/browser/child_process_security_policy.h" 57 #include "content/browser/child_process_security_policy.h"
57 #include "content/browser/download/download_manager.h" 58 #include "content/browser/download/download_manager.h"
58 #include "content/browser/download/download_stats.h" 59 #include "content/browser/download/download_stats.h"
59 #include "content/browser/download/save_package.h" 60 #include "content/browser/download/save_package.h"
60 #include "content/browser/renderer_host/render_view_host.h" 61 #include "content/browser/renderer_host/render_view_host.h"
(...skipping 1800 matching lines...) Expand 10 before | Expand all | Expand 10 after
1861 profile_->GetPrefs()->GetString(prefs::kAcceptLanguages), 1862 profile_->GetPrefs()->GetString(prefs::kAcceptLanguages),
1862 g_browser_process->clipboard()); 1863 g_browser_process->clipboard());
1863 } 1864 }
1864 1865
1865 void RenderViewContextMenu::MediaPlayerActionAt( 1866 void RenderViewContextMenu::MediaPlayerActionAt(
1866 const gfx::Point& location, 1867 const gfx::Point& location,
1867 const WebMediaPlayerAction& action) { 1868 const WebMediaPlayerAction& action) {
1868 source_tab_contents_->render_view_host()-> 1869 source_tab_contents_->render_view_host()->
1869 ExecuteMediaPlayerActionAtLocation(location, action); 1870 ExecuteMediaPlayerActionAtLocation(location, action);
1870 } 1871 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698