| Index: chrome/browser/ui/views/apps/app_info_dialog/app_info_panel.cc
|
| diff --git a/chrome/browser/ui/views/apps/app_info_dialog/app_info_panel.cc b/chrome/browser/ui/views/apps/app_info_dialog/app_info_panel.cc
|
| deleted file mode 100644
|
| index 02c7bd6783e1b36f884e3c4c546f7f5aa975a003..0000000000000000000000000000000000000000
|
| --- a/chrome/browser/ui/views/apps/app_info_dialog/app_info_panel.cc
|
| +++ /dev/null
|
| @@ -1,41 +0,0 @@
|
| -// Copyright 2014 The Chromium Authors. All rights reserved.
|
| -// Use of this source code is governed by a BSD-style license that can be
|
| -// found in the LICENSE file.
|
| -
|
| -#include "chrome/browser/ui/views/apps/app_info_dialog/app_info_panel.h"
|
| -#include "ui/base/resource/resource_bundle.h"
|
| -#include "ui/views/controls/label.h"
|
| -#include "ui/views/layout/box_layout.h"
|
| -#include "ui/views/layout/layout_constants.h"
|
| -#include "ui/views/view.h"
|
| -
|
| -AppInfoPanel::AppInfoPanel(gfx::NativeWindow parent_window,
|
| - Profile* profile,
|
| - const extensions::Extension* app,
|
| - const base::Closure& close_callback)
|
| - : parent_window_(parent_window),
|
| - profile_(profile),
|
| - app_(app),
|
| - close_callback_(close_callback) {
|
| -}
|
| -
|
| -AppInfoPanel::~AppInfoPanel() {
|
| -}
|
| -
|
| -views::Label* AppInfoPanel::CreateHeading(const base::string16& text) const {
|
| - views::Label* label = new views::Label(text);
|
| - label->SetHorizontalAlignment(gfx::ALIGN_LEFT);
|
| - label->SetFontList(ui::ResourceBundle::GetSharedInstance().GetFontList(
|
| - ui::ResourceBundle::MediumFont));
|
| - return label;
|
| -}
|
| -
|
| -views::View* AppInfoPanel::CreateVerticalStack() const {
|
| - views::View* vertically_stacked_view = new views::View();
|
| - vertically_stacked_view->SetLayoutManager(
|
| - new views::BoxLayout(views::BoxLayout::kVertical,
|
| - 0,
|
| - 0,
|
| - views::kRelatedControlVerticalSpacing));
|
| - return vertically_stacked_view;
|
| -}
|
|
|