Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(600)

Side by Side Diff: chrome/browser/ui/views/omnibox/omnibox_view_views.h

Issue 11421204: Use native theme colors for textfields; etc. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync and rebase, add a blank line between includes. Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/location_bar/location_bar_view.cc ('k') | chrome/browser/ui/views/omnibox/omnibox_view_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698