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

Side by Side Diff: chrome/browser/views/shelf_item_dialog.cc

Issue 24011: chrome_resources take 2 (Closed)
Patch Set: rebase Created 11 years, 10 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
« no previous file with comments | « chrome/browser/views/sad_tab_view.cc ('k') | chrome/browser/views/star_toggle.cc » ('j') | 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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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/shelf_item_dialog.h" 5 #include "chrome/browser/views/shelf_item_dialog.h"
6 6
7 #include "base/gfx/png_decoder.h" 7 #include "base/gfx/png_decoder.h"
8 #include "base/string_util.h" 8 #include "base/string_util.h"
9 #include "chrome/app/locales/locale_settings.h" 9 #include "chrome/app/locales/locale_settings.h"
10 #include "chrome/app/theme/theme_resources.h" 10 #include "grit/theme_resources.h"
11 #include "chrome/browser/net/url_fixer_upper.h" 11 #include "chrome/browser/net/url_fixer_upper.h"
12 #include "chrome/browser/profile.h" 12 #include "chrome/browser/profile.h"
13 #include "chrome/browser/tab_contents/tab_contents.h" 13 #include "chrome/browser/tab_contents/tab_contents.h"
14 #include "chrome/browser/views/standard_layout.h" 14 #include "chrome/browser/views/standard_layout.h"
15 #include "chrome/common/gfx/text_elider.h" 15 #include "chrome/common/gfx/text_elider.h"
16 #include "chrome/common/l10n_util.h" 16 #include "chrome/common/l10n_util.h"
17 #include "chrome/common/pref_names.h" 17 #include "chrome/common/pref_names.h"
18 #include "chrome/common/pref_service.h" 18 #include "chrome/common/pref_service.h"
19 #include "chrome/common/resource_bundle.h" 19 #include "chrome/common/resource_bundle.h"
20 #include "chrome/common/stl_util-inl.h" 20 #include "chrome/common/stl_util-inl.h"
(...skipping 488 matching lines...) Expand 10 before | Expand all | Expand 10 after
509 PerformModelChange(); 509 PerformModelChange();
510 if (window()) 510 if (window())
511 window()->Close(); 511 window()->Close();
512 } 512 }
513 } 513 }
514 514
515 GURL ShelfItemDialog::GetInputURL() const { 515 GURL ShelfItemDialog::GetInputURL() const {
516 return GURL(URLFixerUpper::FixupURL(url_field_->GetText(), L"")); 516 return GURL(URLFixerUpper::FixupURL(url_field_->GetText(), L""));
517 } 517 }
518 518
OLDNEW
« no previous file with comments | « chrome/browser/views/sad_tab_view.cc ('k') | chrome/browser/views/star_toggle.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698