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

Unified Diff: chrome/test/base/test_browser_window.cc

Issue 11369237: Add a way to fetch window frame metrics from NativeShellWindow (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add comments Created 8 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: chrome/test/base/test_browser_window.cc
diff --git a/chrome/test/base/test_browser_window.cc b/chrome/test/base/test_browser_window.cc
index 4652a498719f1b00eea0d26805925ee85a10f242..3209998ae333f2ce85302c466fb5a9d1be06c4ba 100644
--- a/chrome/test/base/test_browser_window.cc
+++ b/chrome/test/base/test_browser_window.cc
@@ -22,6 +22,16 @@ bool TestBrowserWindow::IsAlwaysOnTop() const {
return false;
}
+gfx::Rect TestBrowserWindow::ContentBoundsForWindowBounds(
+ const gfx::Rect& window_bounds) const {
+ return window_bounds;
+}
+
+gfx::Rect TestBrowserWindow::WindowBoundsForContentBounds(
+ const gfx::Rect& content_bounds) const {
+ return content_bounds;
+}
+
gfx::NativeWindow TestBrowserWindow::GetNativeWindow() {
return NULL;
}
« chrome/browser/ui/gtk/browser_window_gtk.cc ('K') | « chrome/test/base/test_browser_window.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698