Index: content/common/accessibility_mode_enums.h |
diff --git a/content/common/view_message_enums.h b/content/common/accessibility_mode_enums.h |
similarity index 67% |
copy from content/common/view_message_enums.h |
copy to content/common/accessibility_mode_enums.h |
index 37179e826315bd9649a24c11c75b0fed943ec634..ee51d6b3d8ce4b68d46b139259997925255a5cfd 100644 |
--- a/content/common/view_message_enums.h |
+++ b/content/common/accessibility_mode_enums.h |
@@ -1,26 +1,9 @@ |
-// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef CONTENT_COMMON_VIEW_MESSAGES_ENUMS_H_ |
-#define CONTENT_COMMON_VIEW_MESSAGES_ENUMS_H_ |
- |
-#include "ipc/ipc_message_macros.h" |
- |
-// Values that may be OR'd together to form the 'flags' parameter of a |
-// ViewHostMsg_UpdateRect_Params structure. |
-struct ViewHostMsg_UpdateRect_Flags { |
- enum { |
- IS_RESIZE_ACK = 1 << 0, |
- IS_REPAINT_ACK = 1 << 2, |
- }; |
- static bool is_resize_ack(int flags) { |
- return (flags & IS_RESIZE_ACK) != 0; |
- } |
- static bool is_repaint_ack(int flags) { |
- return (flags & IS_REPAINT_ACK) != 0; |
- } |
-}; |
+#ifndef CONTENT_COMMON_ACCESSIBILITY_MODE_ENUMS_H_ |
+#define CONTENT_COMMON_ACCESSIBILITY_MODE_ENUMS_H_ |
// Note: keep enums in content/browser/resources/accessibility/accessibility.js |
// in sync with these two enums. |
@@ -52,4 +35,4 @@ enum AccessibilityMode { |
AccessibilityModeTreeOnly = AccessibilityModeFlagFullTree, |
}; |
-#endif // CONTENT_COMMON_VIEW_MESSAGES_ENUMS_H_ |
+#endif // CONTENT_COMMON_ACCESSIBILITY_MODE_ENUMS_H_ |