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

Unified Diff: chrome/browser/ui/panels/panel.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/browser/ui/panels/panel.cc
diff --git a/chrome/browser/ui/panels/panel.cc b/chrome/browser/ui/panels/panel.cc
index be52d978fff3bd5f7e54d81d331ee4570e077613..0ca77766494db2ebd51027b4872c8177c2cd94a8 100644
--- a/chrome/browser/ui/panels/panel.cc
+++ b/chrome/browser/ui/panels/panel.cc
@@ -472,6 +472,16 @@ bool Panel::IsAlwaysOnTop() const {
return native_panel_->IsPanelAlwaysOnTop();
}
+gfx::Rect Panel::ContentBoundsForWindowBounds(
+ const gfx::Rect& window_bounds) const {
+ return window_bounds;
+}
+
+gfx::Rect Panel::WindowBoundsForContentBounds(
+ const gfx::Rect& content_bounds) const {
+ return content_bounds;
+}
+
gfx::NativeWindow Panel::GetNativeWindow() {
return native_panel_->GetNativePanelHandle();
}

Powered by Google App Engine
This is Rietveld 408576698