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 #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 <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 531 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
542 // the hostname. As the show animation runs, the current inset gradually | 542 // the hostname. As the show animation runs, the current inset gradually |
543 // moves to 0. | 543 // moves to 0. |
544 int starting_omnibox_leading_inset_; | 544 int starting_omnibox_leading_inset_; |
545 int current_omnibox_leading_inset_; | 545 int current_omnibox_leading_inset_; |
546 // The width is always positive. The ending width is the width of the entire | 546 // The width is always positive. The ending width is the width of the entire |
547 // omnibox URL. As the show animation runs, the current width gradually moves | 547 // omnibox URL. As the show animation runs, the current width gradually moves |
548 // from the width of the hostname to the ending value. | 548 // from the width of the hostname to the ending value. |
549 int current_omnibox_width_; | 549 int current_omnibox_width_; |
550 int ending_omnibox_width_; | 550 int ending_omnibox_width_; |
551 | 551 |
| 552 // This is a debug state variable that stores if the WebContents was null |
| 553 // during the last RefreshPageAction. |
| 554 bool web_contents_null_at_last_refresh_; |
| 555 |
552 DISALLOW_COPY_AND_ASSIGN(LocationBarView); | 556 DISALLOW_COPY_AND_ASSIGN(LocationBarView); |
553 }; | 557 }; |
554 | 558 |
555 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ | 559 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ |
OLD | NEW |