| 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 <deque> | 8 #include <deque> |
| 9 #include <map> | 9 #include <map> |
| 10 #include <set> | 10 #include <set> |
| (...skipping 757 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 768 virtual void SetDeviceScaleFactor(float device_scale_factor) OVERRIDE; | 768 virtual void SetDeviceScaleFactor(float device_scale_factor) OVERRIDE; |
| 769 virtual ui::TextInputType GetTextInputType() OVERRIDE; | 769 virtual ui::TextInputType GetTextInputType() OVERRIDE; |
| 770 virtual void GetSelectionBounds(gfx::Rect* start, gfx::Rect* end) OVERRIDE; | 770 virtual void GetSelectionBounds(gfx::Rect* start, gfx::Rect* end) OVERRIDE; |
| 771 #if defined(OS_MACOSX) || defined(OS_WIN) || defined(USE_AURA) | 771 #if defined(OS_MACOSX) || defined(OS_WIN) || defined(USE_AURA) |
| 772 virtual void GetCompositionCharacterBounds( | 772 virtual void GetCompositionCharacterBounds( |
| 773 std::vector<gfx::Rect>* character_bounds) OVERRIDE; | 773 std::vector<gfx::Rect>* character_bounds) OVERRIDE; |
| 774 virtual void GetCompositionRange(gfx::Range* range) OVERRIDE; | 774 virtual void GetCompositionRange(gfx::Range* range) OVERRIDE; |
| 775 #endif | 775 #endif |
| 776 virtual bool CanComposeInline() OVERRIDE; | 776 virtual bool CanComposeInline() OVERRIDE; |
| 777 virtual void DidCommitCompositorFrame() OVERRIDE; | 777 virtual void DidCommitCompositorFrame() OVERRIDE; |
| 778 virtual void InstrumentWillBeginFrame() OVERRIDE; | 778 virtual void InstrumentWillBeginFrame(int frame_id) OVERRIDE; |
| 779 virtual void InstrumentDidBeginFrame() OVERRIDE; | 779 virtual void InstrumentDidBeginFrame() OVERRIDE; |
| 780 virtual void InstrumentDidCancelFrame() OVERRIDE; | 780 virtual void InstrumentDidCancelFrame() OVERRIDE; |
| 781 virtual void InstrumentWillComposite() OVERRIDE; | 781 virtual void InstrumentWillComposite() OVERRIDE; |
| 782 virtual bool AllowPartialSwap() const OVERRIDE; | 782 virtual bool AllowPartialSwap() const OVERRIDE; |
| 783 | 783 |
| 784 protected: | 784 protected: |
| 785 explicit RenderViewImpl(RenderViewImplParams* params); | 785 explicit RenderViewImpl(RenderViewImplParams* params); |
| 786 | 786 |
| 787 void Initialize(RenderViewImplParams* params); | 787 void Initialize(RenderViewImplParams* params); |
| 788 virtual void SetScreenMetricsEmulationParameters( | 788 virtual void SetScreenMetricsEmulationParameters( |
| (...skipping 771 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1560 // use the Observer interface to filter IPC messages and receive frame change | 1560 // use the Observer interface to filter IPC messages and receive frame change |
| 1561 // notifications. | 1561 // notifications. |
| 1562 // --------------------------------------------------------------------------- | 1562 // --------------------------------------------------------------------------- |
| 1563 | 1563 |
| 1564 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1564 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
| 1565 }; | 1565 }; |
| 1566 | 1566 |
| 1567 } // namespace content | 1567 } // namespace content |
| 1568 | 1568 |
| 1569 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1569 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| OLD | NEW |