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 #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 Loading... |
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 Loading... |
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_ |
OLD | NEW |