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

Side by Side Diff: content/browser/plugin_process_host.cc

Issue 8346017: Move content_browser_client.h to public, and while at it, move (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Missed a file post merge. Created 9 years, 2 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 | « content/browser/mock_content_browser_client.h ('k') | content/browser/plugin_service.cc » ('j') | 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 "content/browser/plugin_process_host.h" 5 #include "content/browser/plugin_process_host.h"
6 6
7 #if defined(OS_WIN) && !defined(USE_AURA) 7 #if defined(OS_WIN) && !defined(USE_AURA)
8 #include <windows.h> 8 #include <windows.h>
9 #elif defined(OS_POSIX) 9 #elif defined(OS_POSIX)
10 #include <utility> // for pair<> 10 #include <utility> // for pair<>
11 #endif 11 #endif
12 12
13 #include <vector> 13 #include <vector>
14 14
15 #include "base/base_switches.h" 15 #include "base/base_switches.h"
16 #include "base/command_line.h" 16 #include "base/command_line.h"
17 #include "base/file_path.h" 17 #include "base/file_path.h"
18 #include "base/file_util.h" 18 #include "base/file_util.h"
19 #include "base/logging.h" 19 #include "base/logging.h"
20 #include "base/path_service.h" 20 #include "base/path_service.h"
21 #include "base/string_util.h" 21 #include "base/string_util.h"
22 #include "base/utf_string_conversions.h" 22 #include "base/utf_string_conversions.h"
23 #include "content/browser/browser_thread.h" 23 #include "content/browser/browser_thread.h"
24 #include "content/browser/content_browser_client.h"
25 #include "content/browser/plugin_service.h" 24 #include "content/browser/plugin_service.h"
26 #include "content/browser/renderer_host/resource_dispatcher_host.h" 25 #include "content/browser/renderer_host/resource_dispatcher_host.h"
27 #include "content/browser/renderer_host/resource_message_filter.h" 26 #include "content/browser/renderer_host/resource_message_filter.h"
28 #include "content/common/plugin_messages.h" 27 #include "content/common/plugin_messages.h"
29 #include "content/common/resource_messages.h" 28 #include "content/common/resource_messages.h"
29 #include "content/public/browser/content_browser_client.h"
30 #include "content/public/common/content_switches.h" 30 #include "content/public/common/content_switches.h"
31 #include "ipc/ipc_switches.h" 31 #include "ipc/ipc_switches.h"
32 #include "ui/base/ui_base_switches.h" 32 #include "ui/base/ui_base_switches.h"
33 #include "ui/gfx/native_widget_types.h" 33 #include "ui/gfx/native_widget_types.h"
34 #include "ui/gfx/gl/gl_switches.h" 34 #include "ui/gfx/gl/gl_switches.h"
35 35
36 #if defined(USE_X11) 36 #if defined(USE_X11)
37 #include "ui/gfx/gtk_native_view_id_manager.h" 37 #include "ui/gfx/gtk_native_view_id_manager.h"
38 #endif 38 #endif
39 39
(...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after
413 } 413 }
414 414
415 void PluginProcessHost::OnChannelCreated( 415 void PluginProcessHost::OnChannelCreated(
416 const IPC::ChannelHandle& channel_handle) { 416 const IPC::ChannelHandle& channel_handle) {
417 Client* client = sent_requests_.front(); 417 Client* client = sent_requests_.front();
418 418
419 if (client) 419 if (client)
420 client->OnChannelOpened(channel_handle); 420 client->OnChannelOpened(channel_handle);
421 sent_requests_.pop_front(); 421 sent_requests_.pop_front();
422 } 422 }
OLDNEW
« no previous file with comments | « content/browser/mock_content_browser_client.h ('k') | content/browser/plugin_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698