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

Side by Side Diff: content/renderer/render_view_impl.h

Issue 2605193002: Fix mouse wheel over-scrolls when display is scaled and scroll is paginated (Closed)
Patch Set: Created 3 years, 11 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
OLDNEW
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 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after
378 void SetEditCommandForNextKeyEvent(const std::string& name, 378 void SetEditCommandForNextKeyEvent(const std::string& name,
379 const std::string& value) override; 379 const std::string& value) override;
380 void ClearEditCommands() override; 380 void ClearEditCommands() override;
381 const std::string& GetAcceptLanguages() const override; 381 const std::string& GetAcceptLanguages() const override;
382 #if defined(OS_ANDROID) 382 #if defined(OS_ANDROID)
383 void UpdateBrowserControlsState(BrowserControlsState constraints, 383 void UpdateBrowserControlsState(BrowserControlsState constraints,
384 BrowserControlsState current, 384 BrowserControlsState current,
385 bool animate) override; 385 bool animate) override;
386 #endif 386 #endif
387 void ConvertViewportToWindowViaWidget(blink::WebRect* rect) override; 387 void ConvertViewportToWindowViaWidget(blink::WebRect* rect) override;
388 float GetOriginalDeviceScaleFactor() const override;
388 gfx::RectF ElementBoundsInWindow(const blink::WebElement& element) override; 389 gfx::RectF ElementBoundsInWindow(const blink::WebElement& element) override;
389 bool HasAddedInputHandler() const override; 390 bool HasAddedInputHandler() const override;
390 391
391 bool uses_temporary_zoom_level() const { return uses_temporary_zoom_level_; } 392 bool uses_temporary_zoom_level() const { return uses_temporary_zoom_level_; }
392 393
393 // Please do not add your stuff randomly to the end here. If there is an 394 // Please do not add your stuff randomly to the end here. If there is an
394 // appropriate section, add it there. If not, there are some random functions 395 // appropriate section, add it there. If not, there are some random functions
395 // nearer to the top you can add it to. 396 // nearer to the top you can add it to.
396 397
397 protected: 398 protected:
(...skipping 445 matching lines...) Expand 10 before | Expand all | Expand 10 after
843 // use the Observer interface to filter IPC messages and receive frame change 844 // use the Observer interface to filter IPC messages and receive frame change
844 // notifications. 845 // notifications.
845 // --------------------------------------------------------------------------- 846 // ---------------------------------------------------------------------------
846 847
847 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 848 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
848 }; 849 };
849 850
850 } // namespace content 851 } // namespace content
851 852
852 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 853 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/renderer/render_view_impl.cc » ('j') | third_party/WebKit/Source/web/WebViewImpl.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698