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

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

Issue 11369237: Add a way to fetch window frame metrics from NativeShellWindow (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: NOTIMPLEMENTED() 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.h
diff --git a/chrome/browser/ui/cocoa/extensions/shell_window_cocoa.h b/chrome/browser/ui/cocoa/extensions/shell_window_cocoa.h
index 6f61540aba583414e3f3d7f790e5a1de757ebbf8..3866f12b8be5edaf47d582c718cc976500893c30 100644
--- a/chrome/browser/ui/cocoa/extensions/shell_window_cocoa.h
+++ b/chrome/browser/ui/cocoa/extensions/shell_window_cocoa.h
@@ -71,6 +71,10 @@ class ShellWindowCocoa : public NativeShellWindow {
virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE;
virtual void FlashFrame(bool flash) OVERRIDE;
virtual bool IsAlwaysOnTop() const OVERRIDE;
+ virtual gfx::Rect ContentBoundsForWindowBounds(
+ const gfx::Rect& window_bounds) const OVERRIDE;
+ virtual gfx::Rect WindowBoundsForContentBounds(
+ const gfx::Rect& content_bounds) const OVERRIDE;
// Called when the window is about to be closed.
void WindowWillClose();

Powered by Google App Engine
This is Rietveld 408576698