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 417 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
428 gfx::Point ConvertWindowPointToViewport(const gfx::Point& point); | 428 gfx::Point ConvertWindowPointToViewport(const gfx::Point& point); |
429 | 429 |
430 bool uses_temporary_zoom_level() const { return uses_temporary_zoom_level_; } | 430 bool uses_temporary_zoom_level() const { return uses_temporary_zoom_level_; } |
431 | 431 |
432 // Please do not add your stuff randomly to the end here. If there is an | 432 // Please do not add your stuff randomly to the end here. If there is an |
433 // appropriate section, add it there. If not, there are some random functions | 433 // appropriate section, add it there. If not, there are some random functions |
434 // nearer to the top you can add it to. | 434 // nearer to the top you can add it to. |
435 | 435 |
436 protected: | 436 protected: |
437 // RenderWidget overrides: | 437 // RenderWidget overrides: |
| 438 blink::WebWidget* GetWebWidget() const override; |
438 void CloseForFrame() override; | 439 void CloseForFrame() override; |
439 void Close() override; | 440 void Close() override; |
440 void OnResize(const ResizeParams& params) override; | 441 void OnResize(const ResizeParams& params) override; |
441 void OnSetFocus(bool enable) override; | 442 void OnSetFocus(bool enable) override; |
442 GURL GetURLForGraphicsContext3D() override; | 443 GURL GetURLForGraphicsContext3D() override; |
443 void OnOrientationChange() override; | 444 void OnOrientationChange() override; |
444 void DidCommitCompositorFrame() override; | 445 void DidCommitCompositorFrame() override; |
445 void DidCompletePageScaleAnimation() override; | 446 void DidCompletePageScaleAnimation() override; |
446 void OnDeviceScaleFactorChanged() override; | 447 void OnDeviceScaleFactorChanged() override; |
447 void ResizeWebWidget() override; | 448 void ResizeWebWidget() override; |
(...skipping 476 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
924 // use the Observer interface to filter IPC messages and receive frame change | 925 // use the Observer interface to filter IPC messages and receive frame change |
925 // notifications. | 926 // notifications. |
926 // --------------------------------------------------------------------------- | 927 // --------------------------------------------------------------------------- |
927 | 928 |
928 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 929 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
929 }; | 930 }; |
930 | 931 |
931 } // namespace content | 932 } // namespace content |
932 | 933 |
933 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 934 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |