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 730 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
741 virtual gfx::Point GetScrollOffset() OVERRIDE; | 741 virtual gfx::Point GetScrollOffset() OVERRIDE; |
742 virtual void DidHandleKeyEvent() OVERRIDE; | 742 virtual void DidHandleKeyEvent() OVERRIDE; |
743 virtual bool WillHandleMouseEvent( | 743 virtual bool WillHandleMouseEvent( |
744 const WebKit::WebMouseEvent& event) OVERRIDE; | 744 const WebKit::WebMouseEvent& event) OVERRIDE; |
745 virtual void DidHandleMouseEvent(const WebKit::WebMouseEvent& event) OVERRIDE; | 745 virtual void DidHandleMouseEvent(const WebKit::WebMouseEvent& event) OVERRIDE; |
746 virtual void DidHandleTouchEvent(const WebKit::WebTouchEvent& event) OVERRIDE; | 746 virtual void DidHandleTouchEvent(const WebKit::WebTouchEvent& event) OVERRIDE; |
747 virtual void OnSetFocus(bool enable) OVERRIDE; | 747 virtual void OnSetFocus(bool enable) OVERRIDE; |
748 virtual void OnWasHidden() OVERRIDE; | 748 virtual void OnWasHidden() OVERRIDE; |
749 virtual void OnWasShown(bool needs_repainting) OVERRIDE; | 749 virtual void OnWasShown(bool needs_repainting) OVERRIDE; |
750 virtual bool SupportsAsynchronousSwapBuffers() OVERRIDE; | 750 virtual bool SupportsAsynchronousSwapBuffers() OVERRIDE; |
| 751 virtual bool ForceCompositingModeEnabled() OVERRIDE; |
751 virtual void OnImeSetComposition( | 752 virtual void OnImeSetComposition( |
752 const string16& text, | 753 const string16& text, |
753 const std::vector<WebKit::WebCompositionUnderline>& underlines, | 754 const std::vector<WebKit::WebCompositionUnderline>& underlines, |
754 int selection_start, | 755 int selection_start, |
755 int selection_end) OVERRIDE; | 756 int selection_end) OVERRIDE; |
756 virtual void OnImeConfirmComposition( | 757 virtual void OnImeConfirmComposition( |
757 const string16& text, const ui::Range& replacement_range) OVERRIDE; | 758 const string16& text, const ui::Range& replacement_range) OVERRIDE; |
758 virtual void OnSetDeviceScaleFactor(float device_scale_factor) OVERRIDE; | 759 virtual void OnSetDeviceScaleFactor(float device_scale_factor) OVERRIDE; |
759 virtual ui::TextInputType GetTextInputType() OVERRIDE; | 760 virtual ui::TextInputType GetTextInputType() OVERRIDE; |
760 virtual void GetSelectionBounds(gfx::Rect* start, gfx::Rect* end) OVERRIDE; | 761 virtual void GetSelectionBounds(gfx::Rect* start, gfx::Rect* end) OVERRIDE; |
(...skipping 779 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1540 // use the Observer interface to filter IPC messages and receive frame change | 1541 // use the Observer interface to filter IPC messages and receive frame change |
1541 // notifications. | 1542 // notifications. |
1542 // --------------------------------------------------------------------------- | 1543 // --------------------------------------------------------------------------- |
1543 | 1544 |
1544 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1545 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1545 }; | 1546 }; |
1546 | 1547 |
1547 } // namespace content | 1548 } // namespace content |
1548 | 1549 |
1549 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1550 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |