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

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: Ready for review! 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
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 537 matching lines...) Expand 10 before | Expand all | Expand 10 after
634 int selection_end) OVERRIDE; 635 int selection_end) OVERRIDE;
635 virtual void OnImeConfirmComposition(const string16& text) OVERRIDE; 636 virtual void OnImeConfirmComposition(const string16& text) OVERRIDE;
636 virtual ui::TextInputType GetTextInputType() OVERRIDE; 637 virtual ui::TextInputType GetTextInputType() OVERRIDE;
637 virtual bool CanComposeInline() OVERRIDE; 638 virtual bool CanComposeInline() OVERRIDE;
638 virtual bool WebWidgetHandlesCompositorScheduling() const OVERRIDE; 639 virtual bool WebWidgetHandlesCompositorScheduling() const OVERRIDE;
639 640
640 private: 641 private:
641 // For unit tests. 642 // For unit tests.
642 friend class ExternalPopupMenuTest; 643 friend class ExternalPopupMenuTest;
643 friend class PepperDeviceTest; 644 friend class PepperDeviceTest;
644 friend class RenderViewTest; 645 friend class content::RenderViewTest;
645 646
646 FRIEND_TEST_ALL_PREFIXES(ExternalPopupMenuRemoveTest, RemoveOnChange); 647 FRIEND_TEST_ALL_PREFIXES(ExternalPopupMenuRemoveTest, RemoveOnChange);
647 FRIEND_TEST_ALL_PREFIXES(ExternalPopupMenuTest, NormalCase); 648 FRIEND_TEST_ALL_PREFIXES(ExternalPopupMenuTest, NormalCase);
648 FRIEND_TEST_ALL_PREFIXES(ExternalPopupMenuTest, ShowPopupThenNavigate); 649 FRIEND_TEST_ALL_PREFIXES(ExternalPopupMenuTest, ShowPopupThenNavigate);
649 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, 650 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest,
650 DontIgnoreBackAfterNavEntryLimit); 651 DontIgnoreBackAfterNavEntryLimit);
651 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, ImeComposition); 652 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, ImeComposition);
652 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, InsertCharacters); 653 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, InsertCharacters);
653 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, JSBlockSentAfterPageLoad); 654 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, JSBlockSentAfterPageLoad);
654 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, LastCommittedUpdateState); 655 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, LastCommittedUpdateState);
(...skipping 546 matching lines...) Expand 10 before | Expand all | Expand 10 after
1201 // bunch of stuff, you should probably create a helper class and put your 1202 // bunch of stuff, you should probably create a helper class and put your
1202 // data and methods on that to avoid bloating RenderView more. You can 1203 // data and methods on that to avoid bloating RenderView more. You can
1203 // use the Observer interface to filter IPC messages and receive frame change 1204 // use the Observer interface to filter IPC messages and receive frame change
1204 // notifications. 1205 // notifications.
1205 // --------------------------------------------------------------------------- 1206 // ---------------------------------------------------------------------------
1206 1207
1207 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1208 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1208 }; 1209 };
1209 1210
1210 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1211 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698