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

Side by Side Diff: chrome/browser/ui/confirm_bubble_model.cc

Issue 498773003: Use a qualified path for chromium_strings, google_chrome_strings, and generated_resources. (part 2 … (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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/confirm_bubble_model.h" 5 #include "chrome/browser/ui/confirm_bubble_model.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "grit/generated_resources.h" 8 #include "chrome/grit/generated_resources.h"
9 #include "ui/base/l10n/l10n_util.h" 9 #include "ui/base/l10n/l10n_util.h"
10 10
11 ConfirmBubbleModel::ConfirmBubbleModel() { 11 ConfirmBubbleModel::ConfirmBubbleModel() {
12 } 12 }
13 13
14 ConfirmBubbleModel::~ConfirmBubbleModel() { 14 ConfirmBubbleModel::~ConfirmBubbleModel() {
15 } 15 }
16 16
17 int ConfirmBubbleModel::GetButtons() const { 17 int ConfirmBubbleModel::GetButtons() const {
18 return BUTTON_OK | BUTTON_CANCEL; 18 return BUTTON_OK | BUTTON_CANCEL;
19 } 19 }
20 20
21 base::string16 ConfirmBubbleModel::GetButtonLabel(BubbleButton button) const { 21 base::string16 ConfirmBubbleModel::GetButtonLabel(BubbleButton button) const {
22 return l10n_util::GetStringUTF16((button == BUTTON_OK) ? IDS_OK : IDS_CANCEL); 22 return l10n_util::GetStringUTF16((button == BUTTON_OK) ? IDS_OK : IDS_CANCEL);
23 } 23 }
24 24
25 void ConfirmBubbleModel::Accept() { 25 void ConfirmBubbleModel::Accept() {
26 } 26 }
27 27
28 void ConfirmBubbleModel::Cancel() { 28 void ConfirmBubbleModel::Cancel() {
29 } 29 }
30 30
31 base::string16 ConfirmBubbleModel::GetLinkText() const { 31 base::string16 ConfirmBubbleModel::GetLinkText() const {
32 return base::string16(); 32 return base::string16();
33 } 33 }
34 34
35 void ConfirmBubbleModel::LinkClicked() { 35 void ConfirmBubbleModel::LinkClicked() {
36 } 36 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698