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 413 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
424 gfx::Point ConvertWindowPointToViewport(const gfx::Point& point); | 424 gfx::Point ConvertWindowPointToViewport(const gfx::Point& point); |
425 | 425 |
426 bool uses_temporary_zoom_level() const { return uses_temporary_zoom_level_; } | 426 bool uses_temporary_zoom_level() const { return uses_temporary_zoom_level_; } |
427 | 427 |
428 // Please do not add your stuff randomly to the end here. If there is an | 428 // Please do not add your stuff randomly to the end here. If there is an |
429 // appropriate section, add it there. If not, there are some random functions | 429 // appropriate section, add it there. If not, there are some random functions |
430 // nearer to the top you can add it to. | 430 // nearer to the top you can add it to. |
431 | 431 |
432 protected: | 432 protected: |
433 // RenderWidget overrides: | 433 // RenderWidget overrides: |
| 434 blink::WebWidget* GetWebWidget() const override; |
434 void CloseForFrame() override; | 435 void CloseForFrame() override; |
435 void Close() override; | 436 void Close() override; |
436 void OnResize(const ResizeParams& params) override; | 437 void OnResize(const ResizeParams& params) override; |
437 void OnSetFocus(bool enable) override; | 438 void OnSetFocus(bool enable) override; |
438 GURL GetURLForGraphicsContext3D() override; | 439 GURL GetURLForGraphicsContext3D() override; |
439 void OnOrientationChange() override; | 440 void OnOrientationChange() override; |
440 void DidCommitCompositorFrame() override; | 441 void DidCommitCompositorFrame() override; |
441 void DidCompletePageScaleAnimation() override; | 442 void DidCompletePageScaleAnimation() override; |
442 void OnDeviceScaleFactorChanged() override; | 443 void OnDeviceScaleFactorChanged() override; |
443 void ResizeWebWidget() override; | 444 void ResizeWebWidget() override; |
(...skipping 470 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
914 // use the Observer interface to filter IPC messages and receive frame change | 915 // use the Observer interface to filter IPC messages and receive frame change |
915 // notifications. | 916 // notifications. |
916 // --------------------------------------------------------------------------- | 917 // --------------------------------------------------------------------------- |
917 | 918 |
918 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 919 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
919 }; | 920 }; |
920 | 921 |
921 } // namespace content | 922 } // namespace content |
922 | 923 |
923 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 924 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |