summaryrefslogtreecommitdiffstats
path: root/mash/task_viewer/task_viewer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'mash/task_viewer/task_viewer.cc')
-rw-r--r--mash/task_viewer/task_viewer.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/mash/task_viewer/task_viewer.cc b/mash/task_viewer/task_viewer.cc
index 0e01a00..fb5cb1f 100644
--- a/mash/task_viewer/task_viewer.cc
+++ b/mash/task_viewer/task_viewer.cc
@@ -19,6 +19,8 @@
#include "mojo/shell/public/cpp/connector.h"
#include "mojo/shell/public/interfaces/shell.mojom.h"
#include "ui/base/models/table_model.h"
+#include "ui/base/resource/resource_bundle.h"
+#include "ui/resources/grit/ui_resources.h"
#include "ui/views/background.h"
#include "ui/views/controls/button/label_button.h"
#include "ui/views/controls/table/table_view.h"
@@ -87,6 +89,13 @@ class TaskViewerContents : public views::WidgetDelegateView,
return base::ASCIIToUTF16("Tasks");
}
+ gfx::ImageSkia GetWindowAppIcon() override {
+ // TODO(jamescook): Create a new .pak file for this app and make a custom
+ // icon, perhaps one that looks like the Chrome OS task viewer icon.
+ ResourceBundle& rb = ResourceBundle::GetSharedInstance();
+ return *rb.GetImageSkiaNamed(IDR_NOTIFICATION_SETTINGS);
+ }
+
// Overridden from views::View:
void Layout() override {
gfx::Rect bounds = GetLocalBounds();