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 491 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
502 uint64 mach_port); | 502 uint64 mach_port); |
503 void OnAcceleratedSurfaceSetTransportDIB(gfx::PluginWindowHandle window, | 503 void OnAcceleratedSurfaceSetTransportDIB(gfx::PluginWindowHandle window, |
504 int32 width, | 504 int32 width, |
505 int32 height, | 505 int32 height, |
506 TransportDIB::Handle transport_dib); | 506 TransportDIB::Handle transport_dib); |
507 void OnAcceleratedSurfaceBuffersSwapped(gfx::PluginWindowHandle window, | 507 void OnAcceleratedSurfaceBuffersSwapped(gfx::PluginWindowHandle window, |
508 uint64 surface_id); | 508 uint64 surface_id); |
509 #elif defined(OS_POSIX) | 509 #elif defined(OS_POSIX) |
510 void OnMsgCreatePluginContainer(gfx::PluginWindowHandle id); | 510 void OnMsgCreatePluginContainer(gfx::PluginWindowHandle id); |
511 void OnMsgDestroyPluginContainer(gfx::PluginWindowHandle id); | 511 void OnMsgDestroyPluginContainer(gfx::PluginWindowHandle id); |
| 512 #elif defined(OS_WIN) |
| 513 void OnShowCompositorHostWindow(bool show); |
512 #endif | 514 #endif |
513 | 515 |
514 // Paints the given bitmap to the current backing store at the given location. | 516 // Paints the given bitmap to the current backing store at the given location. |
515 void PaintBackingStoreRect(TransportDIB::Id bitmap, | 517 void PaintBackingStoreRect(TransportDIB::Id bitmap, |
516 const gfx::Rect& bitmap_rect, | 518 const gfx::Rect& bitmap_rect, |
517 const std::vector<gfx::Rect>& copy_rects, | 519 const std::vector<gfx::Rect>& copy_rects, |
518 const gfx::Size& view_size); | 520 const gfx::Size& view_size); |
519 | 521 |
520 // Scrolls the given |clip_rect| in the backing by the given dx/dy amount. The | 522 // Scrolls the given |clip_rect| in the backing by the given dx/dy amount. The |
521 // |dib| and its corresponding location |bitmap_rect| in the backing store | 523 // |dib| and its corresponding location |bitmap_rect| in the backing store |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
669 // but the Char event generated by alt-2 may also activate a HTML element | 671 // but the Char event generated by alt-2 may also activate a HTML element |
670 // if its accesskey happens to be "2", then the user may get confused when | 672 // if its accesskey happens to be "2", then the user may get confused when |
671 // switching back to the original tab, because the content may already be | 673 // switching back to the original tab, because the content may already be |
672 // changed. | 674 // changed. |
673 bool suppress_next_char_events_; | 675 bool suppress_next_char_events_; |
674 | 676 |
675 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHost); | 677 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHost); |
676 }; | 678 }; |
677 | 679 |
678 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ | 680 #endif // CHROME_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_H_ |
OLD | NEW |