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

Unified Diff: chrome/browser/media/media_stream_devices_menu_model.cc

Issue 10837317: Setting the touch wrench menu as default menu for ChromeOS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: And another merge! Created 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/media/media_stream_devices_menu_model.cc
diff --git a/chrome/browser/media/media_stream_devices_menu_model.cc b/chrome/browser/media/media_stream_devices_menu_model.cc
index 8006807e67835dda7101634052c66ce25187f847..ca322bd74c4671d83f40f4eb373efa3761fb37e4 100644
--- a/chrome/browser/media/media_stream_devices_menu_model.cc
+++ b/chrome/browser/media/media_stream_devices_menu_model.cc
@@ -26,7 +26,7 @@ MediaStreamDevicesMenuModel::MediaStreamDevicesMenuModel(
selected_command_id_video_ = commands_.size();
AddDevices(delegate->GetVideoDevices());
if (audio)
- AddSeparator();
+ AddSeparator(ui::NORMAL_SEPARATOR);
}
if (audio) {
// The default command ID is the first element that will be inserted.
@@ -112,6 +112,6 @@ void MediaStreamDevicesMenuModel::AddAlwaysAllowOption(bool audio, bool video) {
else if (!audio && video)
message_id = IDS_MEDIA_CAPTURE_ALWAYS_ALLOW_VIDEO_ONLY;
- AddSeparator();
+ AddSeparator(ui::NORMAL_SEPARATOR);
AddCheckItem(command_id, l10n_util::GetStringUTF16(message_id));
}

Powered by Google App Engine
This is Rietveld 408576698