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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 virtual void compositeAndReadbackAsync(WebCompositeAndReadbackAsyncCallback*
) OVERRIDE; | 106 virtual void compositeAndReadbackAsync(WebCompositeAndReadbackAsyncCallback*
) OVERRIDE; |
107 virtual bool isTrackingRepaints() const OVERRIDE; | 107 virtual bool isTrackingRepaints() const OVERRIDE; |
108 virtual void themeChanged() OVERRIDE; | 108 virtual void themeChanged() OVERRIDE; |
109 virtual bool handleInputEvent(const WebInputEvent&) OVERRIDE; | 109 virtual bool handleInputEvent(const WebInputEvent&) OVERRIDE; |
110 virtual void setCursorVisibilityState(bool isVisible) OVERRIDE; | 110 virtual void setCursorVisibilityState(bool isVisible) OVERRIDE; |
111 virtual bool hasTouchEventHandlersAt(const WebPoint&) OVERRIDE; | 111 virtual bool hasTouchEventHandlersAt(const WebPoint&) OVERRIDE; |
112 virtual void applyViewportDeltas( | 112 virtual void applyViewportDeltas( |
113 const WebSize& scrollDelta, | 113 const WebSize& scrollDelta, |
114 float pageScaleDelta, | 114 float pageScaleDelta, |
115 float topControlsDelta) OVERRIDE; | 115 float topControlsDelta) OVERRIDE; |
| 116 virtual void recordSmoothnessTimingEvent(enum smoothnessTimingEventType, |
| 117 int64_t, const WebVector<std::pair<int, double> >&) OVERRIDE; |
116 virtual void mouseCaptureLost() OVERRIDE; | 118 virtual void mouseCaptureLost() OVERRIDE; |
117 virtual void setFocus(bool enable) OVERRIDE; | 119 virtual void setFocus(bool enable) OVERRIDE; |
118 virtual bool setComposition( | 120 virtual bool setComposition( |
119 const WebString& text, | 121 const WebString& text, |
120 const WebVector<WebCompositionUnderline>& underlines, | 122 const WebVector<WebCompositionUnderline>& underlines, |
121 int selectionStart, | 123 int selectionStart, |
122 int selectionEnd) OVERRIDE; | 124 int selectionEnd) OVERRIDE; |
123 virtual bool confirmComposition() OVERRIDE; | 125 virtual bool confirmComposition() OVERRIDE; |
124 virtual bool confirmComposition(ConfirmCompositionBehavior selectionBehavior
) OVERRIDE; | 126 virtual bool confirmComposition(ConfirmCompositionBehavior selectionBehavior
) OVERRIDE; |
125 virtual bool confirmComposition(const WebString& text) OVERRIDE; | 127 virtual bool confirmComposition(const WebString& text) OVERRIDE; |
(...skipping 597 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
723 float m_topControlsContentOffset; | 725 float m_topControlsContentOffset; |
724 }; | 726 }; |
725 | 727 |
726 // We have no ways to check if the specified WebView is an instance of | 728 // We have no ways to check if the specified WebView is an instance of |
727 // WebViewImpl because WebViewImpl is the only implementation of WebView. | 729 // WebViewImpl because WebViewImpl is the only implementation of WebView. |
728 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); | 730 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); |
729 | 731 |
730 } // namespace blink | 732 } // namespace blink |
731 | 733 |
732 #endif | 734 #endif |
OLD | NEW |