OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #include "components/toolbar/toolbar_model.h" | 5 #include "components/toolbar/toolbar_model.h" |
6 | 6 |
7 ToolbarModel::ToolbarModel() | 7 ToolbarModel::ToolbarModel() |
8 : input_in_progress_(false), | 8 : input_in_progress_(false), |
9 url_replacement_enabled_(true) { | 9 url_replacement_enabled_(true) { |
10 } | 10 } |
11 | 11 |
12 ToolbarModel::~ToolbarModel() { | 12 ToolbarModel::~ToolbarModel() { |
13 } | 13 } |
14 | |
15 bool ToolbarModel::WouldReplaceURL() const { | |
16 return WouldPerformSearchTermReplacement(false); | |
17 } | |
18 | |
OLD | NEW |