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

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

Issue 9030032: Get rid of a bunch of tab_contents.h includes from chrome. These are all trivial changes to use W... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix cros Created 8 years, 11 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
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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 #include "chrome/common/pref_names.h" 58 #include "chrome/common/pref_names.h"
59 #include "chrome/common/print_messages.h" 59 #include "chrome/common/print_messages.h"
60 #include "chrome/common/spellcheck_messages.h" 60 #include "chrome/common/spellcheck_messages.h"
61 #include "chrome/common/url_constants.h" 61 #include "chrome/common/url_constants.h"
62 #include "content/browser/child_process_security_policy.h" 62 #include "content/browser/child_process_security_policy.h"
63 #include "content/browser/download/download_stats.h" 63 #include "content/browser/download/download_stats.h"
64 #include "content/browser/download/save_package.h" 64 #include "content/browser/download/save_package.h"
65 #include "content/browser/renderer_host/render_view_host.h" 65 #include "content/browser/renderer_host/render_view_host.h"
66 #include "content/browser/renderer_host/render_widget_host_view.h" 66 #include "content/browser/renderer_host/render_widget_host_view.h"
67 #include "content/browser/speech/speech_input_preferences.h" 67 #include "content/browser/speech/speech_input_preferences.h"
68 #include "content/browser/tab_contents/tab_contents.h" 68 #include "content/browser/ssl/ssl_manager.h"
69 #include "content/public/browser/download_manager.h" 69 #include "content/public/browser/download_manager.h"
70 #include "content/public/browser/navigation_details.h" 70 #include "content/public/browser/navigation_details.h"
71 #include "content/public/browser/navigation_entry.h" 71 #include "content/public/browser/navigation_entry.h"
72 #include "content/public/browser/notification_service.h" 72 #include "content/public/browser/notification_service.h"
73 #include "content/public/browser/ssl_status.h" 73 #include "content/public/browser/ssl_status.h"
74 #include "content/public/browser/user_metrics.h" 74 #include "content/public/browser/user_metrics.h"
75 #include "content/public/browser/web_contents.h"
75 #include "content/public/common/content_restriction.h" 76 #include "content/public/common/content_restriction.h"
76 #include "grit/generated_resources.h" 77 #include "grit/generated_resources.h"
77 #include "net/base/escape.h" 78 #include "net/base/escape.h"
78 #include "net/base/net_util.h" 79 #include "net/base/net_util.h"
79 #include "third_party/WebKit/Source/WebKit/chromium/public/WebContextMenuData.h" 80 #include "third_party/WebKit/Source/WebKit/chromium/public/WebContextMenuData.h"
80 #include "third_party/WebKit/Source/WebKit/chromium/public/WebMediaPlayerAction. h" 81 #include "third_party/WebKit/Source/WebKit/chromium/public/WebMediaPlayerAction. h"
81 #include "ui/base/l10n/l10n_util.h" 82 #include "ui/base/l10n/l10n_util.h"
82 #include "ui/base/text/text_elider.h" 83 #include "ui/base/text/text_elider.h"
83 #include "ui/gfx/favicon_size.h" 84 #include "ui/gfx/favicon_size.h"
84 #include "webkit/glue/webmenuitem.h" 85 #include "webkit/glue/webmenuitem.h"
(...skipping 1783 matching lines...) Expand 10 before | Expand all | Expand 10 after
1868 profile_->GetPrefs()->GetString(prefs::kAcceptLanguages), 1869 profile_->GetPrefs()->GetString(prefs::kAcceptLanguages),
1869 g_browser_process->clipboard()); 1870 g_browser_process->clipboard());
1870 } 1871 }
1871 1872
1872 void RenderViewContextMenu::MediaPlayerActionAt( 1873 void RenderViewContextMenu::MediaPlayerActionAt(
1873 const gfx::Point& location, 1874 const gfx::Point& location,
1874 const WebMediaPlayerAction& action) { 1875 const WebMediaPlayerAction& action) {
1875 source_web_contents_->GetRenderViewHost()-> 1876 source_web_contents_->GetRenderViewHost()->
1876 ExecuteMediaPlayerActionAtLocation(location, action); 1877 ExecuteMediaPlayerActionAtLocation(location, action);
1877 } 1878 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698