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

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

Issue 7054068: Make sandboxed Flash work under UIPI (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 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 #ifndef CONTENT_BROWSER_PLUGIN_PROCESS_HOST_H_ 5 #ifndef CONTENT_BROWSER_PLUGIN_PROCESS_HOST_H_
6 #define CONTENT_BROWSER_PLUGIN_PROCESS_HOST_H_ 6 #define CONTENT_BROWSER_PLUGIN_PROCESS_HOST_H_
7 #pragma once 7 #pragma once
8 8
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 10
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 private: 95 private:
96 // Sends a message to the plugin process to request creation of a new channel 96 // Sends a message to the plugin process to request creation of a new channel
97 // for the given mime type. 97 // for the given mime type.
98 void RequestPluginChannel(Client* client); 98 void RequestPluginChannel(Client* client);
99 99
100 // Message handlers. 100 // Message handlers.
101 void OnChannelCreated(const IPC::ChannelHandle& channel_handle); 101 void OnChannelCreated(const IPC::ChannelHandle& channel_handle);
102 102
103 #if defined(OS_WIN) 103 #if defined(OS_WIN)
104 void OnPluginWindowDestroyed(HWND window, HWND parent); 104 void OnPluginWindowDestroyed(HWND window, HWND parent);
105 void OnReparentPluginWindow(HWND window, HWND parent);
105 #endif 106 #endif
106 107
107 #if defined(USE_X11) 108 #if defined(USE_X11)
108 void OnMapNativeViewId(gfx::NativeViewId id, gfx::PluginWindowHandle* output); 109 void OnMapNativeViewId(gfx::NativeViewId id, gfx::PluginWindowHandle* output);
109 #endif 110 #endif
110 111
111 #if defined(OS_MACOSX) 112 #if defined(OS_MACOSX)
112 void OnPluginSelectWindow(uint32 window_id, gfx::Rect window_rect, 113 void OnPluginSelectWindow(uint32 window_id, gfx::Rect window_rect,
113 bool modal); 114 bool modal);
114 void OnPluginShowWindow(uint32 window_id, gfx::Rect window_rect, 115 void OnPluginShowWindow(uint32 window_id, gfx::Rect window_rect,
(...skipping 29 matching lines...) Expand all
144 // Tracks modal windows currently visible. 145 // Tracks modal windows currently visible.
145 std::set<uint32> plugin_modal_windows_set_; 146 std::set<uint32> plugin_modal_windows_set_;
146 // Tracks the current visibility of the cursor. 147 // Tracks the current visibility of the cursor.
147 bool plugin_cursor_visible_; 148 bool plugin_cursor_visible_;
148 #endif 149 #endif
149 150
150 DISALLOW_COPY_AND_ASSIGN(PluginProcessHost); 151 DISALLOW_COPY_AND_ASSIGN(PluginProcessHost);
151 }; 152 };
152 153
153 #endif // CONTENT_BROWSER_PLUGIN_PROCESS_HOST_H_ 154 #endif // CONTENT_BROWSER_PLUGIN_PROCESS_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698