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 <set> | 8 #include <set> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 788 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
799 int selection_start, | 799 int selection_start, |
800 int selection_end) OVERRIDE; | 800 int selection_end) OVERRIDE; |
801 virtual void OnImeConfirmComposition( | 801 virtual void OnImeConfirmComposition( |
802 const string16& text, const ui::Range& replacement_range) OVERRIDE; | 802 const string16& text, const ui::Range& replacement_range) OVERRIDE; |
803 virtual void SetDeviceScaleFactor(float device_scale_factor) OVERRIDE; | 803 virtual void SetDeviceScaleFactor(float device_scale_factor) OVERRIDE; |
804 virtual ui::TextInputType GetTextInputType() OVERRIDE; | 804 virtual ui::TextInputType GetTextInputType() OVERRIDE; |
805 virtual void GetSelectionBounds(gfx::Rect* start, gfx::Rect* end) OVERRIDE; | 805 virtual void GetSelectionBounds(gfx::Rect* start, gfx::Rect* end) OVERRIDE; |
806 virtual void GetCompositionCharacterBounds( | 806 virtual void GetCompositionCharacterBounds( |
807 std::vector<gfx::Rect>* character_bounds) OVERRIDE; | 807 std::vector<gfx::Rect>* character_bounds) OVERRIDE; |
808 virtual bool CanComposeInline() OVERRIDE; | 808 virtual bool CanComposeInline() OVERRIDE; |
809 virtual bool WebWidgetHandlesCompositorScheduling() const OVERRIDE; | |
810 | 809 |
811 protected: | 810 protected: |
812 RenderViewImpl(RenderViewImplParams* params); | 811 RenderViewImpl(RenderViewImplParams* params); |
813 | 812 |
814 // Do not delete directly. This class is reference counted. | 813 // Do not delete directly. This class is reference counted. |
815 virtual ~RenderViewImpl(); | 814 virtual ~RenderViewImpl(); |
816 | 815 |
817 private: | 816 private: |
818 // For unit tests. | 817 // For unit tests. |
819 friend class ExternalPopupMenuTest; | 818 friend class ExternalPopupMenuTest; |
(...skipping 773 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1593 // use the Observer interface to filter IPC messages and receive frame change | 1592 // use the Observer interface to filter IPC messages and receive frame change |
1594 // notifications. | 1593 // notifications. |
1595 // --------------------------------------------------------------------------- | 1594 // --------------------------------------------------------------------------- |
1596 | 1595 |
1597 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1596 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1598 }; | 1597 }; |
1599 | 1598 |
1600 } // namespace content | 1599 } // namespace content |
1601 | 1600 |
1602 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1601 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |