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

Unified Diff: chrome/browser/ui/cocoa/extensions/shell_window_cocoa.mm

Issue 11369237: Add a way to fetch window frame metrics from NativeShellWindow (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: move to NativeShellWindow 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/browser/ui/cocoa/extensions/shell_window_cocoa.mm
diff --git a/chrome/browser/ui/cocoa/extensions/shell_window_cocoa.mm b/chrome/browser/ui/cocoa/extensions/shell_window_cocoa.mm
index 779564f8f17bd1ea98fa004d32c616eabfee1071..9f2cec4bc045facd9784a079935472abfc9eb0d1 100644
--- a/chrome/browser/ui/cocoa/extensions/shell_window_cocoa.mm
+++ b/chrome/browser/ui/cocoa/extensions/shell_window_cocoa.mm
@@ -654,6 +654,10 @@ bool ShellWindowCocoa::IsAlwaysOnTop() const {
return false;
}
+gfx::Insets ShellWindowCocoa::GetFrameInsets() const {
+ return gfx::Insets();
+}
+
void ShellWindowCocoa::WindowWillClose() {
[window_controller_ setShellWindow:NULL];
shell_window_->SaveWindowPosition();

Powered by Google App Engine
This is Rietveld 408576698