| 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 426 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 437 void SetEditCommandForNextKeyEvent(const std::string& name, | 437 void SetEditCommandForNextKeyEvent(const std::string& name, |
| 438 const std::string& value) override; | 438 const std::string& value) override; |
| 439 void ClearEditCommands() override; | 439 void ClearEditCommands() override; |
| 440 SSLStatus GetSSLStatusOfFrame(blink::WebFrame* frame) const override; | 440 SSLStatus GetSSLStatusOfFrame(blink::WebFrame* frame) const override; |
| 441 const std::string& GetAcceptLanguages() const override; | 441 const std::string& GetAcceptLanguages() const override; |
| 442 #if defined(OS_ANDROID) | 442 #if defined(OS_ANDROID) |
| 443 void UpdateTopControlsState(TopControlsState constraints, | 443 void UpdateTopControlsState(TopControlsState constraints, |
| 444 TopControlsState current, | 444 TopControlsState current, |
| 445 bool animate) override; | 445 bool animate) override; |
| 446 #endif | 446 #endif |
| 447 void convertViewportToWindow(blink::WebRect* rect) override; | 447 void ConvertViewportToWindowViaWidget(blink::WebRect* rect) override; |
| 448 gfx::RectF ElementBoundsInWindow(const blink::WebElement& element) override; | 448 gfx::RectF ElementBoundsInWindow(const blink::WebElement& element) override; |
| 449 float GetDeviceScaleFactorForTest() const override; | 449 float GetDeviceScaleFactorForTest() const override; |
| 450 | 450 |
| 451 gfx::Point ConvertWindowPointToViewport(const gfx::Point& point); | 451 gfx::Point ConvertWindowPointToViewport(const gfx::Point& point); |
| 452 | 452 |
| 453 bool uses_temporary_zoom_level() const { return uses_temporary_zoom_level_; } | 453 bool uses_temporary_zoom_level() const { return uses_temporary_zoom_level_; } |
| 454 | 454 |
| 455 // Please do not add your stuff randomly to the end here. If there is an | 455 // Please do not add your stuff randomly to the end here. If there is an |
| 456 // appropriate section, add it there. If not, there are some random functions | 456 // appropriate section, add it there. If not, there are some random functions |
| 457 // nearer to the top you can add it to. | 457 // nearer to the top you can add it to. |
| (...skipping 564 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1022 // use the Observer interface to filter IPC messages and receive frame change | 1022 // use the Observer interface to filter IPC messages and receive frame change |
| 1023 // notifications. | 1023 // notifications. |
| 1024 // --------------------------------------------------------------------------- | 1024 // --------------------------------------------------------------------------- |
| 1025 | 1025 |
| 1026 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1026 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
| 1027 }; | 1027 }; |
| 1028 | 1028 |
| 1029 } // namespace content | 1029 } // namespace content |
| 1030 | 1030 |
| 1031 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1031 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| OLD | NEW |