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

Side by Side Diff: content/common/view_message_enums.h

Issue 942963003: Cleanup: Fix content header include guards. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: REBASE Created 5 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_COMMON_VIEW_MESSAGES_ENUMS_H_ 5 #ifndef CONTENT_COMMON_VIEW_MESSAGE_ENUMS_H_
6 #define CONTENT_COMMON_VIEW_MESSAGES_ENUMS_H_ 6 #define CONTENT_COMMON_VIEW_MESSAGE_ENUMS_H_
7 7
8 #include "ipc/ipc_message_macros.h" 8 #include "ipc/ipc_message_macros.h"
9 9
10 // Values that may be OR'd together to form the 'flags' parameter of a 10 // Values that may be OR'd together to form the 'flags' parameter of a
11 // ViewHostMsg_UpdateRect_Params structure. 11 // ViewHostMsg_UpdateRect_Params structure.
12 struct ViewHostMsg_UpdateRect_Flags { 12 struct ViewHostMsg_UpdateRect_Flags {
13 enum { 13 enum {
14 IS_RESIZE_ACK = 1 << 0, 14 IS_RESIZE_ACK = 1 << 0,
15 IS_REPAINT_ACK = 1 << 2, 15 IS_REPAINT_ACK = 1 << 2,
16 }; 16 };
17 static bool is_resize_ack(int flags) { 17 static bool is_resize_ack(int flags) {
18 return (flags & IS_RESIZE_ACK) != 0; 18 return (flags & IS_RESIZE_ACK) != 0;
19 } 19 }
20 static bool is_repaint_ack(int flags) { 20 static bool is_repaint_ack(int flags) {
21 return (flags & IS_REPAINT_ACK) != 0; 21 return (flags & IS_REPAINT_ACK) != 0;
22 } 22 }
23 }; 23 };
24 24
25 #endif // CONTENT_COMMON_VIEW_MESSAGES_ENUMS_H_ 25 #endif // CONTENT_COMMON_VIEW_MESSAGE_ENUMS_H_
OLDNEW
« no previous file with comments | « content/common/service_worker/service_worker_client_info.h ('k') | content/plugin/webplugin_accelerated_surface_proxy_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698