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_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <deque> | 9 #include <deque> |
10 #include <string> | 10 #include <string> |
(...skipping 471 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
482 void OnDestroyFakePluginWindowHandle(gfx::PluginWindowHandle id); | 482 void OnDestroyFakePluginWindowHandle(gfx::PluginWindowHandle id); |
483 void OnAcceleratedSurfaceSetIOSurface(gfx::PluginWindowHandle window, | 483 void OnAcceleratedSurfaceSetIOSurface(gfx::PluginWindowHandle window, |
484 int32 width, | 484 int32 width, |
485 int32 height, | 485 int32 height, |
486 uint64 mach_port); | 486 uint64 mach_port); |
487 void OnAcceleratedSurfaceSetTransportDIB(gfx::PluginWindowHandle window, | 487 void OnAcceleratedSurfaceSetTransportDIB(gfx::PluginWindowHandle window, |
488 int32 width, | 488 int32 width, |
489 int32 height, | 489 int32 height, |
490 TransportDIB::Handle transport_dib); | 490 TransportDIB::Handle transport_dib); |
491 void OnAcceleratedSurfaceBuffersSwapped(gfx::PluginWindowHandle window, | 491 void OnAcceleratedSurfaceBuffersSwapped(gfx::PluginWindowHandle window, |
492 uint64 surface_id); | 492 uint64 surface_handle); |
493 #endif | 493 #endif |
494 #if defined(TOOLKIT_USES_GTK) | 494 #if defined(TOOLKIT_USES_GTK) |
495 void OnMsgCreatePluginContainer(gfx::PluginWindowHandle id); | 495 void OnMsgCreatePluginContainer(gfx::PluginWindowHandle id); |
496 void OnMsgDestroyPluginContainer(gfx::PluginWindowHandle id); | 496 void OnMsgDestroyPluginContainer(gfx::PluginWindowHandle id); |
497 #endif | 497 #endif |
498 | 498 |
499 // Called (either immediately or asynchronously) after we're done with our | 499 // Called (either immediately or asynchronously) after we're done with our |
500 // BackingStore and can send an ACK to the renderer so it can paint onto it | 500 // BackingStore and can send an ACK to the renderer so it can paint onto it |
501 // again. | 501 // again. |
502 void DidUpdateBackingStore(const ViewHostMsg_UpdateRect_Params& params, | 502 void DidUpdateBackingStore(const ViewHostMsg_UpdateRect_Params& params, |
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
686 bool has_touch_handler_; | 686 bool has_touch_handler_; |
687 | 687 |
688 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; | 688 base::WeakPtrFactory<RenderWidgetHostImpl> weak_factory_; |
689 | 689 |
690 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); | 690 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostImpl); |
691 }; | 691 }; |
692 | 692 |
693 } // namespace content | 693 } // namespace content |
694 | 694 |
695 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ | 695 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_IMPL_H_ |
OLD | NEW |