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

Side by Side Diff: webkit/glue/webkitclient_impl.cc

Issue 164356: Add disabled play and mute icons for media player. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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 | « webkit/glue/webkit_resources.grd ('k') | webkit/glue/webmediaplayer_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this
2 // source code is governed by a BSD-style license that can be found in the 2 // source code is governed by a BSD-style license that can be found in the
3 // LICENSE file. 3 // LICENSE file.
4 4
5 #include "webkit/glue/webkitclient_impl.h" 5 #include "webkit/glue/webkitclient_impl.h"
6 6
7 #include "base/file_path.h" 7 #include "base/file_path.h"
8 #include "base/file_util.h" 8 #include "base/file_util.h"
9 #include "base/message_loop.h" 9 #include "base/message_loop.h"
10 #include "base/platform_file.h" 10 #include "base/platform_file.h"
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 } resources[] = { 152 } resources[] = {
153 { "textAreaResizeCorner", IDR_TEXTAREA_RESIZER }, 153 { "textAreaResizeCorner", IDR_TEXTAREA_RESIZER },
154 { "missingImage", IDR_BROKENIMAGE }, 154 { "missingImage", IDR_BROKENIMAGE },
155 { "tickmarkDash", IDR_TICKMARK_DASH }, 155 { "tickmarkDash", IDR_TICKMARK_DASH },
156 { "panIcon", IDR_PAN_SCROLL_ICON }, 156 { "panIcon", IDR_PAN_SCROLL_ICON },
157 { "searchCancel", IDR_SEARCH_CANCEL }, 157 { "searchCancel", IDR_SEARCH_CANCEL },
158 { "searchCancelPressed", IDR_SEARCH_CANCEL_PRESSED }, 158 { "searchCancelPressed", IDR_SEARCH_CANCEL_PRESSED },
159 { "searchMagnifier", IDR_SEARCH_MAGNIFIER }, 159 { "searchMagnifier", IDR_SEARCH_MAGNIFIER },
160 { "searchMagnifierResults", IDR_SEARCH_MAGNIFIER_RESULTS }, 160 { "searchMagnifierResults", IDR_SEARCH_MAGNIFIER_RESULTS },
161 { "mediaPlay", IDR_MEDIA_PLAY_BUTTON }, 161 { "mediaPlay", IDR_MEDIA_PLAY_BUTTON },
162 { "mediaPlayDisabled", IDR_MEDIA_PLAY_BUTTON_DISABLED },
162 { "mediaPause", IDR_MEDIA_PAUSE_BUTTON }, 163 { "mediaPause", IDR_MEDIA_PAUSE_BUTTON },
163 { "mediaSoundFull", IDR_MEDIA_SOUND_FULL_BUTTON }, 164 { "mediaSoundFull", IDR_MEDIA_SOUND_FULL_BUTTON },
164 { "mediaSoundNone", IDR_MEDIA_SOUND_NONE_BUTTON }, 165 { "mediaSoundNone", IDR_MEDIA_SOUND_NONE_BUTTON },
166 { "mediaSoundDisabled", IDR_MEDIA_SOUND_DISABLED },
165 { "mediaSliderThumb", IDR_MEDIA_SLIDER_THUMB }, 167 { "mediaSliderThumb", IDR_MEDIA_SLIDER_THUMB },
166 #if defined(OS_LINUX) 168 #if defined(OS_LINUX)
167 { "linuxCheckboxOff", IDR_LINUX_CHECKBOX_OFF }, 169 { "linuxCheckboxOff", IDR_LINUX_CHECKBOX_OFF },
168 { "linuxCheckboxOn", IDR_LINUX_CHECKBOX_ON }, 170 { "linuxCheckboxOn", IDR_LINUX_CHECKBOX_ON },
169 { "linuxCheckboxDisabledOff", IDR_LINUX_CHECKBOX_DISABLED_OFF }, 171 { "linuxCheckboxDisabledOff", IDR_LINUX_CHECKBOX_DISABLED_OFF },
170 { "linuxCheckboxDisabledOn", IDR_LINUX_CHECKBOX_DISABLED_ON }, 172 { "linuxCheckboxDisabledOn", IDR_LINUX_CHECKBOX_DISABLED_ON },
171 { "linuxRadioOff", IDR_LINUX_RADIO_OFF }, 173 { "linuxRadioOff", IDR_LINUX_RADIO_OFF },
172 { "linuxRadioOn", IDR_LINUX_RADIO_ON }, 174 { "linuxRadioOn", IDR_LINUX_RADIO_ON },
173 { "linuxRadioDisabledOff", IDR_LINUX_RADIO_DISABLED_OFF }, 175 { "linuxRadioDisabledOff", IDR_LINUX_RADIO_DISABLED_OFF },
174 { "linuxRadioDisabledOn", IDR_LINUX_RADIO_DISABLED_ON }, 176 { "linuxRadioDisabledOn", IDR_LINUX_RADIO_DISABLED_ON },
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
291 } 293 }
292 294
293 bool WebKitClientImpl::makeAllDirectories( 295 bool WebKitClientImpl::makeAllDirectories(
294 const WebKit::WebString& path) { 296 const WebKit::WebString& path) {
295 DCHECK(!sandboxEnabled()); 297 DCHECK(!sandboxEnabled());
296 FilePath::StringType file_path = webkit_glue::WebStringToFilePathString(path); 298 FilePath::StringType file_path = webkit_glue::WebStringToFilePathString(path);
297 return file_util::CreateDirectory(FilePath(file_path)); 299 return file_util::CreateDirectory(FilePath(file_path));
298 } 300 }
299 301
300 } // namespace webkit_glue 302 } // namespace webkit_glue
OLDNEW
« no previous file with comments | « webkit/glue/webkit_resources.grd ('k') | webkit/glue/webmediaplayer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698