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

Unified Diff: chrome/browser/ui/views/extensions/shell_window_views.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/views/extensions/shell_window_views.h
diff --git a/chrome/browser/ui/views/extensions/shell_window_views.h b/chrome/browser/ui/views/extensions/shell_window_views.h
index 18beabf4d4b353d88d2d5c25beb27e91ef7a69f6..ff1df91868cabd61a7551aeb4d19e45e7f91e99f 100644
--- a/chrome/browser/ui/views/extensions/shell_window_views.h
+++ b/chrome/browser/ui/views/extensions/shell_window_views.h
@@ -58,6 +58,10 @@ class ShellWindowViews : 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;
// WidgetDelegate implementation.
virtual views::View* GetContentsView() OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698