diff options
author | altimofeev@chromium.org <altimofeev@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-16 10:05:33 +0000 |
---|---|---|
committer | altimofeev@chromium.org <altimofeev@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-16 10:05:33 +0000 |
commit | ef5570297e5d4e5f40089d34c0e68e7607562933 (patch) | |
tree | cadeed4d23f914831f2a32fe179416d93bc704fc /chrome/browser/command_updater_unittest.cc | |
parent | dd442d7460ada03ca97904c2de098b57c94d0475 (diff) | |
download | chromium_src-ef5570297e5d4e5f40089d34c0e68e7607562933.zip chromium_src-ef5570297e5d4e5f40089d34c0e68e7607562933.tar.gz chromium_src-ef5570297e5d4e5f40089d34c0e68e7607562933.tar.bz2 |
Re-factor location bar/toolbar code to get rid of the browser dependency. This CL is needed to allow code reusing by captive portal view, which will show web content using DomView.
BUG=chromium-os:22630
TEST=browser_tests,unit_tests works
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=126959
Reverted because of a misprint which was hidden by overloaded method (ExecuteCommand): http://codereview.chromium.org/9703099/
Review URL: http://codereview.chromium.org/9479008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@127145 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/command_updater_unittest.cc')
-rw-r--r-- | chrome/browser/command_updater_unittest.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/browser/command_updater_unittest.cc b/chrome/browser/command_updater_unittest.cc index 659e3c6..5dcc737 100644 --- a/chrome/browser/command_updater_unittest.cc +++ b/chrome/browser/command_updater_unittest.cc @@ -1,14 +1,16 @@ -// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. +#include "base/compiler_specific.h" #include "chrome/browser/command_updater.h" #include "testing/gtest/include/gtest/gtest.h" class TestingCommandHandlerMock : public CommandUpdater::CommandUpdaterDelegate { public: - virtual void ExecuteCommand(int id) { + virtual void ExecuteCommandWithDisposition(int id, + WindowOpenDisposition) OVERRIDE { EXPECT_EQ(1, id); } }; |