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

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

Issue 200723010: Rename MediaHasVideo bit to MediaCanToggleControls. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove MediaFullscreen Created 6 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
« no previous file with comments | « Source/web/ContextMenuClientImpl.cpp ('k') | no next file » | 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, 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2009, 2012 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 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 WebHistoryItem frameHistoryItem; 93 WebHistoryItem frameHistoryItem;
94 94
95 enum MediaFlags { 95 enum MediaFlags {
96 MediaNone = 0x0, 96 MediaNone = 0x0,
97 MediaInError = 0x1, 97 MediaInError = 0x1,
98 MediaPaused = 0x2, 98 MediaPaused = 0x2,
99 MediaMuted = 0x4, 99 MediaMuted = 0x4,
100 MediaLoop = 0x8, 100 MediaLoop = 0x8,
101 MediaCanSave = 0x10, 101 MediaCanSave = 0x10,
102 MediaHasAudio = 0x20, 102 MediaHasAudio = 0x20,
103 MediaHasVideo = 0x40, 103 MediaHasVideo = 0x40, // Temporary alias of MediaCanToggleControls.
acolwell GONE FROM CHROMIUM 2014/03/21 21:06:06 nit: Add "FIXME: Remove once Chromium references M
sandersd (OOO until July 31) 2014/03/21 21:11:41 Done.
104 MediaCanToggleControls = 0x40,
104 MediaControls = 0x80, 105 MediaControls = 0x80,
105 MediaCanPrint = 0x100, 106 MediaCanPrint = 0x100,
106 MediaCanRotate = 0x200, 107 MediaCanRotate = 0x200,
107 }; 108 };
108 109
109 // Extra attributes describing media elements. 110 // Extra attributes describing media elements.
110 int mediaFlags; 111 int mediaFlags;
111 112
112 // The raw text of the selection in context. 113 // The raw text of the selection in context.
113 WebString selectedText; 114 WebString selectedText;
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 , isEditable(false) 179 , isEditable(false)
179 , writingDirectionDefault(CheckableMenuItemDisabled) 180 , writingDirectionDefault(CheckableMenuItemDisabled)
180 , writingDirectionLeftToRight(CheckableMenuItemEnabled) 181 , writingDirectionLeftToRight(CheckableMenuItemEnabled)
181 , writingDirectionRightToLeft(CheckableMenuItemEnabled) 182 , writingDirectionRightToLeft(CheckableMenuItemEnabled)
182 , editFlags(0) { } 183 , editFlags(0) { }
183 }; 184 };
184 185
185 } // namespace blink 186 } // namespace blink
186 187
187 #endif 188 #endif
OLDNEW
« no previous file with comments | « Source/web/ContextMenuClientImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698