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_OMNIBOX_OMNIBOX_VIEW_VIEWS_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_VIEW_VIEWS_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_VIEW_VIEWS_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_VIEW_VIEWS_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
215 // avoid showing the popup. So far, the candidate window is detected only | 215 // avoid showing the popup. So far, the candidate window is detected only |
216 // on Chrome OS. | 216 // on Chrome OS. |
217 bool ime_candidate_window_open_; | 217 bool ime_candidate_window_open_; |
218 | 218 |
219 // Should we select all the text when we see the mouse button get released? | 219 // Should we select all the text when we see the mouse button get released? |
220 // We select in response to a click that focuses the omnibox, but we defer | 220 // We select in response to a click that focuses the omnibox, but we defer |
221 // until release, setting this variable back to false if we saw a drag, to | 221 // until release, setting this variable back to false if we saw a drag, to |
222 // allow the user to select just a portion of the text. | 222 // allow the user to select just a portion of the text. |
223 bool select_all_on_mouse_release_; | 223 bool select_all_on_mouse_release_; |
224 | 224 |
225 // Used to keep track of the visible caret color so that it can be restored | |
226 // after the caret has been hidden. | |
227 SkColor visible_caret_color_; | |
228 | |
229 DISALLOW_COPY_AND_ASSIGN(OmniboxViewViews); | 225 DISALLOW_COPY_AND_ASSIGN(OmniboxViewViews); |
230 }; | 226 }; |
231 | 227 |
232 #endif // CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_VIEW_VIEWS_H_ | 228 #endif // CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_VIEW_VIEWS_H_ |
OLD | NEW |