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

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

Issue 2400243002: Remove grow box rect support, browser part. (Closed)
Patch Set: . Created 4 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_browser_window.h" 5 #include "chrome/test/base/test_browser_window.h"
6 6
7 #include "base/memory/ptr_util.h" 7 #include "base/memory/ptr_util.h"
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "chrome/browser/ui/browser_list.h" 9 #include "chrome/browser/ui/browser_list.h"
10 #include "chrome/browser/ui/browser_list_observer.h" 10 #include "chrome/browser/ui/browser_list_observer.h"
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 } 142 }
143 143
144 bool TestBrowserWindow::IsTabStripEditable() const { 144 bool TestBrowserWindow::IsTabStripEditable() const {
145 return false; 145 return false;
146 } 146 }
147 147
148 bool TestBrowserWindow::IsToolbarVisible() const { 148 bool TestBrowserWindow::IsToolbarVisible() const {
149 return false; 149 return false;
150 } 150 }
151 151
152 gfx::Rect TestBrowserWindow::GetRootWindowResizerRect() const {
153 return gfx::Rect();
154 }
155
156 autofill::SaveCardBubbleView* TestBrowserWindow::ShowSaveCreditCardBubble( 152 autofill::SaveCardBubbleView* TestBrowserWindow::ShowSaveCreditCardBubble(
157 content::WebContents* contents, 153 content::WebContents* contents,
158 autofill::SaveCardBubbleController* controller, 154 autofill::SaveCardBubbleController* controller,
159 bool user_gesture) { 155 bool user_gesture) {
160 return nullptr; 156 return nullptr;
161 } 157 }
162 158
163 bool TestBrowserWindow::IsDownloadShelfVisible() const { 159 bool TestBrowserWindow::IsDownloadShelfVisible() const {
164 return false; 160 return false;
165 } 161 }
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 } 206 }
211 207
212 TestBrowserWindowOwner::~TestBrowserWindowOwner() { 208 TestBrowserWindowOwner::~TestBrowserWindowOwner() {
213 BrowserList::RemoveObserver(this); 209 BrowserList::RemoveObserver(this);
214 } 210 }
215 211
216 void TestBrowserWindowOwner::OnBrowserRemoved(Browser* browser) { 212 void TestBrowserWindowOwner::OnBrowserRemoved(Browser* browser) {
217 if (browser->window() == window_.get()) 213 if (browser->window() == window_.get())
218 delete this; 214 delete this;
219 } 215 }
OLDNEW
« no previous file with comments | « chrome/test/base/test_browser_window.h ('k') | content/browser/renderer_host/render_widget_host_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698