| 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 814 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 825 #if defined(OS_MACOSX) | 825 #if defined(OS_MACOSX) |
| 826 FRIEND_TEST_ALL_PREFIXES(RenderViewTest, MacTestCmdUp); | 826 FRIEND_TEST_ALL_PREFIXES(RenderViewTest, MacTestCmdUp); |
| 827 #endif | 827 #endif |
| 828 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, SetHistoryLengthAndPrune); | 828 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, SetHistoryLengthAndPrune); |
| 829 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, ZoomLimit); | 829 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, ZoomLimit); |
| 830 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, NavigateFrame); | 830 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, NavigateFrame); |
| 831 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, | 831 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, |
| 832 ShouldUpdateSelectionTextFromContextMenuParams); | 832 ShouldUpdateSelectionTextFromContextMenuParams); |
| 833 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, BasicRenderFrame); | 833 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, BasicRenderFrame); |
| 834 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, TextInputTypeWithPepper); | 834 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, TextInputTypeWithPepper); |
| 835 FRIEND_TEST_ALL_PREFIXES(SuppressErrorPageTest, Suppresses); |
| 836 FRIEND_TEST_ALL_PREFIXES(SuppressErrorPageTest, DoesNotSuppress); |
| 835 | 837 |
| 836 typedef std::map<GURL, double> HostZoomLevels; | 838 typedef std::map<GURL, double> HostZoomLevels; |
| 837 | 839 |
| 838 enum ErrorPageType { | 840 enum ErrorPageType { |
| 839 DNS_ERROR, | 841 DNS_ERROR, |
| 840 HTTP_404, | 842 HTTP_404, |
| 841 CONNECTION_ERROR, | 843 CONNECTION_ERROR, |
| 842 }; | 844 }; |
| 843 | 845 |
| 844 static WebKit::WebReferrerPolicy GetReferrerPolicyFromRequest( | 846 static WebKit::WebReferrerPolicy GetReferrerPolicyFromRequest( |
| (...skipping 684 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1529 // use the Observer interface to filter IPC messages and receive frame change | 1531 // use the Observer interface to filter IPC messages and receive frame change |
| 1530 // notifications. | 1532 // notifications. |
| 1531 // --------------------------------------------------------------------------- | 1533 // --------------------------------------------------------------------------- |
| 1532 | 1534 |
| 1533 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1535 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
| 1534 }; | 1536 }; |
| 1535 | 1537 |
| 1536 } // namespace content | 1538 } // namespace content |
| 1537 | 1539 |
| 1538 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1540 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| OLD | NEW |