OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2014 Google Inc. All rights reserved. | 2 * Copyright (C) 2014 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 static WebFrameWidgetImpl* create(WebWidgetClient*, WebLocalFrame*); | 67 static WebFrameWidgetImpl* create(WebWidgetClient*, WebLocalFrame*); |
68 static WebFrameWidgetsSet& allInstances(); | 68 static WebFrameWidgetsSet& allInstances(); |
69 | 69 |
70 ~WebFrameWidgetImpl(); | 70 ~WebFrameWidgetImpl(); |
71 | 71 |
72 // WebWidget functions: | 72 // WebWidget functions: |
73 void close() override; | 73 void close() override; |
74 WebSize size() override; | 74 WebSize size() override; |
75 void resize(const WebSize&) override; | 75 void resize(const WebSize&) override; |
76 void resizeVisualViewport(const WebSize&) override; | 76 void resizeVisualViewport(const WebSize&) override; |
77 void didEnterFullScreen() override; | 77 void didEnterFullscreen() override; |
78 void didExitFullScreen() override; | 78 void didExitFullscreen() override; |
79 void beginFrame(double lastFrameTimeMonotonic) override; | 79 void beginFrame(double lastFrameTimeMonotonic) override; |
80 void updateAllLifecyclePhases() override; | 80 void updateAllLifecyclePhases() override; |
81 void paint(WebCanvas*, const WebRect&) override; | 81 void paint(WebCanvas*, const WebRect&) override; |
82 void layoutAndPaintAsync(WebLayoutAndPaintAsyncCallback*) override; | 82 void layoutAndPaintAsync(WebLayoutAndPaintAsyncCallback*) override; |
83 void compositeAndReadbackAsync(WebCompositeAndReadbackAsyncCallback*) overri
de; | 83 void compositeAndReadbackAsync(WebCompositeAndReadbackAsyncCallback*) overri
de; |
84 void themeChanged() override; | 84 void themeChanged() override; |
85 WebInputEventResult handleInputEvent(const WebInputEvent&) override; | 85 WebInputEventResult handleInputEvent(const WebInputEvent&) override; |
86 void setCursorVisibilityState(bool isVisible) override; | 86 void setCursorVisibilityState(bool isVisible) override; |
87 bool hasTouchEventHandlersAt(const WebPoint&) override; | 87 bool hasTouchEventHandlersAt(const WebPoint&) override; |
88 | 88 |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
230 WebColor m_baseBackgroundColor; | 230 WebColor m_baseBackgroundColor; |
231 | 231 |
232 SelfKeepAlive<WebFrameWidgetImpl> m_selfKeepAlive; | 232 SelfKeepAlive<WebFrameWidgetImpl> m_selfKeepAlive; |
233 }; | 233 }; |
234 | 234 |
235 DEFINE_TYPE_CASTS(WebFrameWidgetImpl, WebFrameWidget, widget, widget->forSubfram
e(), widget.forSubframe()); | 235 DEFINE_TYPE_CASTS(WebFrameWidgetImpl, WebFrameWidget, widget, widget->forSubfram
e(), widget.forSubframe()); |
236 | 236 |
237 } // namespace blink | 237 } // namespace blink |
238 | 238 |
239 #endif | 239 #endif |
OLD | NEW |