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

Side by Side Diff: chrome/browser/ui/views/web_intent_picker_view.cc

Issue 8566052: views: Delete bubble, events, focus, layout directories and its stubbed files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win Created 9 years, 1 month 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 <algorithm> 5 #include <algorithm>
6 #include <vector> 6 #include <vector>
7 7
8 #include "chrome/browser/ui/browser.h" 8 #include "chrome/browser/ui/browser.h"
9 #include "chrome/browser/ui/intents/web_intent_picker.h"
9 #include "chrome/browser/ui/intents/web_intent_picker_delegate.h" 10 #include "chrome/browser/ui/intents/web_intent_picker_delegate.h"
10 #include "chrome/browser/ui/intents/web_intent_picker.h"
11 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h" 11 #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
12 #include "chrome/browser/ui/views/bubble/bubble.h" 12 #include "chrome/browser/ui/views/bubble/bubble.h"
13 #include "chrome/browser/ui/views/frame/browser_view.h" 13 #include "chrome/browser/ui/views/frame/browser_view.h"
14 #include "chrome/browser/ui/views/toolbar_view.h" 14 #include "chrome/browser/ui/views/toolbar_view.h"
15 #include "grit/generated_resources.h" 15 #include "grit/generated_resources.h"
16 #include "grit/theme_resources.h" 16 #include "grit/theme_resources.h"
17 #include "grit/theme_resources_standard.h" 17 #include "grit/theme_resources_standard.h"
18 #include "grit/ui_resources.h" 18 #include "grit/ui_resources.h"
19 #include "ui/base/l10n/l10n_util.h" 19 #include "ui/base/l10n/l10n_util.h"
20 #include "ui/base/resource/resource_bundle.h" 20 #include "ui/base/resource/resource_bundle.h"
21 #include "ui/gfx/canvas.h" 21 #include "ui/gfx/canvas.h"
22 #include "ui/gfx/canvas_skia.h" 22 #include "ui/gfx/canvas_skia.h"
23 #include "ui/gfx/image/image.h" 23 #include "ui/gfx/image/image.h"
24 #include "ui/views/layout/box_layout.h"
24 #include "views/controls/button/image_button.h" 25 #include "views/controls/button/image_button.h"
25 #include "views/controls/image_view.h" 26 #include "views/controls/image_view.h"
26 #include "views/controls/label.h" 27 #include "views/controls/label.h"
27 #include "views/layout/box_layout.h"
28 28
29 namespace { 29 namespace {
30 30
31 // The space in pixels between the top-level groups in the dialog. 31 // The space in pixels between the top-level groups in the dialog.
32 const int kContentAreaSpacing = 18; 32 const int kContentAreaSpacing = 18;
33 33
34 // The space in pixels between the top-level groups and the dialog border. 34 // The space in pixels between the top-level groups and the dialog border.
35 const int kContentAreaBorder = 12; 35 const int kContentAreaBorder = 12;
36 36
37 // The space in pixels between controls in a group. 37 // The space in pixels between controls in a group.
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 views::Label* bottom_label = new views::Label( 282 views::Label* bottom_label = new views::Label(
283 l10n_util::GetStringUTF16(IDS_FIND_MORE_INTENT_HANDLER_MESSAGE)); 283 l10n_util::GetStringUTF16(IDS_FIND_MORE_INTENT_HANDLER_MESSAGE));
284 bottom_label->SetMultiLine(true); 284 bottom_label->SetMultiLine(true);
285 bottom_label->SetHorizontalAlignment(views::Label::ALIGN_LEFT); 285 bottom_label->SetHorizontalAlignment(views::Label::ALIGN_LEFT);
286 bottom_label->SetFont( 286 bottom_label->SetFont(
287 bottom_label->font().DeriveFont(kWebStoreLabelFontDelta)); 287 bottom_label->font().DeriveFont(kWebStoreLabelFontDelta));
288 main_content->AddChildView(bottom_label); 288 main_content->AddChildView(bottom_label);
289 289
290 AddChildView(main_content); 290 AddChildView(main_content);
291 } 291 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/uninstall_view.cc ('k') | chrome/browser/ui/webui/chromeos/login/network_screen_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698