OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "app/clipboard/clipboard.h" | |
11 #include "app/clipboard/scoped_clipboard_writer.h" | |
12 #include "app/l10n_util.h" | 10 #include "app/l10n_util.h" |
13 #include "base/command_line.h" | 11 #include "base/command_line.h" |
14 #include "base/histogram.h" | 12 #include "base/histogram.h" |
15 #include "base/logging.h" | 13 #include "base/logging.h" |
16 #include "base/stl_util-inl.h" | 14 #include "base/stl_util-inl.h" |
17 #include "base/string_util.h" | 15 #include "base/string_util.h" |
18 #include "base/time.h" | 16 #include "base/time.h" |
19 #include "chrome/app/chrome_dll_resource.h" | 17 #include "chrome/app/chrome_dll_resource.h" |
20 #include "chrome/browser/autocomplete/autocomplete_classifier.h" | 18 #include "chrome/browser/autocomplete/autocomplete_classifier.h" |
21 #include "chrome/browser/autocomplete/autocomplete_edit.h" | 19 #include "chrome/browser/autocomplete/autocomplete_edit.h" |
(...skipping 1376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1398 UTF8ToWide(profile_->GetPrefs()->GetString(prefs::kAcceptLanguages)), | 1396 UTF8ToWide(profile_->GetPrefs()->GetString(prefs::kAcceptLanguages)), |
1399 g_browser_process->clipboard()); | 1397 g_browser_process->clipboard()); |
1400 } | 1398 } |
1401 | 1399 |
1402 void RenderViewContextMenu::MediaPlayerActionAt( | 1400 void RenderViewContextMenu::MediaPlayerActionAt( |
1403 const gfx::Point& location, | 1401 const gfx::Point& location, |
1404 const WebMediaPlayerAction& action) { | 1402 const WebMediaPlayerAction& action) { |
1405 source_tab_contents_->render_view_host()->MediaPlayerActionAt( | 1403 source_tab_contents_->render_view_host()->MediaPlayerActionAt( |
1406 location, action); | 1404 location, action); |
1407 } | 1405 } |
OLD | NEW |