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

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

Issue 1336993002: Straighten up includes of host_desktop.h/host_desktop_type.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@host_desktop_type
Patch Set: Build fixes for Windows and Mac Created 5 years, 3 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/new_credit_card_bubble_views.h" 5 #include "chrome/browser/ui/views/autofill/new_credit_card_bubble_views.h"
6 6
7 #include "base/i18n/rtl.h" 7 #include "base/i18n/rtl.h"
8 #include "chrome/browser/ui/autofill/new_credit_card_bubble_controller.h" 8 #include "chrome/browser/ui/autofill/new_credit_card_bubble_controller.h"
9 #include "chrome/browser/ui/browser_finder.h" 9 #include "chrome/browser/ui/browser_finder.h"
10 #include "chrome/browser/ui/host_desktop.h" 10 #include "chrome/browser/ui/host_desktop.h"
11 #include "chrome/browser/ui/views/frame/browser_view.h" 11 #include "chrome/browser/ui/views/frame/browser_view.h"
12 #include "chrome/browser/ui/views/toolbar/toolbar_view.h" 12 #include "chrome/browser/ui/views/toolbar/toolbar_view.h"
13 #include "chrome/browser/ui/views/toolbar/wrench_toolbar_button.h" 13 #include "chrome/browser/ui/views/toolbar/wrench_toolbar_button.h"
14 #include "ui/gfx/geometry/insets.h" 14 #include "ui/gfx/geometry/insets.h"
15 #include "ui/gfx/geometry/size.h" 15 #include "ui/gfx/geometry/size.h"
16 #include "ui/gfx/host_desktop_type.h"
16 #include "ui/views/bubble/bubble_frame_view.h" 17 #include "ui/views/bubble/bubble_frame_view.h"
17 #include "ui/views/controls/image_view.h" 18 #include "ui/views/controls/image_view.h"
18 #include "ui/views/controls/link.h" 19 #include "ui/views/controls/link.h"
19 #include "ui/views/layout/box_layout.h" 20 #include "ui/views/layout/box_layout.h"
20 #include "ui/views/layout/layout_constants.h" 21 #include "ui/views/layout/layout_constants.h"
21 #include "ui/views/view.h" 22 #include "ui/views/view.h"
22 #include "ui/views/widget/widget.h" 23 #include "ui/views/widget/widget.h"
23 24
24 namespace autofill { 25 namespace autofill {
25 26
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 NewCreditCardBubbleViews::NewCreditCardBubbleViews( 154 NewCreditCardBubbleViews::NewCreditCardBubbleViews(
154 NewCreditCardBubbleController* controller) 155 NewCreditCardBubbleController* controller)
155 : BubbleDelegateView(GetAnchor(controller), GetArrow(controller)), 156 : BubbleDelegateView(GetAnchor(controller), GetArrow(controller)),
156 controller_(controller), 157 controller_(controller),
157 weak_ptr_factory_(this) { 158 weak_ptr_factory_(this) {
158 gfx::Insets insets = views::BubbleFrameView::GetTitleInsets(); 159 gfx::Insets insets = views::BubbleFrameView::GetTitleInsets();
159 set_margins(gfx::Insets(0, insets.left(), insets.top(), insets.left())); 160 set_margins(gfx::Insets(0, insets.left(), insets.top(), insets.left()));
160 } 161 }
161 162
162 } // namespace autofill 163 } // namespace autofill
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/auto_keep_alive.cc ('k') | chrome/browser/ui/views/bookmarks/bookmark_bar_view_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698