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

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

Issue 8340028: Salient parts of http://codereview.chromium.org/8392042/ (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
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
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"
24 #include "content/browser/plugin_service.h" 23 #include "content/browser/plugin_service.h"
25 #include "content/browser/renderer_host/resource_dispatcher_host.h" 24 #include "content/browser/renderer_host/resource_dispatcher_host.h"
26 #include "content/browser/renderer_host/resource_message_filter.h" 25 #include "content/browser/renderer_host/resource_message_filter.h"
27 #include "content/common/plugin_messages.h" 26 #include "content/common/plugin_messages.h"
28 #include "content/common/resource_messages.h" 27 #include "content/common/resource_messages.h"
28 #include "content/public/browser/browser_thread.h"
29 #include "content/public/browser/content_browser_client.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/gl/gl_switches.h"
33 #include "ui/gfx/native_widget_types.h" 34 #include "ui/gfx/native_widget_types.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
40 #if defined(OS_MACOSX) 40 #if defined(OS_MACOSX)
41 #include "base/mac/mac_util.h" 41 #include "base/mac/mac_util.h"
42 #include "content/common/plugin_carbon_interpose_constants_mac.h" 42 #include "content/common/plugin_carbon_interpose_constants_mac.h"
43 #include "ui/gfx/rect.h" 43 #include "ui/gfx/rect.h"
44 #endif 44 #endif
(...skipping 368 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/plugin_loader_posix_unittest.cc ('k') | content/browser/plugin_process_host_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698