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 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 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "base/string16.h" | 11 #include "base/string16.h" |
12 #include "base/time.h" | 12 #include "base/time.h" |
13 #include "chrome/browser/autocomplete/autocomplete_controller_delegate.h" | 13 #include "chrome/browser/autocomplete/autocomplete_controller_delegate.h" |
14 #include "chrome/browser/autocomplete/autocomplete_match.h" | 14 #include "chrome/browser/autocomplete/autocomplete_match.h" |
15 #include "chrome/common/metrics/proto/omnibox_event.pb.h" | 15 #include "chrome/common/metrics/proto/omnibox_event.pb.h" |
16 #include "content/public/common/page_transition_types.h" | 16 #include "content/public/common/page_transition_types.h" |
17 #include "googleurl/src/gurl.h" | 17 #include "googleurl/src/gurl.h" |
| 18 #include "ui/base/window_open_disposition.h" |
18 #include "ui/gfx/native_widget_types.h" | 19 #include "ui/gfx/native_widget_types.h" |
19 #include "webkit/glue/window_open_disposition.h" | |
20 | 20 |
21 class AutocompleteController; | 21 class AutocompleteController; |
22 class AutocompleteResult; | 22 class AutocompleteResult; |
23 struct InstantSuggestion; | 23 struct InstantSuggestion; |
24 class OmniboxEditController; | 24 class OmniboxEditController; |
25 class OmniboxPopupModel; | 25 class OmniboxPopupModel; |
26 class OmniboxView; | 26 class OmniboxView; |
27 class Profile; | 27 class Profile; |
28 | 28 |
29 namespace gfx { | 29 namespace gfx { |
(...skipping 530 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
560 // an exact keyword match. If this is true then keyword mode will be | 560 // an exact keyword match. If this is true then keyword mode will be |
561 // triggered automatically if the input is "<keyword> <search string>". We | 561 // triggered automatically if the input is "<keyword> <search string>". We |
562 // allow this when CreatedKeywordSearchByInsertingSpaceInMiddle() is true. | 562 // allow this when CreatedKeywordSearchByInsertingSpaceInMiddle() is true. |
563 // This has no effect if we're already in keyword mode. | 563 // This has no effect if we're already in keyword mode. |
564 bool allow_exact_keyword_match_; | 564 bool allow_exact_keyword_match_; |
565 | 565 |
566 DISALLOW_COPY_AND_ASSIGN(OmniboxEditModel); | 566 DISALLOW_COPY_AND_ASSIGN(OmniboxEditModel); |
567 }; | 567 }; |
568 | 568 |
569 #endif // CHROME_BROWSER_UI_OMNIBOX_OMNIBOX_EDIT_MODEL_H_ | 569 #endif // CHROME_BROWSER_UI_OMNIBOX_OMNIBOX_EDIT_MODEL_H_ |
OLD | NEW |