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

Side by Side Diff: chrome/browser/ui/views/location_bar/location_bar_view.h

Issue 2389073004: Restore correct size for omnibox search icon. (Closed)
Patch Set: . Created 4 years, 2 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 #ifndef CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_
6 #define CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ 6 #define CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <string> 10 #include <string>
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 106
107 enum ColorKind { 107 enum ColorKind {
108 BACKGROUND = 0, 108 BACKGROUND = 0,
109 TEXT, 109 TEXT,
110 SELECTED_TEXT, 110 SELECTED_TEXT,
111 DEEMPHASIZED_TEXT, 111 DEEMPHASIZED_TEXT,
112 SECURITY_CHIP_TEXT, 112 SECURITY_CHIP_TEXT,
113 }; 113 };
114 114
115 // Width (and height) of icons in location bar. 115 // Width (and height) of icons in location bar.
116 static constexpr int kLocationBarIconWidth = 16; 116 static constexpr int kIconWidth = 16;
117 117
118 // The location bar view's class name. 118 // The location bar view's class name.
119 static const char kViewClassName[]; 119 static const char kViewClassName[];
120 120
121 LocationBarView(Browser* browser, 121 LocationBarView(Browser* browser,
122 Profile* profile, 122 Profile* profile,
123 CommandUpdater* command_updater, 123 CommandUpdater* command_updater,
124 Delegate* delegate, 124 Delegate* delegate,
125 bool is_popup_mode); 125 bool is_popup_mode);
126 126
(...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after
478 bool web_contents_null_at_last_refresh_; 478 bool web_contents_null_at_last_refresh_;
479 479
480 // These allow toggling the verbose security state behavior via flags. 480 // These allow toggling the verbose security state behavior via flags.
481 bool should_show_secure_state_; 481 bool should_show_secure_state_;
482 bool should_animate_secure_state_; 482 bool should_animate_secure_state_;
483 483
484 DISALLOW_COPY_AND_ASSIGN(LocationBarView); 484 DISALLOW_COPY_AND_ASSIGN(LocationBarView);
485 }; 485 };
486 486
487 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ 487 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/location_bar/bubble_icon_view.cc ('k') | chrome/browser/ui/views/location_bar/location_bar_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698