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

Side by Side Diff: chrome/browser/views/options/advanced_page_view.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
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/options/advanced_page_view.h" 5 #include "chrome/browser/views/options/advanced_page_view.h"
6 6
7 #include "app/l10n_util.h" 7 #include "app/l10n_util.h"
8 #include "app/message_box_flags.h" 8 #include "app/message_box_flags.h"
9 #include "base/string_util.h" 9 #include "base/string_util.h"
10 #include "base/values.h" 10 #include "base/values.h"
11 #include "chrome/browser/browser_process.h" 11 #include "chrome/browser/browser_process.h"
12 #include "chrome/browser/views/options/advanced_contents_view.h" 12 #include "chrome/browser/views/options/advanced_contents_view.h"
13 #include "chrome/browser/views/standard_layout.h"
14 #include "chrome/common/chrome_constants.h" 13 #include "chrome/common/chrome_constants.h"
15 #include "chrome/common/pref_names.h" 14 #include "chrome/common/pref_names.h"
16 #include "chrome/common/pref_service.h" 15 #include "chrome/common/pref_service.h"
17 #include "grit/chromium_strings.h" 16 #include "grit/chromium_strings.h"
18 #include "grit/generated_resources.h" 17 #include "grit/generated_resources.h"
19 #include "grit/locale_settings.h" 18 #include "grit/locale_settings.h"
20 #include "views/controls/message_box_view.h" 19 #include "views/controls/message_box_view.h"
21 #include "views/controls/button/native_button.h" 20 #include "views/controls/button/native_button.h"
22 #include "views/controls/scroll_view.h" 21 #include "views/controls/scroll_view.h"
23 #include "views/grid_layout.h" 22 #include "views/grid_layout.h"
23 #include "views/standard_layout.h"
24 #include "views/window/dialog_delegate.h" 24 #include "views/window/dialog_delegate.h"
25 #include "views/window/window.h" 25 #include "views/window/window.h"
26 26
27 namespace { 27 namespace {
28 28
29 // A dialog box that asks the user to confirm resetting settings. 29 // A dialog box that asks the user to confirm resetting settings.
30 class ResetDefaultsConfirmBox : public views::DialogDelegate { 30 class ResetDefaultsConfirmBox : public views::DialogDelegate {
31 public: 31 public:
32 // This box is modal to |parent_hwnd|. 32 // This box is modal to |parent_hwnd|.
33 static void ShowConfirmBox(HWND parent_hwnd, AdvancedPageView* page_view) { 33 static void ShowConfirmBox(HWND parent_hwnd, AdvancedPageView* page_view) {
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 column_set->AddColumn(GridLayout::FILL, GridLayout::FILL, 1, 180 column_set->AddColumn(GridLayout::FILL, GridLayout::FILL, 1,
181 GridLayout::USE_PREF, 0, 0); 181 GridLayout::USE_PREF, 0, 0);
182 layout->StartRow(1, single_column_view_set_id); 182 layout->StartRow(1, single_column_view_set_id);
183 layout->AddView(advanced_scroll_view_); 183 layout->AddView(advanced_scroll_view_);
184 layout->AddPaddingRow(0, kRelatedControlVerticalSpacing); 184 layout->AddPaddingRow(0, kRelatedControlVerticalSpacing);
185 185
186 layout->StartRow(0, single_column_view_set_id); 186 layout->StartRow(0, single_column_view_set_id);
187 layout->AddView(reset_to_default_button_, 1, 1, 187 layout->AddView(reset_to_default_button_, 1, 1,
188 GridLayout::TRAILING, GridLayout::CENTER); 188 GridLayout::TRAILING, GridLayout::CENTER);
189 } 189 }
OLDNEW
« no previous file with comments | « chrome/browser/views/options/advanced_contents_view.cc ('k') | chrome/browser/views/options/content_page_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698