OLD | NEW |
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/location_bar_container.h" | 5 #include "chrome/browser/ui/views/location_bar/location_bar_container.h" |
6 | 6 |
7 #include "chrome/browser/ui/views/location_bar/location_bar_view.h" | 7 #include "chrome/browser/ui/views/location_bar/location_bar_view.h" |
8 #include "chrome/browser/ui/omnibox/omnibox_view.h" | 8 #include "chrome/browser/ui/omnibox/omnibox_view.h" |
9 #include "ui/gfx/color_utils.h" | 9 #include "ui/gfx/color_utils.h" |
10 #include "ui/views/controls/native/native_view_host.h" | 10 #include "ui/views/controls/native/native_view_host.h" |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 widget->ShowInactive(); // Do not allow this widget to gain focus. | 47 widget->ShowInactive(); // Do not allow this widget to gain focus. |
48 */ | 48 */ |
49 } | 49 } |
50 | 50 |
51 // static | 51 // static |
52 SkColor LocationBarContainer::GetBackgroundColor() { | 52 SkColor LocationBarContainer::GetBackgroundColor() { |
53 return color_utils::GetSysSkColor(COLOR_WINDOW); | 53 return color_utils::GetSysSkColor(COLOR_WINDOW); |
54 } | 54 } |
55 | 55 |
56 void LocationBarContainer::StackAtTop() { | 56 void LocationBarContainer::StackAtTop() { |
| 57 // TODO: reenable when PlatformInit() code is reenabled. |
| 58 /* |
57 view_parent_->GetWidget()->StackAtTop(); | 59 view_parent_->GetWidget()->StackAtTop(); |
| 60 */ |
58 } | 61 } |
OLD | NEW |