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

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

Issue 10553029: Handle interface to prerenders. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remediation to reviews, and unit test improvements. Created 8 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 | Annotate | Revision Log
OLDNEW
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
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698