Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(78)

Side by Side Diff: Source/web/WebViewImpl.h

Issue 908453003: Blink changes to record interest rects for http://w3c.github.io/frame-timing/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Update LayoutTests for new properties Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/platform/RuntimeEnabledFeatures.in ('k') | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 virtual bool handleInputEvent(const WebInputEvent&) override; 123 virtual bool handleInputEvent(const WebInputEvent&) override;
124 virtual void setCursorVisibilityState(bool isVisible) override; 124 virtual void setCursorVisibilityState(bool isVisible) override;
125 virtual bool hasTouchEventHandlersAt(const WebPoint&) override; 125 virtual bool hasTouchEventHandlersAt(const WebPoint&) override;
126 126
127 virtual void applyViewportDeltas( 127 virtual void applyViewportDeltas(
128 const WebFloatSize& pinchViewportDelta, 128 const WebFloatSize& pinchViewportDelta,
129 const WebFloatSize& mainFrameDelta, 129 const WebFloatSize& mainFrameDelta,
130 const WebFloatSize& elasticOverscrollDelta, 130 const WebFloatSize& elasticOverscrollDelta,
131 float pageScaleDelta, 131 float pageScaleDelta,
132 float topControlsShownRatioDelta) override; 132 float topControlsShownRatioDelta) override;
133 virtual void recordFrameTimingEvent(enum FrameTimingEventType, int64_t, cons t WebVector<WebFrameTimingEvent>&) override;
133 virtual void mouseCaptureLost() override; 134 virtual void mouseCaptureLost() override;
134 virtual void setFocus(bool enable) override; 135 virtual void setFocus(bool enable) override;
135 virtual bool setComposition( 136 virtual bool setComposition(
136 const WebString& text, 137 const WebString& text,
137 const WebVector<WebCompositionUnderline>& underlines, 138 const WebVector<WebCompositionUnderline>& underlines,
138 int selectionStart, 139 int selectionStart,
139 int selectionEnd) override; 140 int selectionEnd) override;
140 virtual bool confirmComposition() override; 141 virtual bool confirmComposition() override;
141 virtual bool confirmComposition(ConfirmCompositionBehavior selectionBehavior ) override; 142 virtual bool confirmComposition(ConfirmCompositionBehavior selectionBehavior ) override;
142 virtual bool confirmComposition(const WebString& text) override; 143 virtual bool confirmComposition(const WebString& text) override;
(...skipping 628 matching lines...) Expand 10 before | Expand all | Expand 10 after
771 }; 772 };
772 773
773 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is WebView()); 774 DEFINE_TYPE_CASTS(WebViewImpl, WebWidget, widget, widget->isWebView(), widget.is WebView());
774 // We have no ways to check if the specified WebView is an instance of 775 // We have no ways to check if the specified WebView is an instance of
775 // WebViewImpl because WebViewImpl is the only implementation of WebView. 776 // WebViewImpl because WebViewImpl is the only implementation of WebView.
776 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true); 777 DEFINE_TYPE_CASTS(WebViewImpl, WebView, webView, true, true);
777 778
778 } // namespace blink 779 } // namespace blink
779 780
780 #endif 781 #endif
OLDNEW
« no previous file with comments | « Source/platform/RuntimeEnabledFeatures.in ('k') | Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698