Index: content/common/view_message_enums.h |
diff --git a/content/common/view_message_enums.h b/content/common/view_message_enums.h |
index f1538c8fc88b586960f18fd4e817a89088ef4134..a9a49341e0c7990d028088da5009b76b9dac887e 100644 |
--- a/content/common/view_message_enums.h |
+++ b/content/common/view_message_enums.h |
@@ -103,6 +103,7 @@ struct ViewHostMsg_UpdateRect_Flags { |
IS_RESIZE_ACK = 1 << 0, |
IS_RESTORE_ACK = 1 << 1, |
IS_REPAINT_ACK = 1 << 2, |
+ NEEDS_ACK = 1 << 3, |
}; |
static bool is_resize_ack(int flags) { |
return (flags & IS_RESIZE_ACK) != 0; |
@@ -113,6 +114,9 @@ struct ViewHostMsg_UpdateRect_Flags { |
static bool is_repaint_ack(int flags) { |
return (flags & IS_REPAINT_ACK) != 0; |
} |
+ static bool needs_ack(int flags) { |
darin (slow to review)
2011/11/15 08:06:04
it seems a bit awkward to put this flag here. the
piman
2011/11/16 01:00:55
Done.
|
+ return (flags & NEEDS_ACK) != 0; |
+ } |
}; |
struct ViewMsg_Navigate_Type { |