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

Unified Diff: chrome/test/automation/tab_proxy.cc

Issue 255057: Unit Test for Toggling of Encoding Auto-Detect (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: chrome/test/automation/tab_proxy.cc
===================================================================
--- chrome/test/automation/tab_proxy.cc (revision 31188)
+++ chrome/test/automation/tab_proxy.cc (working copy)
@@ -655,6 +655,16 @@
return succeeded;
}
+bool TabProxy::ToggleEncodingAutoDetect() {
+ if (!is_valid())
+ return false;
+
+ bool succeeded = false;
+ sender_->Send(new AutomationMsg_ToggleEncodingAutoDetect(0, handle_,
+ &succeeded));
+ return succeeded;
+}
+
bool TabProxy::OverrideEncoding(const std::string& encoding) {
if (!is_valid())
return false;
@@ -669,7 +679,6 @@
void TabProxy::Reposition(HWND window, HWND window_insert_after, int left,
int top, int width, int height, int flags,
HWND parent_window) {
-
IPC::Reposition_Params params = {0};
params.window = window;
params.window_insert_after = window_insert_after;
« chrome/browser/browser_encoding_uitest.cc ('K') | « chrome/test/automation/tab_proxy.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698