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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 // WebWidget methods: | 109 // WebWidget methods: |
110 virtual void close(); | 110 virtual void close(); |
111 virtual WebSize size() { return m_size; } | 111 virtual WebSize size() { return m_size; } |
112 virtual void willStartLiveResize(); | 112 virtual void willStartLiveResize(); |
113 virtual void resize(const WebSize&); | 113 virtual void resize(const WebSize&); |
114 virtual void willEndLiveResize(); | 114 virtual void willEndLiveResize(); |
115 virtual void willEnterFullScreen(); | 115 virtual void willEnterFullScreen(); |
116 virtual void didEnterFullScreen(); | 116 virtual void didEnterFullScreen(); |
117 virtual void willExitFullScreen(); | 117 virtual void willExitFullScreen(); |
118 virtual void didExitFullScreen(); | 118 virtual void didExitFullScreen(); |
119 virtual void animate(double frameBeginTime); | 119 virtual void animate(double); |
120 virtual void layout(); // Also implements CCLayerTreeHostClient::layout() | 120 virtual void layout(); // Also implements CCLayerTreeHostClient::layout() |
121 virtual void paint(WebCanvas*, const WebRect&); | 121 virtual void paint(WebCanvas*, const WebRect&); |
122 virtual void themeChanged(); | 122 virtual void themeChanged(); |
123 virtual void composite(bool finish); | 123 virtual void composite(bool finish); |
124 virtual void setNeedsRedraw(); | 124 virtual void setNeedsRedraw(); |
125 virtual bool isInputThrottled() const; | 125 virtual bool isInputThrottled() const; |
126 virtual bool handleInputEvent(const WebInputEvent&); | 126 virtual bool handleInputEvent(const WebInputEvent&); |
127 virtual void mouseCaptureLost(); | 127 virtual void mouseCaptureLost(); |
128 virtual void setFocus(bool enable); | 128 virtual void setFocus(bool enable); |
129 virtual bool setComposition( | 129 virtual bool setComposition( |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
249 virtual void setSelectionColors(unsigned activeBackgroundColor, | 249 virtual void setSelectionColors(unsigned activeBackgroundColor, |
250 unsigned activeForegroundColor, | 250 unsigned activeForegroundColor, |
251 unsigned inactiveBackgroundColor, | 251 unsigned inactiveBackgroundColor, |
252 unsigned inactiveForegroundColor); | 252 unsigned inactiveForegroundColor); |
253 virtual void performCustomContextMenuAction(unsigned action); | 253 virtual void performCustomContextMenuAction(unsigned action); |
254 virtual void addPageOverlay(WebPageOverlay*, int /* zOrder */); | 254 virtual void addPageOverlay(WebPageOverlay*, int /* zOrder */); |
255 virtual void removePageOverlay(WebPageOverlay*); | 255 virtual void removePageOverlay(WebPageOverlay*); |
256 | 256 |
257 // WebLayerTreeViewClient | 257 // WebLayerTreeViewClient |
258 virtual void willBeginFrame(); | 258 virtual void willBeginFrame(); |
259 virtual void updateAnimations(double frameBeginTime); | 259 virtual void updateAnimations(double monotonicFrameBeginTime); |
260 virtual void applyScrollAndScale(const WebSize&, float); | 260 virtual void applyScrollAndScale(const WebSize&, float); |
261 virtual WebGraphicsContext3D* createContext3D(); | 261 virtual WebGraphicsContext3D* createContext3D(); |
262 virtual void didRebindGraphicsContext(bool); | 262 virtual void didRebindGraphicsContext(bool); |
263 virtual void didCommit(); | 263 virtual void didCommit(); |
264 virtual void didCommitAndDrawFrame(); | 264 virtual void didCommitAndDrawFrame(); |
265 virtual void didCompleteSwapBuffers(); | 265 virtual void didCompleteSwapBuffers(); |
266 virtual void scheduleComposite(); | 266 virtual void scheduleComposite(); |
267 | 267 |
268 // WebViewImpl | 268 // WebViewImpl |
269 | 269 |
(...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
729 #endif | 729 #endif |
730 OwnPtr<WebCore::ActivePlatformGestureAnimation> m_gestureAnimation; | 730 OwnPtr<WebCore::ActivePlatformGestureAnimation> m_gestureAnimation; |
731 WebPoint m_lastWheelPosition; | 731 WebPoint m_lastWheelPosition; |
732 WebPoint m_lastWheelGlobalPosition; | 732 WebPoint m_lastWheelGlobalPosition; |
733 int m_flingModifier; | 733 int m_flingModifier; |
734 }; | 734 }; |
735 | 735 |
736 } // namespace WebKit | 736 } // namespace WebKit |
737 | 737 |
738 #endif | 738 #endif |
OLD | NEW |