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

Unified Diff: chrome/common/automation_messages.h

Issue 4697005: Part 3 of reapplying r64637. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Prune dead files from gyp Created 10 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
« no previous file with comments | « chrome/common/DEPS ('k') | chrome/common/automation_messages_internal.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/automation_messages.h
diff --git a/chrome/common/automation_messages.h b/chrome/common/automation_messages.h
index bc7770411dac7b63eb166716a4fb32c6ccca4b3a..0f8ec7c9d3ecc2436d6123350b1754f508aeabde 100644
--- a/chrome/common/automation_messages.h
+++ b/chrome/common/automation_messages.h
@@ -11,8 +11,9 @@
#include "base/basictypes.h"
#include "chrome/common/automation_constants.h"
#include "chrome/common/common_param_traits.h"
-#include "chrome/browser/tab_contents/navigation_entry.h"
-#include "chrome/browser/tab_contents/security_style.h"
+#include "chrome/common/page_type.h"
+#include "chrome/common/security_style.h"
+#include "chrome/common/common_param_traits.h"
#include "gfx/rect.h"
#include "net/base/upload_data.h"
@@ -198,8 +199,8 @@ struct ParamTraits<SecurityStyle> {
};
template <>
-struct ParamTraits<NavigationEntry::PageType> {
- typedef NavigationEntry::PageType param_type;
+struct ParamTraits<PageType> {
+ typedef PageType param_type;
static void Write(Message* m, const param_type& p) {
m->WriteInt(p);
}
@@ -207,19 +208,19 @@ struct ParamTraits<NavigationEntry::PageType> {
int type;
if (!m->ReadInt(iter, &type))
return false;
- *p = static_cast<NavigationEntry::PageType>(type);
+ *p = static_cast<PageType>(type);
return true;
}
static void Log(const param_type& p, std::string* l) {
std::string control;
switch (p) {
- case NavigationEntry::NORMAL_PAGE:
+ case NORMAL_PAGE:
control = "NORMAL_PAGE";
break;
- case NavigationEntry::ERROR_PAGE:
+ case ERROR_PAGE:
control = "ERROR_PAGE";
break;
- case NavigationEntry::INTERSTITIAL_PAGE:
+ case INTERSTITIAL_PAGE:
control = "INTERSTITIAL_PAGE";
break;
default:
« no previous file with comments | « chrome/common/DEPS ('k') | chrome/common/automation_messages_internal.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698