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

Unified Diff: chrome/browser/ui/gtk/extensions/native_app_window_gtk.cc

Issue 14576003: PlatformAppBrowserTest.ShellWindowRestorePosition: Test create after window close (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Make frame component of GetRestoredBounds platform dependent Created 7 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/gtk/extensions/native_app_window_gtk.cc
diff --git a/chrome/browser/ui/gtk/extensions/native_app_window_gtk.cc b/chrome/browser/ui/gtk/extensions/native_app_window_gtk.cc
index b717e1060cf75761e3a3da01122ca136138779ed..cd6c6d32ce55dc5abc7fd2f98883233f025c5a3f 100644
--- a/chrome/browser/ui/gtk/extensions/native_app_window_gtk.cc
+++ b/chrome/browser/ui/gtk/extensions/native_app_window_gtk.cc
@@ -165,9 +165,7 @@ gfx::NativeWindow NativeAppWindowGtk::GetNativeWindow() {
}
gfx::Rect NativeAppWindowGtk::GetRestoredBounds() const {
- gfx::Rect window_bounds = restored_bounds_;
- window_bounds.Inset(-GetFrameInsets());
- return window_bounds;
+ return restored_bounds_;
}
gfx::Rect NativeAppWindowGtk::GetBounds() const {
« no previous file with comments | « chrome/browser/ui/extensions/shell_window.cc ('k') | chrome/browser/ui/views/extensions/native_app_window_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698