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 410 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
421 void ClearEditCommands() override; | 421 void ClearEditCommands() override; |
422 SSLStatus GetSSLStatusOfFrame(blink::WebFrame* frame) const override; | 422 SSLStatus GetSSLStatusOfFrame(blink::WebFrame* frame) const override; |
423 const std::string& GetAcceptLanguages() const override; | 423 const std::string& GetAcceptLanguages() const override; |
424 #if defined(OS_ANDROID) | 424 #if defined(OS_ANDROID) |
425 void UpdateTopControlsState(TopControlsState constraints, | 425 void UpdateTopControlsState(TopControlsState constraints, |
426 TopControlsState current, | 426 TopControlsState current, |
427 bool animate) override; | 427 bool animate) override; |
428 #endif | 428 #endif |
429 void ConvertViewportToWindowViaWidget(blink::WebRect* rect) override; | 429 void ConvertViewportToWindowViaWidget(blink::WebRect* rect) override; |
430 gfx::RectF ElementBoundsInWindow(const blink::WebElement& element) override; | 430 gfx::RectF ElementBoundsInWindow(const blink::WebElement& element) override; |
431 float GetDeviceScaleFactorForTest() const override; | |
432 bool HasAddedInputHandler() const override; | 431 bool HasAddedInputHandler() const override; |
433 | 432 |
434 gfx::Point ConvertWindowPointToViewport(const gfx::Point& point); | 433 gfx::Point ConvertWindowPointToViewport(const gfx::Point& point); |
435 | 434 |
436 bool uses_temporary_zoom_level() const { return uses_temporary_zoom_level_; } | 435 bool uses_temporary_zoom_level() const { return uses_temporary_zoom_level_; } |
437 | 436 |
438 // Please do not add your stuff randomly to the end here. If there is an | 437 // Please do not add your stuff randomly to the end here. If there is an |
439 // appropriate section, add it there. If not, there are some random functions | 438 // appropriate section, add it there. If not, there are some random functions |
440 // nearer to the top you can add it to. | 439 // nearer to the top you can add it to. |
441 | 440 |
(...skipping 499 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
941 // use the Observer interface to filter IPC messages and receive frame change | 940 // use the Observer interface to filter IPC messages and receive frame change |
942 // notifications. | 941 // notifications. |
943 // --------------------------------------------------------------------------- | 942 // --------------------------------------------------------------------------- |
944 | 943 |
945 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 944 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
946 }; | 945 }; |
947 | 946 |
948 } // namespace content | 947 } // namespace content |
949 | 948 |
950 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 949 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |