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

Unified Diff: chrome/test/automation/automation_messages.h

Issue 890005: Add a command line flag to disable infobars. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/tab_contents/tab_contents_delegate.h ('k') | chrome_frame/chrome_active_document.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/automation/automation_messages.h
===================================================================
--- chrome/test/automation/automation_messages.h (revision 42751)
+++ chrome/test/automation/automation_messages.h (working copy)
@@ -356,6 +356,7 @@
bool handle_top_level_requests;
GURL initial_url;
GURL referrer;
+ bool infobars_enabled;
};
// Traits for ExternalTabSettings structure to pack/unpack.
@@ -371,6 +372,7 @@
WriteParam(m, p.handle_top_level_requests);
WriteParam(m, p.initial_url);
WriteParam(m, p.referrer);
+ WriteParam(m, p.infobars_enabled);
}
static bool Read(const Message* m, void** iter, param_type* p) {
return ReadParam(m, iter, &p->parent) &&
@@ -380,7 +382,8 @@
ReadParam(m, iter, &p->load_requests_via_automation) &&
ReadParam(m, iter, &p->handle_top_level_requests) &&
ReadParam(m, iter, &p->initial_url) &&
- ReadParam(m, iter, &p->referrer);
+ ReadParam(m, iter, &p->referrer) &&
+ ReadParam(m, iter, &p->infobars_enabled);
}
static void Log(const param_type& p, std::wstring* l) {
l->append(L"(");
@@ -399,6 +402,8 @@
LogParam(p.initial_url, l);
l->append(L", ");
LogParam(p.referrer, l);
+ l->append(L", ");
+ LogParam(p.infobars_enabled, l);
l->append(L")");
}
};
« no previous file with comments | « chrome/browser/tab_contents/tab_contents_delegate.h ('k') | chrome_frame/chrome_active_document.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698