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 790 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
801 virtual void GetCompositionCharacterBounds( | 801 virtual void GetCompositionCharacterBounds( |
802 std::vector<gfx::Rect>* character_bounds) OVERRIDE; | 802 std::vector<gfx::Rect>* character_bounds) OVERRIDE; |
803 virtual bool CanComposeInline() OVERRIDE; | 803 virtual bool CanComposeInline() OVERRIDE; |
804 virtual bool WebWidgetHandlesCompositorScheduling() const OVERRIDE; | 804 virtual bool WebWidgetHandlesCompositorScheduling() const OVERRIDE; |
805 | 805 |
806 private: | 806 private: |
807 // For unit tests. | 807 // For unit tests. |
808 friend class ExternalPopupMenuTest; | 808 friend class ExternalPopupMenuTest; |
809 friend class PepperDeviceTest; | 809 friend class PepperDeviceTest; |
810 friend class RendererAccessibilityTest; | 810 friend class RendererAccessibilityTest; |
| 811 friend class WebIntentsHostTest; |
811 friend class content::RenderViewTest; | 812 friend class content::RenderViewTest; |
812 | 813 |
813 FRIEND_TEST_ALL_PREFIXES(ExternalPopupMenuRemoveTest, RemoveOnChange); | 814 FRIEND_TEST_ALL_PREFIXES(ExternalPopupMenuRemoveTest, RemoveOnChange); |
814 FRIEND_TEST_ALL_PREFIXES(ExternalPopupMenuTest, NormalCase); | 815 FRIEND_TEST_ALL_PREFIXES(ExternalPopupMenuTest, NormalCase); |
815 FRIEND_TEST_ALL_PREFIXES(ExternalPopupMenuTest, ShowPopupThenNavigate); | 816 FRIEND_TEST_ALL_PREFIXES(ExternalPopupMenuTest, ShowPopupThenNavigate); |
816 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, DecideNavigationPolicyForWebUI); | 817 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, DecideNavigationPolicyForWebUI); |
817 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, | 818 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, |
818 DontIgnoreBackAfterNavEntryLimit); | 819 DontIgnoreBackAfterNavEntryLimit); |
819 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, ImeComposition); | 820 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, ImeComposition); |
820 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, InsertCharacters); | 821 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, InsertCharacters); |
(...skipping 760 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1581 // bunch of stuff, you should probably create a helper class and put your | 1582 // bunch of stuff, you should probably create a helper class and put your |
1582 // data and methods on that to avoid bloating RenderView more. You can | 1583 // data and methods on that to avoid bloating RenderView more. You can |
1583 // use the Observer interface to filter IPC messages and receive frame change | 1584 // use the Observer interface to filter IPC messages and receive frame change |
1584 // notifications. | 1585 // notifications. |
1585 // --------------------------------------------------------------------------- | 1586 // --------------------------------------------------------------------------- |
1586 | 1587 |
1587 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1588 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1588 }; | 1589 }; |
1589 | 1590 |
1590 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1591 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |