| 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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 protected: | 115 protected: |
| 116 virtual ~Delegate() {} | 116 virtual ~Delegate() {} |
| 117 }; | 117 }; |
| 118 | 118 |
| 119 enum ColorKind { | 119 enum ColorKind { |
| 120 BACKGROUND = 0, | 120 BACKGROUND = 0, |
| 121 TEXT, | 121 TEXT, |
| 122 SELECTED_TEXT, | 122 SELECTED_TEXT, |
| 123 DEEMPHASIZED_TEXT, | 123 DEEMPHASIZED_TEXT, |
| 124 SECURITY_TEXT, | 124 SECURITY_TEXT, |
| 125 KEYWORD_SEARCH_TEXT, | |
| 126 }; | 125 }; |
| 127 | 126 |
| 128 LocationBarView(Browser* browser, | 127 LocationBarView(Browser* browser, |
| 129 Profile* profile, | 128 Profile* profile, |
| 130 CommandUpdater* command_updater, | 129 CommandUpdater* command_updater, |
| 131 Delegate* delegate, | 130 Delegate* delegate, |
| 132 bool is_popup_mode); | 131 bool is_popup_mode); |
| 133 | 132 |
| 134 ~LocationBarView() override; | 133 ~LocationBarView() override; |
| 135 | 134 |
| (...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 496 int dropdown_animation_offset_; | 495 int dropdown_animation_offset_; |
| 497 | 496 |
| 498 // This is a debug state variable that stores if the WebContents was null | 497 // This is a debug state variable that stores if the WebContents was null |
| 499 // during the last RefreshPageAction. | 498 // during the last RefreshPageAction. |
| 500 bool web_contents_null_at_last_refresh_; | 499 bool web_contents_null_at_last_refresh_; |
| 501 | 500 |
| 502 DISALLOW_COPY_AND_ASSIGN(LocationBarView); | 501 DISALLOW_COPY_AND_ASSIGN(LocationBarView); |
| 503 }; | 502 }; |
| 504 | 503 |
| 505 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ | 504 #endif // CHROME_BROWSER_UI_VIEWS_LOCATION_BAR_LOCATION_BAR_VIEW_H_ |
| OLD | NEW |