Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(135)

Side by Side Diff: chrome/browser/ui/omnibox/omnibox_edit_model.h

Issue 1191373002: Componentize AutocompleteController and its supporting cast (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@prep_builtin_provider_for_c14n
Patch Set: Rebase Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/strings/string16.h" 11 #include "base/strings/string16.h"
12 #include "base/time/time.h" 12 #include "base/time/time.h"
13 #include "chrome/browser/autocomplete/autocomplete_controller_delegate.h"
14 #include "chrome/browser/ui/omnibox/omnibox_controller.h" 13 #include "chrome/browser/ui/omnibox/omnibox_controller.h"
15 #include "chrome/common/instant_types.h" 14 #include "chrome/common/instant_types.h"
16 #include "chrome/common/omnibox_focus_state.h" 15 #include "chrome/common/omnibox_focus_state.h"
17 #include "components/metrics/proto/omnibox_event.pb.h" 16 #include "components/metrics/proto/omnibox_event.pb.h"
17 #include "components/omnibox/autocomplete_controller_delegate.h"
18 #include "components/omnibox/autocomplete_input.h" 18 #include "components/omnibox/autocomplete_input.h"
19 #include "components/omnibox/autocomplete_match.h" 19 #include "components/omnibox/autocomplete_match.h"
20 #include "ui/base/window_open_disposition.h" 20 #include "ui/base/window_open_disposition.h"
21 #include "ui/gfx/native_widget_types.h" 21 #include "ui/gfx/native_widget_types.h"
22 #include "url/gurl.h" 22 #include "url/gurl.h"
23 23
24 class AutocompleteController; 24 class AutocompleteController;
25 class AutocompleteResult; 25 class AutocompleteResult;
26 class OmniboxCurrentPageDelegate; 26 class OmniboxCurrentPageDelegate;
27 class OmniboxEditController; 27 class OmniboxEditController;
(...skipping 533 matching lines...) Expand 10 before | Expand all | Expand 10 after
561 561
562 // The input that was sent to the AutocompleteController. Since no 562 // The input that was sent to the AutocompleteController. Since no
563 // 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
564 // |input_| to differ from the one currently stored in AutocompleteController. 564 // |input_| to differ from the one currently stored in AutocompleteController.
565 AutocompleteInput input_; 565 AutocompleteInput input_;
566 566
567 DISALLOW_COPY_AND_ASSIGN(OmniboxEditModel); 567 DISALLOW_COPY_AND_ASSIGN(OmniboxEditModel);
568 }; 568 };
569 569
570 #endif // CHROME_BROWSER_UI_OMNIBOX_OMNIBOX_EDIT_MODEL_H_ 570 #endif // CHROME_BROWSER_UI_OMNIBOX_OMNIBOX_EDIT_MODEL_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/omnibox/omnibox_controller_unittest.cc ('k') | chrome/browser/ui/omnibox/omnibox_edit_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698