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

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

Issue 113143: Move color_utils, text_elider, drag_utils, accessibility_types, standard_layo... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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 | « chrome/browser/views/select_profile_dialog.cc ('k') | chrome/browser/views/standard_layout.h » ('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 "app/gfx/text_elider.h"
7 #include "app/l10n_util.h" 8 #include "app/l10n_util.h"
8 #include "app/resource_bundle.h" 9 #include "app/resource_bundle.h"
9 #include "base/gfx/png_decoder.h" 10 #include "base/gfx/png_decoder.h"
10 #include "base/stl_util-inl.h" 11 #include "base/stl_util-inl.h"
11 #include "base/string_util.h" 12 #include "base/string_util.h"
12 #include "chrome/browser/net/url_fixer_upper.h" 13 #include "chrome/browser/net/url_fixer_upper.h"
13 #include "chrome/browser/profile.h" 14 #include "chrome/browser/profile.h"
14 #include "chrome/browser/tab_contents/tab_contents.h" 15 #include "chrome/browser/tab_contents/tab_contents.h"
15 #include "chrome/browser/views/standard_layout.h"
16 #include "chrome/common/gfx/text_elider.h"
17 #include "chrome/common/pref_names.h" 16 #include "chrome/common/pref_names.h"
18 #include "chrome/common/pref_service.h" 17 #include "chrome/common/pref_service.h"
19 #include "grit/generated_resources.h" 18 #include "grit/generated_resources.h"
20 #include "grit/locale_settings.h" 19 #include "grit/locale_settings.h"
21 #include "grit/theme_resources.h" 20 #include "grit/theme_resources.h"
22 #include "net/base/net_util.h" 21 #include "net/base/net_util.h"
23 #include "views/background.h" 22 #include "views/background.h"
24 #include "views/controls/label.h" 23 #include "views/controls/label.h"
25 #include "views/controls/text_field.h" 24 #include "views/controls/text_field.h"
26 #include "views/focus/focus_manager.h" 25 #include "views/focus/focus_manager.h"
27 #include "views/grid_layout.h" 26 #include "views/grid_layout.h"
27 #include "views/standard_layout.h"
28 #include "views/widget/widget.h" 28 #include "views/widget/widget.h"
29 29
30 using base::Time; 30 using base::Time;
31 using base::TimeDelta; 31 using base::TimeDelta;
32 using views::ColumnSet; 32 using views::ColumnSet;
33 using views::GridLayout; 33 using views::GridLayout;
34 34
35 // Preferred height of the table. 35 // Preferred height of the table.
36 static const int kTableWidth = 300; 36 static const int kTableWidth = 300;
37 37
(...skipping 470 matching lines...) Expand 10 before | Expand all | Expand 10 after
508 OnSelectionChanged(); 508 OnSelectionChanged();
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 }
OLDNEW
« no previous file with comments | « chrome/browser/views/select_profile_dialog.cc ('k') | chrome/browser/views/standard_layout.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698