| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "content/renderer/render_view_impl.h" | 5 #include "content/renderer/render_view_impl.h" |
| 6 | 6 |
| 7 #include <algorithm> | 7 #include <algorithm> |
| 8 #include <cmath> | 8 #include <cmath> |
| 9 #include <memory> | 9 #include <memory> |
| 10 | 10 |
| (...skipping 2056 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2067 | 2067 |
| 2068 void RenderViewImpl::setToolTipText(const blink::WebString& text, | 2068 void RenderViewImpl::setToolTipText(const blink::WebString& text, |
| 2069 blink::WebTextDirection hint) { | 2069 blink::WebTextDirection hint) { |
| 2070 RenderWidget::setToolTipText(text, hint); | 2070 RenderWidget::setToolTipText(text, hint); |
| 2071 } | 2071 } |
| 2072 | 2072 |
| 2073 void RenderViewImpl::setTouchAction(blink::WebTouchAction touchAction) { | 2073 void RenderViewImpl::setTouchAction(blink::WebTouchAction touchAction) { |
| 2074 RenderWidget::setTouchAction(touchAction); | 2074 RenderWidget::setTouchAction(touchAction); |
| 2075 } | 2075 } |
| 2076 | 2076 |
| 2077 void RenderViewImpl::setWindowRect(const blink::WebRect& rect) { | |
| 2078 RenderWidget::setWindowRect(rect); | |
| 2079 } | |
| 2080 | |
| 2081 void RenderViewImpl::showImeIfNeeded() { | 2077 void RenderViewImpl::showImeIfNeeded() { |
| 2082 RenderWidget::showImeIfNeeded(); | 2078 RenderWidget::showImeIfNeeded(); |
| 2083 } | 2079 } |
| 2084 | 2080 |
| 2085 void RenderViewImpl::showUnhandledTapUIIfNeeded( | 2081 void RenderViewImpl::showUnhandledTapUIIfNeeded( |
| 2086 const blink::WebPoint& tappedPosition, | 2082 const blink::WebPoint& tappedPosition, |
| 2087 const blink::WebNode& tappedNode, | 2083 const blink::WebNode& tappedNode, |
| 2088 bool pageChanged) { | 2084 bool pageChanged) { |
| 2089 RenderWidget::showUnhandledTapUIIfNeeded(tappedPosition, tappedNode, | 2085 RenderWidget::showUnhandledTapUIIfNeeded(tappedPosition, tappedNode, |
| 2090 pageChanged); | 2086 pageChanged); |
| 2091 } | 2087 } |
| 2092 | 2088 |
| 2093 blink::WebRect RenderViewImpl::windowRect() { | |
| 2094 return RenderWidget::windowRect(); | |
| 2095 } | |
| 2096 | |
| 2097 blink::WebRect RenderViewImpl::windowResizerRect() { | 2089 blink::WebRect RenderViewImpl::windowResizerRect() { |
| 2098 return RenderWidget::windowResizerRect(); | 2090 return RenderWidget::windowResizerRect(); |
| 2099 } | 2091 } |
| 2100 | 2092 |
| 2101 blink::WebWidgetClient* RenderViewImpl::widgetClient() { | 2093 blink::WebWidgetClient* RenderViewImpl::widgetClient() { |
| 2102 return static_cast<RenderWidget*>(this); | 2094 return static_cast<RenderWidget*>(this); |
| 2103 } | 2095 } |
| 2104 | 2096 |
| 2105 // blink::WebFrameClient ----------------------------------------------------- | 2097 // blink::WebFrameClient ----------------------------------------------------- |
| 2106 | 2098 |
| (...skipping 983 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3090 return render_frame->focused_pepper_plugin(); | 3082 return render_frame->focused_pepper_plugin(); |
| 3091 } | 3083 } |
| 3092 frame = frame->traverseNext(false); | 3084 frame = frame->traverseNext(false); |
| 3093 } | 3085 } |
| 3094 | 3086 |
| 3095 return nullptr; | 3087 return nullptr; |
| 3096 } | 3088 } |
| 3097 #endif | 3089 #endif |
| 3098 | 3090 |
| 3099 } // namespace content | 3091 } // namespace content |
| OLD | NEW |