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

Side by Side Diff: content/public/test/render_view_test.h

Issue 222973003: Conversion of content_shell target to use WebLocalFrame. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove some TODOs Created 6 years, 8 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_PUBLIC_TEST_RENDER_VIEW_TEST_H_ 5 #ifndef CONTENT_PUBLIC_TEST_RENDER_VIEW_TEST_H_
6 #define CONTENT_PUBLIC_TEST_RENDER_VIEW_TEST_H_ 6 #define CONTENT_PUBLIC_TEST_RENDER_VIEW_TEST_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 // Returns the IPC message ID of the navigation message. 112 // Returns the IPC message ID of the navigation message.
113 uint32 GetNavigationIPCType(); 113 uint32 GetNavigationIPCType();
114 114
115 // Resize the view. 115 // Resize the view.
116 void Resize(gfx::Size new_size, 116 void Resize(gfx::Size new_size,
117 gfx::Rect resizer_rect, 117 gfx::Rect resizer_rect,
118 bool is_fullscreen); 118 bool is_fullscreen);
119 119
120 // These are all methods from RenderViewImpl that we expose to testing code. 120 // These are all methods from RenderViewImpl that we expose to testing code.
121 bool OnMessageReceived(const IPC::Message& msg); 121 bool OnMessageReceived(const IPC::Message& msg);
122 void DidNavigateWithinPage(blink::WebFrame* frame, bool is_new_navigation); 122 void DidNavigateWithinPage(blink::WebLocalFrame* frame,
123 bool is_new_navigation);
123 void SendContentStateImmediately(); 124 void SendContentStateImmediately();
124 blink::WebWidget* GetWebWidget(); 125 blink::WebWidget* GetWebWidget();
125 126
126 // Allows a subclass to override the various content client implementations. 127 // Allows a subclass to override the various content client implementations.
127 virtual ContentClient* CreateContentClient(); 128 virtual ContentClient* CreateContentClient();
128 virtual ContentBrowserClient* CreateContentBrowserClient(); 129 virtual ContentBrowserClient* CreateContentBrowserClient();
129 virtual ContentRendererClient* CreateContentRendererClient(); 130 virtual ContentRendererClient* CreateContentRendererClient();
130 131
131 // testing::Test 132 // testing::Test
132 virtual void SetUp() OVERRIDE; 133 virtual void SetUp() OVERRIDE;
(...skipping 20 matching lines...) Expand all
153 scoped_ptr<base::mac::ScopedNSAutoreleasePool> autorelease_pool_; 154 scoped_ptr<base::mac::ScopedNSAutoreleasePool> autorelease_pool_;
154 #endif 155 #endif
155 156
156 private: 157 private:
157 void GoToOffset(int offset, const blink::WebHistoryItem& history_item); 158 void GoToOffset(int offset, const blink::WebHistoryItem& history_item);
158 }; 159 };
159 160
160 } // namespace content 161 } // namespace content
161 162
162 #endif // CONTENT_PUBLIC_TEST_RENDER_VIEW_TEST_H_ 163 #endif // CONTENT_PUBLIC_TEST_RENDER_VIEW_TEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698