| 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 2045 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2056 | 2056 |
| 2057 void RenderViewImpl::setToolTipText(const blink::WebString& text, | 2057 void RenderViewImpl::setToolTipText(const blink::WebString& text, |
| 2058 blink::WebTextDirection hint) { | 2058 blink::WebTextDirection hint) { |
| 2059 RenderWidget::setToolTipText(text, hint); | 2059 RenderWidget::setToolTipText(text, hint); |
| 2060 } | 2060 } |
| 2061 | 2061 |
| 2062 void RenderViewImpl::setTouchAction(blink::WebTouchAction touchAction) { | 2062 void RenderViewImpl::setTouchAction(blink::WebTouchAction touchAction) { |
| 2063 RenderWidget::setTouchAction(touchAction); | 2063 RenderWidget::setTouchAction(touchAction); |
| 2064 } | 2064 } |
| 2065 | 2065 |
| 2066 void RenderViewImpl::setWindowRect(const blink::WebRect& rect) { | |
| 2067 RenderWidget::setWindowRect(rect); | |
| 2068 } | |
| 2069 | |
| 2070 void RenderViewImpl::showImeIfNeeded() { | 2066 void RenderViewImpl::showImeIfNeeded() { |
| 2071 RenderWidget::showImeIfNeeded(); | 2067 RenderWidget::showImeIfNeeded(); |
| 2072 } | 2068 } |
| 2073 | 2069 |
| 2074 void RenderViewImpl::showUnhandledTapUIIfNeeded( | 2070 void RenderViewImpl::showUnhandledTapUIIfNeeded( |
| 2075 const blink::WebPoint& tappedPosition, | 2071 const blink::WebPoint& tappedPosition, |
| 2076 const blink::WebNode& tappedNode, | 2072 const blink::WebNode& tappedNode, |
| 2077 bool pageChanged) { | 2073 bool pageChanged) { |
| 2078 RenderWidget::showUnhandledTapUIIfNeeded(tappedPosition, tappedNode, | 2074 RenderWidget::showUnhandledTapUIIfNeeded(tappedPosition, tappedNode, |
| 2079 pageChanged); | 2075 pageChanged); |
| 2080 } | 2076 } |
| 2081 | 2077 |
| 2082 blink::WebRect RenderViewImpl::windowRect() { | |
| 2083 return RenderWidget::windowRect(); | |
| 2084 } | |
| 2085 | |
| 2086 blink::WebRect RenderViewImpl::windowResizerRect() { | 2078 blink::WebRect RenderViewImpl::windowResizerRect() { |
| 2087 return RenderWidget::windowResizerRect(); | 2079 return RenderWidget::windowResizerRect(); |
| 2088 } | 2080 } |
| 2089 | 2081 |
| 2090 blink::WebWidgetClient* RenderViewImpl::widgetClient() { | 2082 blink::WebWidgetClient* RenderViewImpl::widgetClient() { |
| 2091 return static_cast<RenderWidget*>(this); | 2083 return static_cast<RenderWidget*>(this); |
| 2092 } | 2084 } |
| 2093 | 2085 |
| 2094 // blink::WebFrameClient ----------------------------------------------------- | 2086 // blink::WebFrameClient ----------------------------------------------------- |
| 2095 | 2087 |
| (...skipping 1006 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3102 return render_frame->focused_pepper_plugin(); | 3094 return render_frame->focused_pepper_plugin(); |
| 3103 } | 3095 } |
| 3104 frame = frame->traverseNext(false); | 3096 frame = frame->traverseNext(false); |
| 3105 } | 3097 } |
| 3106 | 3098 |
| 3107 return nullptr; | 3099 return nullptr; |
| 3108 } | 3100 } |
| 3109 #endif | 3101 #endif |
| 3110 | 3102 |
| 3111 } // namespace content | 3103 } // namespace content |
| OLD | NEW |