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

Side by Side Diff: public/web/WebMenuItemInfo.h

Issue 20300002: Fix trailing whitespace in .cpp, .h, and .idl files (ex. Source/core) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « public/web/WebImageDecoder.h ('k') | public/web/WebSecurityOrigin.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 29 matching lines...) Expand all
40 40
41 struct WebMenuItemInfo { 41 struct WebMenuItemInfo {
42 enum Type { 42 enum Type {
43 Option, 43 Option,
44 CheckableOption, 44 CheckableOption,
45 Group, 45 Group,
46 Separator, 46 Separator,
47 SubMenu 47 SubMenu
48 }; 48 };
49 49
50 WebMenuItemInfo() 50 WebMenuItemInfo()
51 : type(Option) 51 : type(Option)
52 , action(0) 52 , action(0)
53 , textDirection(WebTextDirectionDefault) 53 , textDirection(WebTextDirectionDefault)
54 , hasTextDirectionOverride(false) 54 , hasTextDirectionOverride(false)
55 , enabled(false) 55 , enabled(false)
56 , checked(false) 56 , checked(false)
57 { 57 {
58 } 58 }
59 59
60 WebString label; 60 WebString label;
61 WebString toolTip; 61 WebString toolTip;
62 Type type; 62 Type type;
63 unsigned action; 63 unsigned action;
64 WebTextDirection textDirection; 64 WebTextDirection textDirection;
65 WebVector<WebMenuItemInfo> subMenuItems; 65 WebVector<WebMenuItemInfo> subMenuItems;
66 bool hasTextDirectionOverride; 66 bool hasTextDirectionOverride;
67 bool enabled; 67 bool enabled;
68 bool checked; 68 bool checked;
69 }; 69 };
70 70
71 } // namespace WebKit 71 } // namespace WebKit
72 72
73 #endif 73 #endif
OLDNEW
« no previous file with comments | « public/web/WebImageDecoder.h ('k') | public/web/WebSecurityOrigin.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698