Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(340)

Side by Side Diff: content/renderer/render_view_impl.h

Issue 12052023: Add "frame to navigate" to NavigationEntry and plumb it to the RenderViewImpl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 834 matching lines...) Expand 10 before | Expand all | Expand 10 after
845 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, StaleNavigationsIgnored); 845 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, StaleNavigationsIgnored);
846 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, UpdateTargetURLWithInvalidURL); 846 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, UpdateTargetURLWithInvalidURL);
847 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, 847 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest,
848 GetCompositionCharacterBoundsTest); 848 GetCompositionCharacterBoundsTest);
849 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, OnNavigationHttpPost); 849 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, OnNavigationHttpPost);
850 #if defined(OS_MACOSX) 850 #if defined(OS_MACOSX)
851 FRIEND_TEST_ALL_PREFIXES(RenderViewTest, MacTestCmdUp); 851 FRIEND_TEST_ALL_PREFIXES(RenderViewTest, MacTestCmdUp);
852 #endif 852 #endif
853 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, SetHistoryLengthAndPrune); 853 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, SetHistoryLengthAndPrune);
854 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, ZoomLimit); 854 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, ZoomLimit);
855 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, NavigateFrame);
855 856
856 typedef std::map<GURL, double> HostZoomLevels; 857 typedef std::map<GURL, double> HostZoomLevels;
857 858
858 enum ErrorPageType { 859 enum ErrorPageType {
859 DNS_ERROR, 860 DNS_ERROR,
860 HTTP_404, 861 HTTP_404,
861 CONNECTION_ERROR, 862 CONNECTION_ERROR,
862 }; 863 };
863 864
864 void UpdateURL(WebKit::WebFrame* frame); 865 void UpdateURL(WebKit::WebFrame* frame);
(...skipping 727 matching lines...) Expand 10 before | Expand all | Expand 10 after
1592 // use the Observer interface to filter IPC messages and receive frame change 1593 // use the Observer interface to filter IPC messages and receive frame change
1593 // notifications. 1594 // notifications.
1594 // --------------------------------------------------------------------------- 1595 // ---------------------------------------------------------------------------
1595 1596
1596 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1597 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1597 }; 1598 };
1598 1599
1599 } // namespace content 1600 } // namespace content
1600 1601
1601 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1602 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698