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

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

Issue 10855151: Gradient overlay for constrained window (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix chromeos 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 | Annotate | Revision Log
« no previous file with comments | « content/public/renderer/render_view.h ('k') | content/public/test/render_view_test.cc » ('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) 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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 103
104 // Clears anything associated with the browsing history. 104 // Clears anything associated with the browsing history.
105 void ClearHistory(); 105 void ClearHistory();
106 106
107 // Simulates a navigation with a type of reload to the given url. 107 // Simulates a navigation with a type of reload to the given url.
108 void Reload(const GURL& url); 108 void Reload(const GURL& url);
109 109
110 // Returns the IPC message ID of the navigation message. 110 // Returns the IPC message ID of the navigation message.
111 uint32 GetNavigationIPCType(); 111 uint32 GetNavigationIPCType();
112 112
113 // Resize the view.
114 void Resize(gfx::Size new_size,
115 gfx::Rect resizer_rect,
116 bool is_fullscreen);
117
113 // These are all methods from RenderViewImpl that we expose to testing code. 118 // These are all methods from RenderViewImpl that we expose to testing code.
114 bool OnMessageReceived(const IPC::Message& msg); 119 bool OnMessageReceived(const IPC::Message& msg);
115 void DidNavigateWithinPage(WebKit::WebFrame* frame, bool is_new_navigation); 120 void DidNavigateWithinPage(WebKit::WebFrame* frame, bool is_new_navigation);
116 void SendContentStateImmediately(); 121 void SendContentStateImmediately();
117 WebKit::WebWidget* GetWebWidget(); 122 WebKit::WebWidget* GetWebWidget();
118 123
119 // testing::Test 124 // testing::Test
120 virtual void SetUp() OVERRIDE; 125 virtual void SetUp() OVERRIDE;
121 126
122 virtual void TearDown() OVERRIDE; 127 virtual void TearDown() OVERRIDE;
(...skipping 12 matching lines...) Expand all
135 scoped_ptr<content::MainFunctionParams> params_; 140 scoped_ptr<content::MainFunctionParams> params_;
136 scoped_ptr<CommandLine> command_line_; 141 scoped_ptr<CommandLine> command_line_;
137 142
138 private: 143 private:
139 void GoToOffset(int offset, const WebKit::WebHistoryItem& history_item); 144 void GoToOffset(int offset, const WebKit::WebHistoryItem& history_item);
140 }; 145 };
141 146
142 } // namespace content 147 } // namespace content
143 148
144 #endif // CONTENT_PUBLIC_TEST_RENDER_VIEW_TEST_H_ 149 #endif // CONTENT_PUBLIC_TEST_RENDER_VIEW_TEST_H_
OLDNEW
« no previous file with comments | « content/public/renderer/render_view.h ('k') | content/public/test/render_view_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698