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 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <deque> | 9 #include <deque> |
10 #include <map> | 10 #include <map> |
(...skipping 728 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
739 virtual void OnWasHidden() OVERRIDE; | 739 virtual void OnWasHidden() OVERRIDE; |
740 virtual void OnWasRestored(bool needs_repainting) OVERRIDE; | 740 virtual void OnWasRestored(bool needs_repainting) OVERRIDE; |
741 virtual bool SupportsAsynchronousSwapBuffers() OVERRIDE; | 741 virtual bool SupportsAsynchronousSwapBuffers() OVERRIDE; |
742 virtual void OnImeSetComposition( | 742 virtual void OnImeSetComposition( |
743 const string16& text, | 743 const string16& text, |
744 const std::vector<WebKit::WebCompositionUnderline>& underlines, | 744 const std::vector<WebKit::WebCompositionUnderline>& underlines, |
745 int selection_start, | 745 int selection_start, |
746 int selection_end) OVERRIDE; | 746 int selection_end) OVERRIDE; |
747 virtual void OnImeConfirmComposition( | 747 virtual void OnImeConfirmComposition( |
748 const string16& text, const ui::Range& replacement_range) OVERRIDE; | 748 const string16& text, const ui::Range& replacement_range) OVERRIDE; |
| 749 virtual void OnSetDeviceScaleFactor(float device_scale_factor) OVERRIDE; |
749 virtual ui::TextInputType GetTextInputType() OVERRIDE; | 750 virtual ui::TextInputType GetTextInputType() OVERRIDE; |
750 virtual void GetSelectionBounds(gfx::Rect* start, gfx::Rect* end) OVERRIDE; | 751 virtual void GetSelectionBounds(gfx::Rect* start, gfx::Rect* end) OVERRIDE; |
751 virtual void GetCompositionCharacterBounds( | 752 virtual void GetCompositionCharacterBounds( |
752 std::vector<gfx::Rect>* character_bounds) OVERRIDE; | 753 std::vector<gfx::Rect>* character_bounds) OVERRIDE; |
753 virtual bool CanComposeInline() OVERRIDE; | 754 virtual bool CanComposeInline() OVERRIDE; |
754 virtual bool WebWidgetHandlesCompositorScheduling() const OVERRIDE; | 755 virtual bool WebWidgetHandlesCompositorScheduling() const OVERRIDE; |
755 | 756 |
756 private: | 757 private: |
757 // For unit tests. | 758 // For unit tests. |
758 friend class ExternalPopupMenuTest; | 759 friend class ExternalPopupMenuTest; |
(...skipping 672 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1431 // bunch of stuff, you should probably create a helper class and put your | 1432 // bunch of stuff, you should probably create a helper class and put your |
1432 // data and methods on that to avoid bloating RenderView more. You can | 1433 // data and methods on that to avoid bloating RenderView more. You can |
1433 // use the Observer interface to filter IPC messages and receive frame change | 1434 // use the Observer interface to filter IPC messages and receive frame change |
1434 // notifications. | 1435 // notifications. |
1435 // --------------------------------------------------------------------------- | 1436 // --------------------------------------------------------------------------- |
1436 | 1437 |
1437 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1438 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1438 }; | 1439 }; |
1439 | 1440 |
1440 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1441 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |