| OLD | NEW |
| 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 "chrome/browser/ui/views/extensions/extension_install_dialog_view.h" | 5 #include "chrome/browser/ui/views/extensions/extension_install_dialog_view.h" |
| 6 | 6 |
| 7 #include <stddef.h> | 7 #include <stddef.h> |
| 8 #include <algorithm> | 8 #include <algorithm> |
| 9 #include <string> | 9 #include <string> |
| 10 #include <utility> | 10 #include <utility> |
| (...skipping 749 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 760 | 760 |
| 761 if (slide_animation_.IsShowing()) | 761 if (slide_animation_.IsShowing()) |
| 762 slide_animation_.Hide(); | 762 slide_animation_.Hide(); |
| 763 else | 763 else |
| 764 slide_animation_.Show(); | 764 slide_animation_.Show(); |
| 765 } | 765 } |
| 766 | 766 |
| 767 void ExpandableContainerView::UpdateArrowToggle(bool expanded) { | 767 void ExpandableContainerView::UpdateArrowToggle(bool expanded) { |
| 768 gfx::ImageSkia icon = gfx::CreateVectorIcon( | 768 gfx::ImageSkia icon = gfx::CreateVectorIcon( |
| 769 expanded ? gfx::VectorIconId::FIND_PREV : gfx::VectorIconId::FIND_NEXT, | 769 expanded ? gfx::VectorIconId::FIND_PREV : gfx::VectorIconId::FIND_NEXT, |
| 770 16, gfx::kChromeIconGrey); | 770 gfx::kChromeIconGrey); |
| 771 arrow_toggle_->SetImage(views::Button::STATE_NORMAL, &icon); | 771 arrow_toggle_->SetImage(views::Button::STATE_NORMAL, &icon); |
| 772 } | 772 } |
| 773 | 773 |
| 774 // static | 774 // static |
| 775 ExtensionInstallPrompt::ShowDialogCallback | 775 ExtensionInstallPrompt::ShowDialogCallback |
| 776 ExtensionInstallPrompt::GetDefaultShowDialogCallback() { | 776 ExtensionInstallPrompt::GetDefaultShowDialogCallback() { |
| 777 return base::Bind(&ShowExtensionInstallDialogImpl); | 777 return base::Bind(&ShowExtensionInstallDialogImpl); |
| 778 } | 778 } |
| OLD | NEW |