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

Side by Side Diff: chrome/browser/views/frame/browser_view.cc

Issue 224001: Fix views build. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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/views/frame/browser_view.h" 5 #include "chrome/browser/views/frame/browser_view.h"
6 6
7 #include "app/drag_drop_types.h" 7 #include "app/drag_drop_types.h"
8 #include "app/gfx/canvas.h" 8 #include "app/gfx/canvas.h"
9 #include "app/l10n_util.h" 9 #include "app/l10n_util.h"
10 #include "app/os_exchange_data.h" 10 #include "app/os_exchange_data.h"
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 explanation_text = 266 explanation_text =
267 l10n_util::GetStringF(IDS_SINGLE_DOWNLOAD_REMOVE_CONFIRM_EXPLANATION, 267 l10n_util::GetStringF(IDS_SINGLE_DOWNLOAD_REMOVE_CONFIRM_EXPLANATION,
268 product_name_); 268 product_name_);
269 ok_button_text_ = l10n_util::GetString( 269 ok_button_text_ = l10n_util::GetString(
270 IDS_SINGLE_DOWNLOAD_REMOVE_CONFIRM_OK_BUTTON_LABEL); 270 IDS_SINGLE_DOWNLOAD_REMOVE_CONFIRM_OK_BUTTON_LABEL);
271 cancel_button_text_ = l10n_util::GetString( 271 cancel_button_text_ = l10n_util::GetString(
272 IDS_SINGLE_DOWNLOAD_REMOVE_CONFIRM_CANCEL_BUTTON_LABEL); 272 IDS_SINGLE_DOWNLOAD_REMOVE_CONFIRM_CANCEL_BUTTON_LABEL);
273 } else { 273 } else {
274 warning_text = 274 warning_text =
275 l10n_util::GetStringF(IDS_MULTIPLE_DOWNLOADS_REMOVE_CONFIRM_WARNING, 275 l10n_util::GetStringF(IDS_MULTIPLE_DOWNLOADS_REMOVE_CONFIRM_WARNING,
276 product_name_, IntToString16(download_count)); 276 product_name_, IntToWString(download_count));
277 explanation_text = 277 explanation_text =
278 l10n_util::GetStringF( 278 l10n_util::GetStringF(
279 IDS_MULTIPLE_DOWNLOADS_REMOVE_CONFIRM_EXPLANATION, product_name_); 279 IDS_MULTIPLE_DOWNLOADS_REMOVE_CONFIRM_EXPLANATION, product_name_);
280 ok_button_text_ = l10n_util::GetString( 280 ok_button_text_ = l10n_util::GetString(
281 IDS_MULTIPLE_DOWNLOADS_REMOVE_CONFIRM_OK_BUTTON_LABEL); 281 IDS_MULTIPLE_DOWNLOADS_REMOVE_CONFIRM_OK_BUTTON_LABEL);
282 cancel_button_text_ = l10n_util::GetString( 282 cancel_button_text_ = l10n_util::GetString(
283 IDS_MULTIPLE_DOWNLOADS_REMOVE_CONFIRM_CANCEL_BUTTON_LABEL); 283 IDS_MULTIPLE_DOWNLOADS_REMOVE_CONFIRM_CANCEL_BUTTON_LABEL);
284 } 284 }
285 285
286 // There are two lines of text: the bold warning label and the text 286 // There are two lines of text: the bold warning label and the text
(...skipping 1881 matching lines...) Expand 10 before | Expand all | Expand 10 after
2168 2168
2169 // static 2169 // static
2170 FindBar* BrowserWindow::CreateFindBar(Browser* browser) { 2170 FindBar* BrowserWindow::CreateFindBar(Browser* browser) {
2171 return browser::CreateFindBar(static_cast<BrowserView*>(browser->window())); 2171 return browser::CreateFindBar(static_cast<BrowserView*>(browser->window()));
2172 } 2172 }
2173 2173
2174 // static 2174 // static
2175 void BrowserList::AllBrowsersClosed() { 2175 void BrowserList::AllBrowsersClosed() {
2176 views::Window::CloseAllSecondaryWindows(); 2176 views::Window::CloseAllSecondaryWindows();
2177 } 2177 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698