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

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

Issue 6881073: Cleanup popup related browser navigation code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase and merge with avi's popup block changes. Created 9 years, 8 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
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/test_browser_window.h" 5 #include "chrome/test/test_browser_window.h"
6 6
7 #include "ui/gfx/rect.h" 7 #include "ui/gfx/rect.h"
8 8
9 TestBrowserWindow::TestBrowserWindow(Browser* browser) {} 9 TestBrowserWindow::TestBrowserWindow(Browser* browser) {}
10 10
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 return NULL; 84 return NULL;
85 } 85 }
86 86
87 int TestBrowserWindow::GetExtraRenderViewHeight() const { 87 int TestBrowserWindow::GetExtraRenderViewHeight() const {
88 return 0; 88 return 0;
89 } 89 }
90 90
91 gfx::Rect TestBrowserWindow::GetInstantBounds() { 91 gfx::Rect TestBrowserWindow::GetInstantBounds() {
92 return gfx::Rect(); 92 return gfx::Rect();
93 } 93 }
94
95 WindowOpenDisposition TestBrowserWindow::GetDispositionForPopupBounds(
96 const gfx::Rect& bounds) {
97 return NEW_POPUP;
98 }
OLDNEW
« chrome/browser/extensions/extension_host.cc ('K') | « chrome/test/test_browser_window.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698