| 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_AUTOCOMPLETE_AUTOCOMPLETE_EDIT_H_ | 5 #ifndef CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_EDIT_H_ |
| 6 #define CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_EDIT_H_ | 6 #define CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_EDIT_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "base/string16.h" | 10 #include "base/string16.h" |
| 11 #include "base/time.h" | 11 #include "base/time.h" |
| 12 #include "chrome/browser/autocomplete/autocomplete_controller_delegate.h" | 12 #include "chrome/browser/autocomplete/autocomplete_controller_delegate.h" |
| 13 #include "chrome/browser/autocomplete/autocomplete_match.h" | 13 #include "chrome/browser/autocomplete/autocomplete_match.h" |
| 14 #include "chrome/common/instant_types.h" | 14 #include "chrome/common/instant_types.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/gfx/native_widget_types.h" | 18 #include "ui/gfx/native_widget_types.h" |
| 19 #include "webkit/glue/window_open_disposition.h" | 19 #include "webkit/glue/window_open_disposition.h" |
| 20 | 20 |
| 21 class AutocompleteController; | 21 class AutocompleteController; |
| 22 class AutocompleteEditController; | 22 class AutocompleteEditController; |
| 23 class AutocompleteEditModel; | 23 class AutocompleteEditModel; |
| 24 class AutocompletePopupModel; | 24 class AutocompletePopupModel; |
| 25 class AutocompleteResult; | 25 class AutocompleteResult; |
| 26 class InstantController; | 26 class InstantController; |
| 27 class OmniboxView; | 27 class OmniboxView; |
| 28 class Profile; | 28 class Profile; |
| 29 class SkBitmap; | 29 class SkBitmap; |
| 30 class TabContentsWrapper; | 30 class TabContents; |
| 31 typedef TabContents TabContentsWrapper; |
| 31 | 32 |
| 32 namespace gfx { | 33 namespace gfx { |
| 33 class Rect; | 34 class Rect; |
| 34 } | 35 } |
| 35 | 36 |
| 36 // TODO(pkasting): The names and contents of the classes in | 37 // TODO(pkasting): The names and contents of the classes in |
| 37 // this file are temporary. I am in hack-and-slash mode right now. | 38 // this file are temporary. I am in hack-and-slash mode right now. |
| 38 // http://code.google.com/p/chromium/issues/detail?id=6772 | 39 // http://code.google.com/p/chromium/issues/detail?id=6772 |
| 39 | 40 |
| 40 // Embedders of an AutocompleteEdit widget must implement this class. | 41 // Embedders of an AutocompleteEdit widget must implement this class. |
| (...skipping 523 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 564 // This has no effect if we're already in keyword mode. | 565 // This has no effect if we're already in keyword mode. |
| 565 bool allow_exact_keyword_match_; | 566 bool allow_exact_keyword_match_; |
| 566 | 567 |
| 567 // Last value of InstantCompleteBehavior supplied to |SetSuggestedText|. | 568 // Last value of InstantCompleteBehavior supplied to |SetSuggestedText|. |
| 568 InstantCompleteBehavior instant_complete_behavior_; | 569 InstantCompleteBehavior instant_complete_behavior_; |
| 569 | 570 |
| 570 DISALLOW_COPY_AND_ASSIGN(AutocompleteEditModel); | 571 DISALLOW_COPY_AND_ASSIGN(AutocompleteEditModel); |
| 571 }; | 572 }; |
| 572 | 573 |
| 573 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_EDIT_H_ | 574 #endif // CHROME_BROWSER_AUTOCOMPLETE_AUTOCOMPLETE_EDIT_H_ |
| OLD | NEW |