Chromium Code Reviews| Index: content/renderer/render_view_impl.cc |
| diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc |
| index 419a8d09605b012d13531d540301ec587baf37bc..64996aec9ffbd8001df601a6ef17dd5f9045b544 100644 |
| --- a/content/renderer/render_view_impl.cc |
| +++ b/content/renderer/render_view_impl.cc |
| @@ -129,6 +129,7 @@ |
| #include "third_party/WebKit/Source/Platform/chromium/public/WebCString.h" |
| #include "third_party/WebKit/Source/Platform/chromium/public/WebDragData.h" |
| #include "third_party/WebKit/Source/Platform/chromium/public/WebFileSystemType.h" |
| +#include "third_party/WebKit/Source/Platform/chromium/public/WebFloatSize.h" |
| #include "third_party/WebKit/Source/Platform/chromium/public/WebHTTPBody.h" |
| #include "third_party/WebKit/Source/Platform/chromium/public/WebImage.h" |
| #include "third_party/WebKit/Source/Platform/chromium/public/WebMessagePortChannel.h" |
| @@ -2204,6 +2205,11 @@ bool RenderViewImpl::handleCurrentKeyboardEvent() { |
| return did_execute_command; |
| } |
| +void RenderViewImpl::didScrollWithKeyboard(const WebKit::WebFloatSize& delta) { |
| + if (delta.height != 0.f) |
|
Ted C
2013/06/03 17:43:42
Hmm...this behavior isn't really consistent with h
Jinsuk Kim
2013/06/05 08:21:07
Thanks for spotting it. The transition does look d
|
| + compositor_->ShowTopControls(delta.height < 0.f); |
| +} |
| + |
| WebKit::WebColorChooser* RenderViewImpl::createColorChooser( |
| WebKit::WebColorChooserClient* client, |
| const WebKit::WebColor& initial_color) { |