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

Side by Side Diff: chrome/test/automation/tab_proxy.h

Issue 14977013: Delete Automation[Tab/Renderer]Helper and users. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update now that 202087 is committed Created 7 years, 7 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 | « chrome/test/automation/automation_json_requests.cc ('k') | chrome/test/automation/tab_proxy.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 CHROME_TEST_AUTOMATION_TAB_PROXY_H_ 5 #ifndef CHROME_TEST_AUTOMATION_TAB_PROXY_H_
6 #define CHROME_TEST_AUTOMATION_TAB_PROXY_H_ 6 #define CHROME_TEST_AUTOMATION_TAB_PROXY_H_
7 7
8 #include "build/build_config.h" // NOLINT 8 #include "build/build_config.h" // NOLINT
9 9
10 #if defined(OS_WIN) 10 #if defined(OS_WIN)
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 // Sends off an asynchronous request for printing. 195 // Sends off an asynchronous request for printing.
196 bool PrintAsync() WARN_UNUSED_RESULT; 196 bool PrintAsync() WARN_UNUSED_RESULT;
197 197
198 // Waits until the infobar count is |count|. 198 // Waits until the infobar count is |count|.
199 // Returns true on success. 199 // Returns true on success.
200 bool WaitForInfoBarCount(size_t count) WARN_UNUSED_RESULT; 200 bool WaitForInfoBarCount(size_t count) WARN_UNUSED_RESULT;
201 201
202 // Uses the specified encoding to override encoding of the page in the tab. 202 // Uses the specified encoding to override encoding of the page in the tab.
203 bool OverrideEncoding(const std::string& encoding) WARN_UNUSED_RESULT; 203 bool OverrideEncoding(const std::string& encoding) WARN_UNUSED_RESULT;
204 204
205 // Captures the entire page and saves as a PNG at the given path. Returns
206 // true on success.
207 bool CaptureEntirePageAsPNG(const base::FilePath& path) WARN_UNUSED_RESULT;
208
209 #if defined(OS_WIN) 205 #if defined(OS_WIN)
210 // Resizes the tab window. 206 // Resizes the tab window.
211 // The parent_window parameter allows a parent to be specified for the window 207 // The parent_window parameter allows a parent to be specified for the window
212 // passed in. 208 // passed in.
213 void Reposition(HWND window, HWND window_insert_after, int left, int top, 209 void Reposition(HWND window, HWND window_insert_after, int left, int top,
214 int width, int height, int flags, HWND parent_window); 210 int width, int height, int flags, HWND parent_window);
215 211
216 // Sends the selected context menu command to the chrome instance 212 // Sends the selected context menu command to the chrome instance
217 void SendContextMenuCommand(int selected_command); 213 void SendContextMenuCommand(int selected_command);
218 214
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 const std::wstring& frame_xpath, 260 const std::wstring& frame_xpath,
265 const std::wstring& jscript) WARN_UNUSED_RESULT; 261 const std::wstring& jscript) WARN_UNUSED_RESULT;
266 262
267 private: 263 private:
268 base::Lock list_lock_; // Protects the observers_list_. 264 base::Lock list_lock_; // Protects the observers_list_.
269 ObserverList<TabProxyDelegate> observers_list_; 265 ObserverList<TabProxyDelegate> observers_list_;
270 DISALLOW_COPY_AND_ASSIGN(TabProxy); 266 DISALLOW_COPY_AND_ASSIGN(TabProxy);
271 }; 267 };
272 268
273 #endif // CHROME_TEST_AUTOMATION_TAB_PROXY_H_ 269 #endif // CHROME_TEST_AUTOMATION_TAB_PROXY_H_
OLDNEW
« no previous file with comments | « chrome/test/automation/automation_json_requests.cc ('k') | chrome/test/automation/tab_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698