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/common/notification_observer.h" | 16 #include "content/common/notification_observer.h" |
17 #include "content/common/page_transition_types.h" | |
18 #include "ui/base/range/range.h" | 17 #include "ui/base/range/range.h" |
19 #include "views/controls/textfield/textfield_controller.h" | 18 #include "views/controls/textfield/textfield_controller.h" |
20 #include "views/view.h" | 19 #include "views/view.h" |
21 #include "webkit/glue/window_open_disposition.h" | 20 #include "webkit/glue/window_open_disposition.h" |
22 | 21 |
23 class AutocompleteEditController; | 22 class AutocompleteEditController; |
24 class AutocompleteEditModel; | 23 class AutocompleteEditModel; |
25 class AutocompletePopupView; | 24 class AutocompletePopupView; |
26 class Profile; | 25 class Profile; |
27 class TabContents; | 26 class TabContents; |
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
183 ui::Range sel_before_change_; | 182 ui::Range sel_before_change_; |
184 bool ime_composing_before_change_; | 183 bool ime_composing_before_change_; |
185 | 184 |
186 // Was the delete key pressed with an empty selection at the end of the edit? | 185 // Was the delete key pressed with an empty selection at the end of the edit? |
187 bool delete_at_end_pressed_; | 186 bool delete_at_end_pressed_; |
188 | 187 |
189 DISALLOW_COPY_AND_ASSIGN(OmniboxViewViews); | 188 DISALLOW_COPY_AND_ASSIGN(OmniboxViewViews); |
190 }; | 189 }; |
191 | 190 |
192 #endif // CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_VIEW_VIEWS_H_ | 191 #endif // CHROME_BROWSER_UI_VIEWS_OMNIBOX_OMNIBOX_VIEW_VIEWS_H_ |
OLD | NEW |