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" |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #include "chrome/browser/ui/omnibox/omnibox_view.h" | 12 #include "chrome/browser/ui/omnibox/omnibox_view.h" |
13 #include "chrome/browser/ui/toolbar/toolbar_model.h" | 13 #include "chrome/browser/ui/toolbar/toolbar_model.h" |
14 #include "ui/base/range/range.h" | 14 #include "ui/base/range/range.h" |
| 15 #include "ui/base/window_open_disposition.h" |
15 #include "ui/views/controls/textfield/textfield_controller.h" | 16 #include "ui/views/controls/textfield/textfield_controller.h" |
16 #include "ui/views/view.h" | 17 #include "ui/views/view.h" |
17 #include "webkit/glue/window_open_disposition.h" | |
18 | 18 |
19 #if defined(OS_CHROMEOS) | 19 #if defined(OS_CHROMEOS) |
20 #include "chrome/browser/chromeos/input_method/input_method_manager.h" | 20 #include "chrome/browser/chromeos/input_method/input_method_manager.h" |
21 #endif | 21 #endif |
22 | 22 |
23 class LocationBarView; | 23 class LocationBarView; |
24 class OmniboxPopupView; | 24 class OmniboxPopupView; |
25 class Profile; | 25 class Profile; |
26 | 26 |
27 namespace ui { | 27 namespace ui { |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
216 // Should we select all the text when we see the mouse button get released? | 216 // Should we select all the text when we see the mouse button get released? |
217 // We select in response to a click that focuses the omnibox, but we defer | 217 // We select in response to a click that focuses the omnibox, but we defer |
218 // until release, setting this variable back to false if we saw a drag, to | 218 // until release, setting this variable back to false if we saw a drag, to |
219 // allow the user to select just a portion of the text. | 219 // allow the user to select just a portion of the text. |
220 bool select_all_on_mouse_release_; | 220 bool select_all_on_mouse_release_; |
221 | 221 |
222 DISALLOW_COPY_AND_ASSIGN(OmniboxViewViews); | 222 DISALLOW_COPY_AND_ASSIGN(OmniboxViewViews); |
223 }; | 223 }; |
224 | 224 |
225 #endif // CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_VIEW_VIEWS_H_ | 225 #endif // CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_VIEW_VIEWS_H_ |
OLD | NEW |