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

Side by Side Diff: chrome/browser/ui/views/location_bar/zoom_bubble_view.cc

Issue 2902873002: Views/Harmony Remove references to ui/views/layout/layout_constants.h (Closed)
Patch Set: Fix patch failures. Created 3 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/location_bar/zoom_bubble_view.h" 5 #include "chrome/browser/ui/views/location_bar/zoom_bubble_view.h"
6 6
7 #include <cmath> 7 #include <cmath>
8 8
9 #include "base/auto_reset.h" 9 #include "base/auto_reset.h"
10 #include "base/i18n/number_formatting.h" 10 #include "base/i18n/number_formatting.h"
(...skipping 26 matching lines...) Expand all
37 #include "ui/gfx/favicon_size.h" 37 #include "ui/gfx/favicon_size.h"
38 #include "ui/gfx/text_utils.h" 38 #include "ui/gfx/text_utils.h"
39 #include "ui/gfx/vector_icon_types.h" 39 #include "ui/gfx/vector_icon_types.h"
40 #include "ui/native_theme/native_theme.h" 40 #include "ui/native_theme/native_theme.h"
41 #include "ui/views/controls/button/image_button.h" 41 #include "ui/views/controls/button/image_button.h"
42 #include "ui/views/controls/button/image_button_factory.h" 42 #include "ui/views/controls/button/image_button_factory.h"
43 #include "ui/views/controls/button/md_text_button.h" 43 #include "ui/views/controls/button/md_text_button.h"
44 #include "ui/views/controls/separator.h" 44 #include "ui/views/controls/separator.h"
45 #include "ui/views/layout/box_layout.h" 45 #include "ui/views/layout/box_layout.h"
46 #include "ui/views/layout/fill_layout.h" 46 #include "ui/views/layout/fill_layout.h"
47 #include "ui/views/layout/layout_constants.h"
48 #include "ui/views/widget/widget.h" 47 #include "ui/views/widget/widget.h"
49 48
50 namespace { 49 namespace {
51 50
52 // The default time that the bubble should stay on the screen if it will close 51 // The default time that the bubble should stay on the screen if it will close
53 // automatically. 52 // automatically.
54 constexpr base::TimeDelta kBubbleCloseDelayDefault = 53 constexpr base::TimeDelta kBubbleCloseDelayDefault =
55 base::TimeDelta::FromMilliseconds(1500); 54 base::TimeDelta::FromMilliseconds(1500);
56 55
57 // A longer timeout used for how long the bubble should stay on the screen 56 // A longer timeout used for how long the bubble should stay on the screen
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after
438 &ZoomBubbleView::CloseBubble); 437 &ZoomBubbleView::CloseBubble);
439 } 438 }
440 439
441 void ZoomBubbleView::StopTimer() { 440 void ZoomBubbleView::StopTimer() {
442 timer_.Stop(); 441 timer_.Stop();
443 } 442 }
444 443
445 ZoomBubbleView::ZoomBubbleExtensionInfo::ZoomBubbleExtensionInfo() {} 444 ZoomBubbleView::ZoomBubbleExtensionInfo::ZoomBubbleExtensionInfo() {}
446 445
447 ZoomBubbleView::ZoomBubbleExtensionInfo::~ZoomBubbleExtensionInfo() {} 446 ZoomBubbleView::ZoomBubbleExtensionInfo::~ZoomBubbleExtensionInfo() {}
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698