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

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

Issue 8230034: Split most of RenderViewTest and associated classes into content. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Mac build breaks. Created 9 years, 2 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
« no previous file with comments | « content/renderer/render_view_browsertest_mac.mm ('k') | content/test/mock_keyboard.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 struct ViewMsg_SwapOut_Params; 77 struct ViewMsg_SwapOut_Params;
78 struct ViewMsg_Navigate_Params; 78 struct ViewMsg_Navigate_Params;
79 struct ViewMsg_StopFinding_Params; 79 struct ViewMsg_StopFinding_Params;
80 struct WebDropData; 80 struct WebDropData;
81 81
82 namespace base { 82 namespace base {
83 class WaitableEvent; 83 class WaitableEvent;
84 } // namespace base 84 } // namespace base
85 85
86 namespace content { 86 namespace content {
87 class RenderViewTest;
87 class NavigationState; 88 class NavigationState;
88 class P2PSocketDispatcher; 89 class P2PSocketDispatcher;
89 class RenderViewObserver; 90 class RenderViewObserver;
90 class RenderViewVisitor; 91 class RenderViewVisitor;
91 } // namespace content 92 } // namespace content
92 93
93 namespace gfx { 94 namespace gfx {
94 class Point; 95 class Point;
95 class Rect; 96 class Rect;
96 } // namespace gfx 97 } // namespace gfx
(...skipping 545 matching lines...) Expand 10 before | Expand all | Expand 10 after
642 const string16& text, const ui::Range& replacement_range) OVERRIDE; 643 const string16& text, const ui::Range& replacement_range) OVERRIDE;
643 virtual ui::TextInputType GetTextInputType() OVERRIDE; 644 virtual ui::TextInputType GetTextInputType() OVERRIDE;
644 virtual gfx::Rect GetCaretBounds() OVERRIDE; 645 virtual gfx::Rect GetCaretBounds() OVERRIDE;
645 virtual bool CanComposeInline() OVERRIDE; 646 virtual bool CanComposeInline() OVERRIDE;
646 virtual bool WebWidgetHandlesCompositorScheduling() const OVERRIDE; 647 virtual bool WebWidgetHandlesCompositorScheduling() const OVERRIDE;
647 648
648 private: 649 private:
649 // For unit tests. 650 // For unit tests.
650 friend class ExternalPopupMenuTest; 651 friend class ExternalPopupMenuTest;
651 friend class PepperDeviceTest; 652 friend class PepperDeviceTest;
652 friend class RenderViewTest; 653 friend class content::RenderViewTest;
653 654
654 FRIEND_TEST_ALL_PREFIXES(ExternalPopupMenuRemoveTest, RemoveOnChange); 655 FRIEND_TEST_ALL_PREFIXES(ExternalPopupMenuRemoveTest, RemoveOnChange);
655 FRIEND_TEST_ALL_PREFIXES(ExternalPopupMenuTest, NormalCase); 656 FRIEND_TEST_ALL_PREFIXES(ExternalPopupMenuTest, NormalCase);
656 FRIEND_TEST_ALL_PREFIXES(ExternalPopupMenuTest, ShowPopupThenNavigate); 657 FRIEND_TEST_ALL_PREFIXES(ExternalPopupMenuTest, ShowPopupThenNavigate);
657 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, 658 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest,
658 DontIgnoreBackAfterNavEntryLimit); 659 DontIgnoreBackAfterNavEntryLimit);
659 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, ImeComposition); 660 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, ImeComposition);
660 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, InsertCharacters); 661 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, InsertCharacters);
661 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, JSBlockSentAfterPageLoad); 662 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, JSBlockSentAfterPageLoad);
662 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, LastCommittedUpdateState); 663 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, LastCommittedUpdateState);
(...skipping 546 matching lines...) Expand 10 before | Expand all | Expand 10 after
1209 // bunch of stuff, you should probably create a helper class and put your 1210 // bunch of stuff, you should probably create a helper class and put your
1210 // data and methods on that to avoid bloating RenderView more. You can 1211 // data and methods on that to avoid bloating RenderView more. You can
1211 // use the Observer interface to filter IPC messages and receive frame change 1212 // use the Observer interface to filter IPC messages and receive frame change
1212 // notifications. 1213 // notifications.
1213 // --------------------------------------------------------------------------- 1214 // ---------------------------------------------------------------------------
1214 1215
1215 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1216 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1216 }; 1217 };
1217 1218
1218 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1219 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/render_view_browsertest_mac.mm ('k') | content/test/mock_keyboard.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698