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

Side by Side Diff: chrome/test/test_browser_window.cc

Issue 7541001: Move more files from chrome/test to chrome/test/base, part #3 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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/test_browser_window.h ('k') | chrome/test/test_launcher_utils.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "chrome/test/test_browser_window.h"
6
7 #include "ui/gfx/rect.h"
8
9 TestBrowserWindow::TestBrowserWindow(Browser* browser) {}
10
11 TestBrowserWindow::~TestBrowserWindow() {}
12
13 bool TestBrowserWindow::IsActive() const {
14 return false;
15 }
16
17 gfx::NativeWindow TestBrowserWindow::GetNativeHandle() {
18 return NULL;
19 }
20
21 BrowserWindowTesting* TestBrowserWindow::GetBrowserWindowTesting() {
22 return NULL;
23 }
24
25 StatusBubble* TestBrowserWindow::GetStatusBubble() {
26 return NULL;
27 }
28
29 gfx::Rect TestBrowserWindow::GetRestoredBounds() const {
30 return gfx::Rect();
31 }
32
33 gfx::Rect TestBrowserWindow::GetBounds() const {
34 return gfx::Rect();
35 }
36
37 bool TestBrowserWindow::IsMaximized() const {
38 return false;
39 }
40
41 bool TestBrowserWindow::IsFullscreen() const {
42 return false;
43 }
44
45 bool TestBrowserWindow::IsFullscreenBubbleVisible() const {
46 return false;
47 }
48
49 LocationBar* TestBrowserWindow::GetLocationBar() const {
50 return const_cast<TestLocationBar*>(&location_bar_);
51 }
52
53 bool TestBrowserWindow::PreHandleKeyboardEvent(
54 const NativeWebKeyboardEvent& event,
55 bool* is_keyboard_shortcut) {
56 return false;
57 }
58
59 bool TestBrowserWindow::IsBookmarkBarVisible() const {
60 return false;
61 }
62
63 bool TestBrowserWindow::IsBookmarkBarAnimating() const {
64 return false;
65 }
66
67 bool TestBrowserWindow::IsTabStripEditable() const {
68 return false;
69 }
70
71 bool TestBrowserWindow::IsToolbarVisible() const {
72 return false;
73 }
74
75 void TestBrowserWindow::ShowAboutChromeDialog() {
76 return;
77 }
78
79 bool TestBrowserWindow::IsDownloadShelfVisible() const {
80 return false;
81 }
82
83 DownloadShelf* TestBrowserWindow::GetDownloadShelf() {
84 return NULL;
85 }
86
87 int TestBrowserWindow::GetExtraRenderViewHeight() const {
88 return 0;
89 }
90
91 gfx::Rect TestBrowserWindow::GetInstantBounds() {
92 return gfx::Rect();
93 }
94
95 WindowOpenDisposition TestBrowserWindow::GetDispositionForPopupBounds(
96 const gfx::Rect& bounds) {
97 return NEW_POPUP;
98 }
OLDNEW
« no previous file with comments | « chrome/test/test_browser_window.h ('k') | chrome/test/test_launcher_utils.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698