OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 COMPONENTS_OMNIBOX_BROWSER_OMNIBOX_EDIT_MODEL_H_ | 5 #ifndef COMPONENTS_OMNIBOX_BROWSER_OMNIBOX_EDIT_MODEL_H_ |
6 #define COMPONENTS_OMNIBOX_BROWSER_OMNIBOX_EDIT_MODEL_H_ | 6 #define COMPONENTS_OMNIBOX_BROWSER_OMNIBOX_EDIT_MODEL_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
(...skipping 15 matching lines...) Expand all Loading... |
26 #include "url/gurl.h" | 26 #include "url/gurl.h" |
27 | 27 |
28 class AutocompleteResult; | 28 class AutocompleteResult; |
29 class OmniboxClient; | 29 class OmniboxClient; |
30 class OmniboxEditController; | 30 class OmniboxEditController; |
31 class OmniboxPopupModel; | 31 class OmniboxPopupModel; |
32 class OmniboxView; | 32 class OmniboxView; |
33 | 33 |
34 namespace gfx { | 34 namespace gfx { |
35 class Image; | 35 class Image; |
36 class Rect; | |
37 } | 36 } |
38 | 37 |
39 // Reasons why the Omnibox could change into keyword mode. | 38 // Reasons why the Omnibox could change into keyword mode. |
40 // These numeric values are used in UMA logs; do not change them. | 39 // These numeric values are used in UMA logs; do not change them. |
41 enum class KeywordModeEntryMethod { | 40 enum class KeywordModeEntryMethod { |
42 TAB = 0, | 41 TAB = 0, |
43 SPACE_AT_END = 1, | 42 SPACE_AT_END = 1, |
44 SPACE_IN_MIDDLE = 2, | 43 SPACE_IN_MIDDLE = 2, |
45 KEYBOARD_SHORTCUT = 3, | 44 KEYBOARD_SHORTCUT = 3, |
46 QUESTION_MARK = 4, | 45 QUESTION_MARK = 4, |
(...skipping 515 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
562 | 561 |
563 // The input that was sent to the AutocompleteController. Since no | 562 // The input that was sent to the AutocompleteController. Since no |
564 // autocomplete query is started after a tab switch, it is possible for this | 563 // autocomplete query is started after a tab switch, it is possible for this |
565 // |input_| to differ from the one currently stored in AutocompleteController. | 564 // |input_| to differ from the one currently stored in AutocompleteController. |
566 AutocompleteInput input_; | 565 AutocompleteInput input_; |
567 | 566 |
568 DISALLOW_COPY_AND_ASSIGN(OmniboxEditModel); | 567 DISALLOW_COPY_AND_ASSIGN(OmniboxEditModel); |
569 }; | 568 }; |
570 | 569 |
571 #endif // COMPONENTS_OMNIBOX_BROWSER_OMNIBOX_EDIT_MODEL_H_ | 570 #endif // COMPONENTS_OMNIBOX_BROWSER_OMNIBOX_EDIT_MODEL_H_ |
OLD | NEW |