| 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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 protected: | 114 protected: |
| 115 virtual ~Delegate() {} | 115 virtual ~Delegate() {} |
| 116 }; | 116 }; |
| 117 | 117 |
| 118 enum ColorKind { | 118 enum ColorKind { |
| 119 BACKGROUND = 0, | 119 BACKGROUND = 0, |
| 120 TEXT, | 120 TEXT, |
| 121 SELECTED_TEXT, | 121 SELECTED_TEXT, |
| 122 DEEMPHASIZED_TEXT, | 122 DEEMPHASIZED_TEXT, |
| 123 SECURITY_TEXT, | 123 SECURITY_TEXT, |
| 124 KEYWORD_SEARCH_TEXT, |
| 124 }; | 125 }; |
| 125 | 126 |
| 126 LocationBarView(Browser* browser, | 127 LocationBarView(Browser* browser, |
| 127 Profile* profile, | 128 Profile* profile, |
| 128 CommandUpdater* command_updater, | 129 CommandUpdater* command_updater, |
| 129 Delegate* delegate, | 130 Delegate* delegate, |
| 130 bool is_popup_mode); | 131 bool is_popup_mode); |
| 131 | 132 |
| 132 ~LocationBarView() override; | 133 ~LocationBarView() override; |
| 133 | 134 |
| (...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 482 int dropdown_animation_offset_; | 483 int dropdown_animation_offset_; |
| 483 | 484 |
| 484 // This is a debug state variable that stores if the WebContents was null | 485 // This is a debug state variable that stores if the WebContents was null |
| 485 // during the last RefreshPageAction. | 486 // during the last RefreshPageAction. |
| 486 bool web_contents_null_at_last_refresh_; | 487 bool web_contents_null_at_last_refresh_; |
| 487 | 488 |
| 488 DISALLOW_COPY_AND_ASSIGN(LocationBarView); | 489 DISALLOW_COPY_AND_ASSIGN(LocationBarView); |
| 489 }; | 490 }; |
| 490 | 491 |
| 491 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ | 492 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ |
| OLD | NEW |