| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ | 5 #ifndef CHROME_BROWSER_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ |
| 6 #define CHROME_BROWSER_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ | 6 #define CHROME_BROWSER_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 224 | 224 |
| 225 // Overridden from TemplateURLModelObserver | 225 // Overridden from TemplateURLModelObserver |
| 226 virtual void OnTemplateURLModelChanged(); | 226 virtual void OnTemplateURLModelChanged(); |
| 227 | 227 |
| 228 // Thickness of the left and right edges of the omnibox, in normal mode. | 228 // Thickness of the left and right edges of the omnibox, in normal mode. |
| 229 static const int kNormalHorizontalEdgeThickness; | 229 static const int kNormalHorizontalEdgeThickness; |
| 230 // Thickness of the top and bottom edges of the omnibox. | 230 // Thickness of the top and bottom edges of the omnibox. |
| 231 static const int kVerticalEdgeThickness; | 231 static const int kVerticalEdgeThickness; |
| 232 // Space between items in the location bar. | 232 // Space between items in the location bar. |
| 233 static const int kItemPadding; | 233 static const int kItemPadding; |
| 234 // Space between items in the location bar when an extension keyword is |
| 235 // showing. |
| 236 static const int kExtensionItemPadding; |
| 234 // Space between the edges and the items next to them. | 237 // Space between the edges and the items next to them. |
| 235 static const int kEdgeItemPadding; | 238 static const int kEdgeItemPadding; |
| 236 // Space between the edge and a bubble. | 239 // Space between the edge and a bubble. |
| 237 static const int kBubblePadding; | 240 static const int kBubblePadding; |
| 238 | 241 |
| 239 protected: | 242 protected: |
| 240 void Focus(); | 243 void Focus(); |
| 241 | 244 |
| 242 private: | 245 private: |
| 243 typedef std::vector<ContentSettingImageView*> ContentSettingViews; | 246 typedef std::vector<ContentSettingImageView*> ContentSettingViews; |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 365 TemplateURLModel* template_url_model_; | 368 TemplateURLModel* template_url_model_; |
| 366 | 369 |
| 367 #if defined(OS_LINUX) | 370 #if defined(OS_LINUX) |
| 368 scoped_ptr<AccessibleWidgetHelper> accessible_widget_helper_; | 371 scoped_ptr<AccessibleWidgetHelper> accessible_widget_helper_; |
| 369 #endif | 372 #endif |
| 370 | 373 |
| 371 DISALLOW_IMPLICIT_CONSTRUCTORS(LocationBarView); | 374 DISALLOW_IMPLICIT_CONSTRUCTORS(LocationBarView); |
| 372 }; | 375 }; |
| 373 | 376 |
| 374 #endif // CHROME_BROWSER_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ | 377 #endif // CHROME_BROWSER_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ |
| OLD | NEW |