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

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

Issue 10534153: Use OmniboxViewViews on Win with --enable-views-textfield. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Ignore Patch Set 3; use static bool in UseOmniboxViews(). Created 8 years, 6 months 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 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #include "chrome/browser/autocomplete/autocomplete_match.h" 13 #include "chrome/browser/autocomplete/autocomplete_match.h"
14 #include "chrome/browser/ui/omnibox/omnibox_view.h" 14 #include "chrome/browser/ui/omnibox/omnibox_view.h"
15 #include "chrome/browser/ui/toolbar/toolbar_model.h" 15 #include "chrome/browser/ui/toolbar/toolbar_model.h"
16 #include "ui/base/range/range.h" 16 #include "ui/base/range/range.h"
17 #include "ui/views/controls/textfield/textfield_controller.h" 17 #include "ui/views/controls/textfield/textfield_controller.h"
18 #include "ui/views/view.h" 18 #include "ui/views/view.h"
19 #include "webkit/glue/window_open_disposition.h" 19 #include "webkit/glue/window_open_disposition.h"
20 20
21 #if defined(OS_CHROMEOS) 21 #if defined(OS_CHROMEOS)
22 #include "chrome/browser/chromeos/input_method/input_method_manager.h" 22 #include "chrome/browser/chromeos/input_method/input_method_manager.h"
23 #endif 23 #endif
24 24
25 class AutocompleteEditController; 25 class AutocompleteEditController;
26 class AutocompleteEditModel; 26 class AutocompleteEditModel;
27 class AutocompletePopupView; 27 class AutocompletePopupView;
28 class LocationBarView;
28 class Profile; 29 class Profile;
29 30
30 namespace ui { 31 namespace ui {
31 class OSExchangeData; 32 class OSExchangeData;
32 } // namespace ui 33 } // namespace ui
33 34
34 // Views-implementation of OmniboxView. This is based on gtk implementation. 35 // Views-implementation of OmniboxView. This is based on gtk implementation.
35 // The following features are not yet supported. 36 // The following features are not yet supported.
36 // 37 //
37 // LTR support. 38 // LTR support.
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 // Should we select all the text when we see the mouse button get released? 224 // Should we select all the text when we see the mouse button get released?
224 // We select in response to a click that focuses the omnibox, but we defer 225 // We select in response to a click that focuses the omnibox, but we defer
225 // until release, setting this variable back to false if we saw a drag, to 226 // until release, setting this variable back to false if we saw a drag, to
226 // allow the user to select just a portion of the text. 227 // allow the user to select just a portion of the text.
227 bool select_all_on_mouse_release_; 228 bool select_all_on_mouse_release_;
228 229
229 DISALLOW_COPY_AND_ASSIGN(OmniboxViewViews); 230 DISALLOW_COPY_AND_ASSIGN(OmniboxViewViews);
230 }; 231 };
231 232
232 #endif // CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_VIEW_VIEWS_H_ 233 #endif // CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_VIEW_VIEWS_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/network_profile_bubble.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