| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ | 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ |
| 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ | 6 #define CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <deque> | 9 #include <deque> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 493 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 504 gfx::PluginWindowHandle* id); | 504 gfx::PluginWindowHandle* id); |
| 505 void OnDestroyFakePluginWindowHandle(gfx::PluginWindowHandle id); | 505 void OnDestroyFakePluginWindowHandle(gfx::PluginWindowHandle id); |
| 506 void OnAcceleratedSurfaceSetIOSurface(gfx::PluginWindowHandle window, | 506 void OnAcceleratedSurfaceSetIOSurface(gfx::PluginWindowHandle window, |
| 507 int32 width, | 507 int32 width, |
| 508 int32 height, | 508 int32 height, |
| 509 uint64 mach_port); | 509 uint64 mach_port); |
| 510 void OnAcceleratedSurfaceSetTransportDIB(gfx::PluginWindowHandle window, | 510 void OnAcceleratedSurfaceSetTransportDIB(gfx::PluginWindowHandle window, |
| 511 int32 width, | 511 int32 width, |
| 512 int32 height, | 512 int32 height, |
| 513 TransportDIB::Handle transport_dib); | 513 TransportDIB::Handle transport_dib); |
| 514 void OnAcceleratedSurfaceBuffersSwapped(gfx::PluginWindowHandle window); | 514 void OnAcceleratedSurfaceBuffersSwapped(gfx::PluginWindowHandle window, |
| 515 uint64 surface_id); |
| 515 #elif defined(OS_POSIX) | 516 #elif defined(OS_POSIX) |
| 516 void OnMsgCreatePluginContainer(gfx::PluginWindowHandle id); | 517 void OnMsgCreatePluginContainer(gfx::PluginWindowHandle id); |
| 517 void OnMsgDestroyPluginContainer(gfx::PluginWindowHandle id); | 518 void OnMsgDestroyPluginContainer(gfx::PluginWindowHandle id); |
| 518 #endif | 519 #endif |
| 519 | 520 |
| 520 // Paints the given bitmap to the current backing store at the given location. | 521 // Paints the given bitmap to the current backing store at the given location. |
| 521 // |*painted_synchronously| will be true if the message was processed | 522 // |*painted_synchronously| will be true if the message was processed |
| 522 // synchronously, and the bitmap is done being used. False means that the | 523 // synchronously, and the bitmap is done being used. False means that the |
| 523 // backing store will paint the bitmap at a later time and that the DIB can't | 524 // backing store will paint the bitmap at a later time and that the DIB can't |
| 524 // be freed (it will be the backing store's job to free it later). | 525 // be freed (it will be the backing store's job to free it later). |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 689 // changed. | 690 // changed. |
| 690 bool suppress_next_char_events_; | 691 bool suppress_next_char_events_; |
| 691 | 692 |
| 692 // Optional video YUV layer for used for out-of-process compositing. | 693 // Optional video YUV layer for used for out-of-process compositing. |
| 693 scoped_ptr<VideoLayer> video_layer_; | 694 scoped_ptr<VideoLayer> video_layer_; |
| 694 | 695 |
| 695 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHost); | 696 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHost); |
| 696 }; | 697 }; |
| 697 | 698 |
| 698 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ | 699 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ |
| OLD | NEW |