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

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

Issue 1516723003: [Element / Autofill] Add boundsInViewportFloat() to fix <input> popup misalignment. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Refator to use boundsInViewportFloat() eventually, but keep boundsInViewportInt(). Created 5 years 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 <deque> 8 #include <deque>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 433 matching lines...) Expand 10 before | Expand all | Expand 10 after
444 const std::string& value) override; 444 const std::string& value) override;
445 void ClearEditCommands() override; 445 void ClearEditCommands() override;
446 SSLStatus GetSSLStatusOfFrame(blink::WebFrame* frame) const override; 446 SSLStatus GetSSLStatusOfFrame(blink::WebFrame* frame) const override;
447 const std::string& GetAcceptLanguages() const override; 447 const std::string& GetAcceptLanguages() const override;
448 #if defined(OS_ANDROID) 448 #if defined(OS_ANDROID)
449 void UpdateTopControlsState(TopControlsState constraints, 449 void UpdateTopControlsState(TopControlsState constraints,
450 TopControlsState current, 450 TopControlsState current,
451 bool animate) override; 451 bool animate) override;
452 #endif 452 #endif
453 void convertViewportToWindow(blink::WebRect* rect) override; 453 void convertViewportToWindow(blink::WebRect* rect) override;
454 void convertViewportToWindow(blink::WebFloatRect* rect) override;
455 void getElementBoundingBoxWindow(blink::WebElement* element,
456 blink::WebFloatRect* rect) override;
454 457
455 bool uses_temporary_zoom_level() const { return uses_temporary_zoom_level_; } 458 bool uses_temporary_zoom_level() const { return uses_temporary_zoom_level_; }
456 459
457 // Please do not add your stuff randomly to the end here. If there is an 460 // Please do not add your stuff randomly to the end here. If there is an
458 // appropriate section, add it there. If not, there are some random functions 461 // appropriate section, add it there. If not, there are some random functions
459 // nearer to the top you can add it to. 462 // nearer to the top you can add it to.
460 463
461 protected: 464 protected:
462 // RenderWidget overrides: 465 // RenderWidget overrides:
463 void CloseForFrame() override; 466 void CloseForFrame() override;
(...skipping 569 matching lines...) Expand 10 before | Expand all | Expand 10 after
1033 // use the Observer interface to filter IPC messages and receive frame change 1036 // use the Observer interface to filter IPC messages and receive frame change
1034 // notifications. 1037 // notifications.
1035 // --------------------------------------------------------------------------- 1038 // ---------------------------------------------------------------------------
1036 1039
1037 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1040 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1038 }; 1041 };
1039 1042
1040 } // namespace content 1043 } // namespace content
1041 1044
1042 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1045 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/pepper/pepper_plugin_instance_impl.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698