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

Side by Side Diff: chrome/browser/views/importer_lock_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
« no previous file with comments | « chrome/browser/views/hung_renderer_view.cc ('k') | chrome/browser/views/importer_view.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/importer_lock_view.h" 5 #include "chrome/browser/views/importer_lock_view.h"
6 6
7 #include "app/l10n_util.h" 7 #include "app/l10n_util.h"
8 #include "chrome/browser/importer/importer.h" 8 #include "chrome/browser/importer/importer.h"
9 #include "chrome/browser/views/standard_layout.h"
10 #include "grit/chromium_strings.h" 9 #include "grit/chromium_strings.h"
11 #include "grit/generated_resources.h" 10 #include "grit/generated_resources.h"
12 #include "grit/locale_settings.h" 11 #include "grit/locale_settings.h"
13 #include "views/controls/label.h" 12 #include "views/controls/label.h"
13 #include "views/standard_layout.h"
14 #include "views/window/window.h" 14 #include "views/window/window.h"
15 15
16 using views::ColumnSet; 16 using views::ColumnSet;
17 using views::GridLayout; 17 using views::GridLayout;
18 18
19 // Default size of the dialog window. 19 // Default size of the dialog window.
20 static const int kDefaultWindowWidth = 320; 20 static const int kDefaultWindowWidth = 320;
21 static const int kDefaultWindowHeight = 100; 21 static const int kDefaultWindowHeight = 100;
22 22
23 ImporterLockView::ImporterLockView(ImporterHost* host) 23 ImporterLockView::ImporterLockView(ImporterHost* host)
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 71
72 bool ImporterLockView::Cancel() { 72 bool ImporterLockView::Cancel() {
73 MessageLoop::current()->PostTask(FROM_HERE, NewRunnableMethod( 73 MessageLoop::current()->PostTask(FROM_HERE, NewRunnableMethod(
74 importer_host_, &ImporterHost::OnLockViewEnd, false)); 74 importer_host_, &ImporterHost::OnLockViewEnd, false));
75 return true; 75 return true;
76 } 76 }
77 77
78 views::View* ImporterLockView::GetContentsView() { 78 views::View* ImporterLockView::GetContentsView() {
79 return this; 79 return this;
80 } 80 }
OLDNEW
« no previous file with comments | « chrome/browser/views/hung_renderer_view.cc ('k') | chrome/browser/views/importer_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698