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

Side by Side Diff: chrome/browser/ui/views/autofill/generated_credit_card_bubble_views.cc

Issue 392013005: [#1] Delete reduntdant 19 header files in ui/gfx (8 of 19 by this) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sorted includes Created 6 years, 5 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/ui/views/autofill/generated_credit_card_bubble_views.h" 5 #include "chrome/browser/ui/views/autofill/generated_credit_card_bubble_views.h"
6 6
7 #include "chrome/browser/ui/autofill/generated_credit_card_bubble_controller.h" 7 #include "chrome/browser/ui/autofill/generated_credit_card_bubble_controller.h"
8 #include "chrome/browser/ui/browser_finder.h" 8 #include "chrome/browser/ui/browser_finder.h"
9 #include "chrome/browser/ui/views/frame/browser_view.h" 9 #include "chrome/browser/ui/views/frame/browser_view.h"
10 #include "chrome/browser/ui/views/location_bar/location_bar_view.h" 10 #include "chrome/browser/ui/views/location_bar/location_bar_view.h"
11 #include "ui/gfx/font.h" 11 #include "ui/gfx/font.h"
12 #include "ui/gfx/insets.h" 12 #include "ui/gfx/geometry/insets.h"
13 #include "ui/gfx/size.h" 13 #include "ui/gfx/size.h"
14 #include "ui/views/bubble/bubble_frame_view.h" 14 #include "ui/views/bubble/bubble_frame_view.h"
15 #include "ui/views/controls/styled_label.h" 15 #include "ui/views/controls/styled_label.h"
16 #include "ui/views/layout/box_layout.h" 16 #include "ui/views/layout/box_layout.h"
17 #include "ui/views/layout/layout_constants.h" 17 #include "ui/views/layout/layout_constants.h"
18 #include "ui/views/widget/widget.h" 18 #include "ui/views/widget/widget.h"
19 19
20 namespace autofill { 20 namespace autofill {
21 21
22 namespace { 22 namespace {
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 GeneratedCreditCardBubbleViews::GeneratedCreditCardBubbleViews( 98 GeneratedCreditCardBubbleViews::GeneratedCreditCardBubbleViews(
99 const base::WeakPtr<GeneratedCreditCardBubbleController>& controller) 99 const base::WeakPtr<GeneratedCreditCardBubbleController>& controller)
100 : BubbleDelegateView(GetAnchor(controller), views::BubbleBorder::TOP_RIGHT), 100 : BubbleDelegateView(GetAnchor(controller), views::BubbleBorder::TOP_RIGHT),
101 controller_(controller), 101 controller_(controller),
102 weak_ptr_factory_(this) { 102 weak_ptr_factory_(this) {
103 gfx::Insets insets = views::BubbleFrameView::GetTitleInsets(); 103 gfx::Insets insets = views::BubbleFrameView::GetTitleInsets();
104 set_margins(gfx::Insets(0, insets.left(), insets.top(), insets.left())); 104 set_margins(gfx::Insets(0, insets.left(), insets.top(), insets.left()));
105 } 105 }
106 106
107 } // namespace autofill 107 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698