OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "content/public/browser/notification_observer.h" | 16 #include "content/public/browser/notification_observer.h" |
17 #include "ui/base/range/range.h" | 17 #include "ui/base/range/range.h" |
18 #include "ui/views/controls/textfield/textfield_controller.h" | 18 #include "ui/views/controls/textfield/textfield_controller.h" |
19 #include "views/view.h" | 19 #include "ui/views/view.h" |
20 #include "webkit/glue/window_open_disposition.h" | 20 #include "webkit/glue/window_open_disposition.h" |
21 | 21 |
22 class AutocompleteEditController; | 22 class AutocompleteEditController; |
23 class AutocompleteEditModel; | 23 class AutocompleteEditModel; |
24 class AutocompletePopupView; | 24 class AutocompletePopupView; |
25 class Profile; | 25 class Profile; |
26 class TabContents; | 26 class TabContents; |
27 | 27 |
28 // Views-implementation of OmniboxView. This is based on gtk implementation. | 28 // Views-implementation of OmniboxView. This is based on gtk implementation. |
29 // The following features are not yet supported. | 29 // The following features are not yet supported. |
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 bool ime_composing_before_change_; | 187 bool ime_composing_before_change_; |
188 | 188 |
189 // Was the delete key pressed with an empty selection at the end of the edit? | 189 // Was the delete key pressed with an empty selection at the end of the edit? |
190 bool delete_at_end_pressed_; | 190 bool delete_at_end_pressed_; |
191 LocationBarView* location_bar_view_; | 191 LocationBarView* location_bar_view_; |
192 | 192 |
193 DISALLOW_COPY_AND_ASSIGN(OmniboxViewViews); | 193 DISALLOW_COPY_AND_ASSIGN(OmniboxViewViews); |
194 }; | 194 }; |
195 | 195 |
196 #endif // CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_VIEW_VIEWS_H_ | 196 #endif // CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_VIEW_VIEWS_H_ |
OLD | NEW |