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