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

Side by Side Diff: chrome/browser/ui/views/autofill/info_bubble.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/info_bubble.h" 5 #include "chrome/browser/ui/views/autofill/info_bubble.h"
6 6
7 #include "base/i18n/rtl.h" 7 #include "base/i18n/rtl.h"
8 #include "ui/gfx/point.h" 8 #include "ui/gfx/geometry/point.h"
9 #include "ui/gfx/rect.h" 9 #include "ui/gfx/rect.h"
10 #include "ui/gfx/size.h" 10 #include "ui/gfx/size.h"
11 #include "ui/gfx/text_constants.h" 11 #include "ui/gfx/text_constants.h"
12 #include "ui/views/bubble/bubble_border.h" 12 #include "ui/views/bubble/bubble_border.h"
13 #include "ui/views/bubble/bubble_frame_view.h" 13 #include "ui/views/bubble/bubble_frame_view.h"
14 #include "ui/views/controls/combobox/combobox.h" 14 #include "ui/views/controls/combobox/combobox.h"
15 #include "ui/views/controls/label.h" 15 #include "ui/views/controls/label.h"
16 #include "ui/views/layout/fill_layout.h" 16 #include "ui/views/layout/fill_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"
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 } 140 }
141 141
142 void InfoBubble::OnWidgetBoundsChanged(views::Widget* widget, 142 void InfoBubble::OnWidgetBoundsChanged(views::Widget* widget,
143 const gfx::Rect& new_bounds) { 143 const gfx::Rect& new_bounds) {
144 views::BubbleDelegateView::OnWidgetBoundsChanged(widget, new_bounds); 144 views::BubbleDelegateView::OnWidgetBoundsChanged(widget, new_bounds);
145 if (anchor_widget() == widget) 145 if (anchor_widget() == widget)
146 frame_->set_available_bounds(widget->GetWindowBoundsInScreen()); 146 frame_->set_available_bounds(widget->GetWindowBoundsInScreen());
147 } 147 }
148 148
149 } // namespace autofill 149 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698