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

Unified Diff: chrome/browser/ui/test/test_confirm_bubble_model.cc

Issue 1242383005: Remove unused code in ConfirmBubbleModel (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 5 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
« no previous file with comments | « chrome/browser/ui/test/test_confirm_bubble_model.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/test/test_confirm_bubble_model.cc
diff --git a/chrome/browser/ui/test/test_confirm_bubble_model.cc b/chrome/browser/ui/test/test_confirm_bubble_model.cc
index 350eaa905faa82c30f296884ff1557040428394d..0da8898192c493ac8fe8403df331b9288e1bd149 100644
--- a/chrome/browser/ui/test/test_confirm_bubble_model.cc
+++ b/chrome/browser/ui/test/test_confirm_bubble_model.cc
@@ -6,8 +6,6 @@
#include "base/strings/string16.h"
#include "base/strings/utf_string_conversions.h"
-#include "grit/theme_resources.h"
-#include "ui/base/resource/resource_bundle.h"
TestConfirmBubbleModel::TestConfirmBubbleModel(bool* model_deleted,
bool* accept_clicked,
@@ -32,12 +30,6 @@ base::string16 TestConfirmBubbleModel::GetMessageText() const {
return base::ASCIIToUTF16("Test Message");
}
-gfx::Image* TestConfirmBubbleModel::GetIcon() const {
- // Return an arbitrary non-empty image.
- return &ui::ResourceBundle::GetSharedInstance().GetImageNamed(
- IDR_PRODUCT_LOGO_16);
-}
-
int TestConfirmBubbleModel::GetButtons() const {
return BUTTON_OK | BUTTON_CANCEL;
}
« no previous file with comments | « chrome/browser/ui/test/test_confirm_bubble_model.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698