Chromium Code Reviews| 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_OMNIBOX_OMNIBOX_EDIT_MODEL_H_ | 5 #ifndef CHROME_BROWSER_UI_OMNIBOX_OMNIBOX_EDIT_MODEL_H_ |
| 6 #define CHROME_BROWSER_UI_OMNIBOX_OMNIBOX_EDIT_MODEL_H_ | 6 #define CHROME_BROWSER_UI_OMNIBOX_OMNIBOX_EDIT_MODEL_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/basictypes.h" | 9 #include "base/basictypes.h" |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| (...skipping 14 matching lines...) Expand all Loading... | |
| 25 class OmniboxEditController; | 25 class OmniboxEditController; |
| 26 class OmniboxPopupModel; | 26 class OmniboxPopupModel; |
| 27 class OmniboxView; | 27 class OmniboxView; |
| 28 class Profile; | 28 class Profile; |
| 29 class SkBitmap; | 29 class SkBitmap; |
| 30 | 30 |
| 31 namespace gfx { | 31 namespace gfx { |
| 32 class Rect; | 32 class Rect; |
| 33 } | 33 } |
| 34 | 34 |
| 35 namespace predictors { | |
| 36 class AutocompleteActionPredictor; | |
|
dominich
2012/07/02 20:43:03
not necessary
gavinp
2012/07/03 16:41:02
Done.
| |
| 37 } | |
| 38 | |
| 35 class OmniboxEditModel : public AutocompleteControllerDelegate { | 39 class OmniboxEditModel : public AutocompleteControllerDelegate { |
| 36 public: | 40 public: |
| 37 struct State { | 41 struct State { |
| 38 State(bool user_input_in_progress, | 42 State(bool user_input_in_progress, |
| 39 const string16& user_text, | 43 const string16& user_text, |
| 40 const string16& keyword, | 44 const string16& keyword, |
| 41 bool is_keyword_hint); | 45 bool is_keyword_hint); |
| 42 ~State(); | 46 ~State(); |
| 43 | 47 |
| 44 bool user_input_in_progress; | 48 bool user_input_in_progress; |
| (...skipping 467 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 512 // This has no effect if we're already in keyword mode. | 516 // This has no effect if we're already in keyword mode. |
| 513 bool allow_exact_keyword_match_; | 517 bool allow_exact_keyword_match_; |
| 514 | 518 |
| 515 // Last value of InstantCompleteBehavior supplied to |SetSuggestedText|. | 519 // Last value of InstantCompleteBehavior supplied to |SetSuggestedText|. |
| 516 InstantCompleteBehavior instant_complete_behavior_; | 520 InstantCompleteBehavior instant_complete_behavior_; |
| 517 | 521 |
| 518 DISALLOW_COPY_AND_ASSIGN(OmniboxEditModel); | 522 DISALLOW_COPY_AND_ASSIGN(OmniboxEditModel); |
| 519 }; | 523 }; |
| 520 | 524 |
| 521 #endif // CHROME_BROWSER_UI_OMNIBOX_OMNIBOX_EDIT_MODEL_H_ | 525 #endif // CHROME_BROWSER_UI_OMNIBOX_OMNIBOX_EDIT_MODEL_H_ |
| OLD | NEW |