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

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

Issue 10828175: Removes some code that is currently not necessary and causes problems (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/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
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 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698