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

Side by Side Diff: chrome/test/base/test_location_bar.cc

Issue 8253002: Move PageTransition into content namespace. While I'm touching all these files, I've also updated... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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
« no previous file with comments | « chrome/test/base/test_location_bar.h ('k') | chrome/test/base/ui_test_utils.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "chrome/test/base/test_location_bar.h" 5 #include "chrome/test/base/test_location_bar.h"
6 6
7 TestLocationBar::TestLocationBar() 7 TestLocationBar::TestLocationBar()
8 : disposition_(CURRENT_TAB), 8 : disposition_(CURRENT_TAB),
9 transition_(PageTransition::LINK) { 9 transition_(content::PAGE_TRANSITION_LINK) {
10 } 10 }
11 11
12 TestLocationBar::~TestLocationBar() {} 12 TestLocationBar::~TestLocationBar() {}
13 13
14 string16 TestLocationBar::GetInputString() const { 14 string16 TestLocationBar::GetInputString() const {
15 return input_string_; 15 return input_string_;
16 } 16 }
17 17
18 WindowOpenDisposition TestLocationBar::GetWindowOpenDisposition() const { 18 WindowOpenDisposition TestLocationBar::GetWindowOpenDisposition() const {
19 return disposition_; 19 return disposition_;
20 } 20 }
21 21
22 PageTransition::Type TestLocationBar::GetPageTransition() const { 22 content::PageTransition TestLocationBar::GetPageTransition() const {
23 return transition_; 23 return transition_;
24 } 24 }
25 25
26 const OmniboxView* TestLocationBar::location_entry() const { 26 const OmniboxView* TestLocationBar::location_entry() const {
27 return NULL; 27 return NULL;
28 } 28 }
29 29
30 OmniboxView* TestLocationBar::location_entry() { 30 OmniboxView* TestLocationBar::location_entry() {
31 return NULL; 31 return NULL;
32 } 32 }
33 33
34 LocationBarTesting* TestLocationBar::GetLocationBarForTesting() { 34 LocationBarTesting* TestLocationBar::GetLocationBarForTesting() {
35 return NULL; 35 return NULL;
36 } 36 }
OLDNEW
« no previous file with comments | « chrome/test/base/test_location_bar.h ('k') | chrome/test/base/ui_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698