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

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

Issue 1571833002: Add popup layout tests with device scale factor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « content/public/renderer/render_view.h ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 446 matching lines...) Expand 10 before | Expand all | Expand 10 after
457 void ClearEditCommands() override; 457 void ClearEditCommands() override;
458 SSLStatus GetSSLStatusOfFrame(blink::WebFrame* frame) const override; 458 SSLStatus GetSSLStatusOfFrame(blink::WebFrame* frame) const override;
459 const std::string& GetAcceptLanguages() const override; 459 const std::string& GetAcceptLanguages() const override;
460 #if defined(OS_ANDROID) 460 #if defined(OS_ANDROID)
461 void UpdateTopControlsState(TopControlsState constraints, 461 void UpdateTopControlsState(TopControlsState constraints,
462 TopControlsState current, 462 TopControlsState current,
463 bool animate) override; 463 bool animate) override;
464 #endif 464 #endif
465 void convertViewportToWindow(blink::WebRect* rect) override; 465 void convertViewportToWindow(blink::WebRect* rect) override;
466 gfx::RectF ElementBoundsInWindow(const blink::WebElement& element) override; 466 gfx::RectF ElementBoundsInWindow(const blink::WebElement& element) override;
467 float GetDeviceScaleFactorForTest() const override;
467 468
468 bool uses_temporary_zoom_level() const { return uses_temporary_zoom_level_; } 469 bool uses_temporary_zoom_level() const { return uses_temporary_zoom_level_; }
469 470
470 // Please do not add your stuff randomly to the end here. If there is an 471 // Please do not add your stuff randomly to the end here. If there is an
471 // appropriate section, add it there. If not, there are some random functions 472 // appropriate section, add it there. If not, there are some random functions
472 // nearer to the top you can add it to. 473 // nearer to the top you can add it to.
473 474
474 protected: 475 protected:
475 // RenderWidget overrides: 476 // RenderWidget overrides:
476 void CloseForFrame() override; 477 void CloseForFrame() override;
(...skipping 568 matching lines...) Expand 10 before | Expand all | Expand 10 after
1045 // use the Observer interface to filter IPC messages and receive frame change 1046 // use the Observer interface to filter IPC messages and receive frame change
1046 // notifications. 1047 // notifications.
1047 // --------------------------------------------------------------------------- 1048 // ---------------------------------------------------------------------------
1048 1049
1049 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1050 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1050 }; 1051 };
1051 1052
1052 } // namespace content 1053 } // namespace content
1053 1054
1054 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1055 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW
« no previous file with comments | « content/public/renderer/render_view.h ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698