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

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

Issue 10829044: Implement NavigationControllerWebView.PostURL (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fixes according to comments. Improve render_view test. Created 8 years, 4 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
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 <deque> 8 #include <deque>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 774 matching lines...) Expand 10 before | Expand all | Expand 10 after
785 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, OnHandleKeyboardEvent); 785 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, OnHandleKeyboardEvent);
786 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, OnImeStateChanged); 786 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, OnImeStateChanged);
787 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, OnNavStateChanged); 787 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, OnNavStateChanged);
788 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, OnSetTextDirection); 788 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, OnSetTextDirection);
789 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, OnUpdateWebPreferences); 789 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, OnUpdateWebPreferences);
790 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, SendSwapOutACK); 790 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, SendSwapOutACK);
791 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, StaleNavigationsIgnored); 791 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, StaleNavigationsIgnored);
792 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, UpdateTargetURLWithInvalidURL); 792 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, UpdateTargetURLWithInvalidURL);
793 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, 793 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest,
794 GetCompositionCharacterBoundsTest); 794 GetCompositionCharacterBoundsTest);
795 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, OnNavigationHttpPost);
795 #if defined(OS_MACOSX) 796 #if defined(OS_MACOSX)
796 FRIEND_TEST_ALL_PREFIXES(RenderViewTest, MacTestCmdUp); 797 FRIEND_TEST_ALL_PREFIXES(RenderViewTest, MacTestCmdUp);
797 #endif 798 #endif
798 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, SetHistoryLengthAndPrune); 799 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, SetHistoryLengthAndPrune);
799 800
800 typedef std::map<GURL, double> HostZoomLevels; 801 typedef std::map<GURL, double> HostZoomLevels;
801 802
802 enum ErrorPageType { 803 enum ErrorPageType {
803 DNS_ERROR, 804 DNS_ERROR,
804 HTTP_404, 805 HTTP_404,
(...skipping 624 matching lines...) Expand 10 before | Expand all | Expand 10 after
1429 // bunch of stuff, you should probably create a helper class and put your 1430 // bunch of stuff, you should probably create a helper class and put your
1430 // data and methods on that to avoid bloating RenderView more. You can 1431 // data and methods on that to avoid bloating RenderView more. You can
1431 // use the Observer interface to filter IPC messages and receive frame change 1432 // use the Observer interface to filter IPC messages and receive frame change
1432 // notifications. 1433 // notifications.
1433 // --------------------------------------------------------------------------- 1434 // ---------------------------------------------------------------------------
1434 1435
1435 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1436 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1436 }; 1437 };
1437 1438
1438 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1439 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698