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

Side by Side Diff: chrome/browser/ui/content_settings/content_setting_bubble_model_unittest.cc

Issue 2220573004: Caption for the Subresource filter bubble prompt. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: xib Created 4 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
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 #include <stddef.h> 5 #include <stddef.h>
6 6
7 #include "base/auto_reset.h" 7 #include "base/auto_reset.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/strings/utf_string_conversions.h" 9 #include "base/strings/utf_string_conversions.h"
10 #include "chrome/browser/content_settings/host_content_settings_map_factory.h" 10 #include "chrome/browser/content_settings/host_content_settings_map_factory.h"
(...skipping 919 matching lines...) Expand 10 before | Expand all | Expand 10 after
930 l10n_util::GetStringUTF8( 930 l10n_util::GetStringUTF8(
931 IDS_FILTERED_DECEPTIVE_CONTENT_PROMPT_EXPLANATION)); 931 IDS_FILTERED_DECEPTIVE_CONTENT_PROMPT_EXPLANATION));
932 EXPECT_EQ(0U, bubble_content.radio_group.radio_items.size()); 932 EXPECT_EQ(0U, bubble_content.radio_group.radio_items.size());
933 EXPECT_EQ(0, bubble_content.radio_group.default_item); 933 EXPECT_EQ(0, bubble_content.radio_group.default_item);
934 EXPECT_TRUE(bubble_content.custom_link.empty()); 934 EXPECT_TRUE(bubble_content.custom_link.empty());
935 EXPECT_FALSE(bubble_content.custom_link_enabled); 935 EXPECT_FALSE(bubble_content.custom_link_enabled);
936 EXPECT_EQ( 936 EXPECT_EQ(
937 bubble_content.manage_link, 937 bubble_content.manage_link,
938 l10n_util::GetStringUTF8(IDS_FILTERED_DECEPTIVE_CONTENT_PROMPT_RELOAD)); 938 l10n_util::GetStringUTF8(IDS_FILTERED_DECEPTIVE_CONTENT_PROMPT_RELOAD));
939 EXPECT_EQ(0U, bubble_content.media_menus.size()); 939 EXPECT_EQ(0U, bubble_content.media_menus.size());
940 EXPECT_EQ(
941 bubble_content.caption,
942 l10n_util::GetStringUTF8(IDS_FILTERED_DECEPTIVE_CONTENT_PROMPT_TITLE));
940 } 943 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698