| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_VIEW_H__ | 5 #ifndef CHROME_BROWSER_VIEWS_LOCATION_BAR_VIEW_H__ |
| 6 #define CHROME_BROWSER_VIEWS_LOCATION_BAR_VIEW_H__ | 6 #define CHROME_BROWSER_VIEWS_LOCATION_BAR_VIEW_H__ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/gfx/rect.h" | 10 #include "base/gfx/rect.h" |
| (...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 261 | 261 |
| 262 // The lock icon shown when using HTTPS. | 262 // The lock icon shown when using HTTPS. |
| 263 static SkBitmap* lock_icon_; | 263 static SkBitmap* lock_icon_; |
| 264 | 264 |
| 265 // The warning icon shown when HTTPS is broken. | 265 // The warning icon shown when HTTPS is broken. |
| 266 static SkBitmap* warning_icon_; | 266 static SkBitmap* warning_icon_; |
| 267 | 267 |
| 268 // The currently shown info bubble if any. | 268 // The currently shown info bubble if any. |
| 269 InfoBubble* info_bubble_; | 269 InfoBubble* info_bubble_; |
| 270 | 270 |
| 271 // A task used to display the info bubble when the mouse hovers on the image
. | 271 // A task used to display the info bubble when the mouse hovers on the |
| 272 // image. |
| 272 ShowInfoBubbleTask* show_info_bubble_task_; | 273 ShowInfoBubbleTask* show_info_bubble_task_; |
| 273 | 274 |
| 274 Profile* profile_; | 275 Profile* profile_; |
| 275 | 276 |
| 276 ToolbarModel* model_; | 277 ToolbarModel* model_; |
| 277 | 278 |
| 278 DISALLOW_EVIL_CONSTRUCTORS(SecurityImageView); | 279 DISALLOW_EVIL_CONSTRUCTORS(SecurityImageView); |
| 279 }; | 280 }; |
| 280 | 281 |
| 281 // Both Layout and OnChanged call into this. This updates the contents | 282 // Both Layout and OnChanged call into this. This updates the contents |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 386 // When true, the location bar view is read only and also is has a slightly | 387 // When true, the location bar view is read only and also is has a slightly |
| 387 // different presentation (font size / color). This is used for popups. | 388 // different presentation (font size / color). This is used for popups. |
| 388 bool popup_window_mode_; | 389 bool popup_window_mode_; |
| 389 | 390 |
| 390 // Used schedule a task for the first run info bubble. | 391 // Used schedule a task for the first run info bubble. |
| 391 ScopedRunnableMethodFactory<LocationBarView> first_run_bubble_; | 392 ScopedRunnableMethodFactory<LocationBarView> first_run_bubble_; |
| 392 }; | 393 }; |
| 393 | 394 |
| 394 #endif // CHROME_BROWSER_VIEWS_LOCATION_BAR_VIEW_H__ | 395 #endif // CHROME_BROWSER_VIEWS_LOCATION_BAR_VIEW_H__ |
| 395 | 396 |
| OLD | NEW |