| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
| 6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 6 #define CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 #include <set> | 10 #include <set> |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 112 gfx::Rect* location, | 112 gfx::Rect* location, |
| 113 gfx::Rect* clip); | 113 gfx::Rect* clip); |
| 114 | 114 |
| 115 // Called by RenderView when ViewMsg_AsyncOpenFile_ACK. | 115 // Called by RenderView when ViewMsg_AsyncOpenFile_ACK. |
| 116 void OnAsyncFileOpened(base::PlatformFileError error_code, | 116 void OnAsyncFileOpened(base::PlatformFileError error_code, |
| 117 base::PlatformFile file, | 117 base::PlatformFile file, |
| 118 int message_id); | 118 int message_id); |
| 119 | 119 |
| 120 // Called by RenderView when ViewMsg_PpapiBrokerChannelCreated. | 120 // Called by RenderView when ViewMsg_PpapiBrokerChannelCreated. |
| 121 void OnPpapiBrokerChannelCreated(int request_id, | 121 void OnPpapiBrokerChannelCreated(int request_id, |
| 122 base::ProcessHandle broker_process_handle, | |
| 123 const IPC::ChannelHandle& handle); | 122 const IPC::ChannelHandle& handle); |
| 124 | 123 |
| 125 // Removes broker from pending_connect_broker_ if present. Returns true if so. | 124 // Removes broker from pending_connect_broker_ if present. Returns true if so. |
| 126 bool StopWaitingForBrokerConnection(PepperBrokerImpl* broker); | 125 bool StopWaitingForBrokerConnection(PepperBrokerImpl* broker); |
| 127 | 126 |
| 128 // Notification that the render view has been focused or defocused. This | 127 // Notification that the render view has been focused or defocused. This |
| 129 // notifies all of the plugins. | 128 // notifies all of the plugins. |
| 130 void OnSetFocus(bool has_focus); | 129 void OnSetFocus(bool has_focus); |
| 131 | 130 |
| 132 // Notification that the page visibility has changed. The default is visible. | 131 // Notification that the page visibility has changed. The default is visible. |
| (...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 495 | 494 |
| 496 scoped_ptr<PepperDeviceEnumerationEventHandler> | 495 scoped_ptr<PepperDeviceEnumerationEventHandler> |
| 497 device_enumeration_event_handler_; | 496 device_enumeration_event_handler_; |
| 498 | 497 |
| 499 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); | 498 DISALLOW_COPY_AND_ASSIGN(PepperPluginDelegateImpl); |
| 500 }; | 499 }; |
| 501 | 500 |
| 502 } // namespace content | 501 } // namespace content |
| 503 | 502 |
| 504 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ | 503 #endif // CONTENT_RENDERER_PEPPER_PEPPER_PLUGIN_DELEGATE_IMPL_H_ |
| OLD | NEW |