OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2010 Google Inc. All rights reserved. | 2 * Copyright (C) 2010 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 #include "NotificationPresenterImpl.h" | 53 #include "NotificationPresenterImpl.h" |
54 #include "PageOverlayList.h" | 54 #include "PageOverlayList.h" |
55 #include "PlatformGestureCurveTarget.h" | 55 #include "PlatformGestureCurveTarget.h" |
56 #include "UserMediaClientImpl.h" | 56 #include "UserMediaClientImpl.h" |
57 #include <wtf/OwnPtr.h> | 57 #include <wtf/OwnPtr.h> |
58 #include <wtf/RefCounted.h> | 58 #include <wtf/RefCounted.h> |
59 | 59 |
60 namespace WebCore { | 60 namespace WebCore { |
61 class ActivePlatformGestureAnimation; | 61 class ActivePlatformGestureAnimation; |
62 class ChromiumDataObject; | 62 class ChromiumDataObject; |
| 63 class Color; |
63 class DocumentLoader; | 64 class DocumentLoader; |
64 class Frame; | 65 class Frame; |
65 class GraphicsContext3D; | 66 class GraphicsContext3D; |
66 class HistoryItem; | 67 class HistoryItem; |
67 class HitTestResult; | 68 class HitTestResult; |
68 class KeyboardEvent; | 69 class KeyboardEvent; |
69 class Page; | 70 class Page; |
70 class PlatformGestureCurveTarget; | 71 class PlatformGestureCurveTarget; |
71 class PlatformKeyboardEvent; | 72 class PlatformKeyboardEvent; |
72 class PopupContainer; | 73 class PopupContainer; |
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
445 } | 446 } |
446 | 447 |
447 #if USE(ACCELERATED_COMPOSITING) | 448 #if USE(ACCELERATED_COMPOSITING) |
448 bool allowsAcceleratedCompositing(); | 449 bool allowsAcceleratedCompositing(); |
449 bool pageHasRTLStyle() const; | 450 bool pageHasRTLStyle() const; |
450 void setRootGraphicsLayer(WebCore::GraphicsLayer*); | 451 void setRootGraphicsLayer(WebCore::GraphicsLayer*); |
451 void scheduleCompositingLayerSync(); | 452 void scheduleCompositingLayerSync(); |
452 void scrollRootLayerRect(const WebCore::IntSize& scrollDelta, const WebCore:
:IntRect& clipRect); | 453 void scrollRootLayerRect(const WebCore::IntSize& scrollDelta, const WebCore:
:IntRect& clipRect); |
453 void invalidateRootLayerRect(const WebCore::IntRect&); | 454 void invalidateRootLayerRect(const WebCore::IntRect&); |
454 NonCompositedContentHost* nonCompositedContentHost(); | 455 NonCompositedContentHost* nonCompositedContentHost(); |
| 456 void setBackgroundColor(const WebCore::Color&); |
455 #endif | 457 #endif |
456 #if ENABLE(REQUEST_ANIMATION_FRAME) | 458 #if ENABLE(REQUEST_ANIMATION_FRAME) |
457 void scheduleAnimation(); | 459 void scheduleAnimation(); |
458 #endif | 460 #endif |
459 | 461 |
460 // Returns the onscreen 3D context used by the compositor. This is | 462 // Returns the onscreen 3D context used by the compositor. This is |
461 // used by the renderer's code to set up resource sharing between | 463 // used by the renderer's code to set up resource sharing between |
462 // the compositor's context and subordinate contexts for APIs like | 464 // the compositor's context and subordinate contexts for APIs like |
463 // WebGL. Returns 0 if compositing support is not compiled in or | 465 // WebGL. Returns 0 if compositing support is not compiled in or |
464 // we could not successfully instantiate a context. | 466 // we could not successfully instantiate a context. |
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
731 #endif | 733 #endif |
732 OwnPtr<WebCore::ActivePlatformGestureAnimation> m_gestureAnimation; | 734 OwnPtr<WebCore::ActivePlatformGestureAnimation> m_gestureAnimation; |
733 WebPoint m_lastWheelPosition; | 735 WebPoint m_lastWheelPosition; |
734 WebPoint m_lastWheelGlobalPosition; | 736 WebPoint m_lastWheelGlobalPosition; |
735 int m_flingModifier; | 737 int m_flingModifier; |
736 }; | 738 }; |
737 | 739 |
738 } // namespace WebKit | 740 } // namespace WebKit |
739 | 741 |
740 #endif | 742 #endif |
OLD | NEW |