Revert of Add button to add new FSP services to Files app. (patchset #8 id:140001...
[chromium-blink-merge.git] / chrome / browser / ui / confirm_bubble_model.cc
blobb9f52bbf80830bef9b89fc0f06d81d4887dd1082
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
3 // found in the LICENSE file.
5 #include "chrome/browser/ui/confirm_bubble_model.h"
7 #include "base/logging.h"
8 #include "chrome/grit/generated_resources.h"
9 #include "ui/base/l10n/l10n_util.h"
11 ConfirmBubbleModel::ConfirmBubbleModel() {
14 ConfirmBubbleModel::~ConfirmBubbleModel() {
17 int ConfirmBubbleModel::GetButtons() const {
18 return BUTTON_OK | BUTTON_CANCEL;
21 base::string16 ConfirmBubbleModel::GetButtonLabel(BubbleButton button) const {
22 return l10n_util::GetStringUTF16((button == BUTTON_OK) ? IDS_OK : IDS_CANCEL);
25 void ConfirmBubbleModel::Accept() {
28 void ConfirmBubbleModel::Cancel() {
31 base::string16 ConfirmBubbleModel::GetLinkText() const {
32 return base::string16();
35 void ConfirmBubbleModel::LinkClicked() {