Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / browser / ui / toolbar / toolbar_model.cc
blobb4497785fbec7d7ac991bb06b51637db79965f18
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
3 // found in the LICENSE file.
5 #include "chrome/browser/ui/toolbar/toolbar_model.h"
7 ToolbarModel::ToolbarModel()
8 : input_in_progress_(false),
9 url_replacement_enabled_(true) {
12 ToolbarModel::~ToolbarModel() {
15 bool ToolbarModel::WouldReplaceURL() const {
16 return WouldOmitURLDueToOriginChip() ||
17 WouldPerformSearchTermReplacement(false);