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

Unified Diff: chrome/browser/ui/gtk/extensions/shell_window_gtk.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: 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/gtk/extensions/shell_window_gtk.cc
diff --git a/chrome/browser/ui/gtk/extensions/shell_window_gtk.cc b/chrome/browser/ui/gtk/extensions/shell_window_gtk.cc
index 32e7c73c4abadf0df0a98560c0095a26ea7bd0b8..272482767c7e56b4533e2136c4b34179096764e1 100644
--- a/chrome/browser/ui/gtk/extensions/shell_window_gtk.cc
+++ b/chrome/browser/ui/gtk/extensions/shell_window_gtk.cc
@@ -227,6 +227,18 @@ bool ShellWindowGtk::IsAlwaysOnTop() const {
return false;
}
+gfx::Rect ShellWindowGtk::ContentBoundsForWindowBounds(
+ const gfx::Rect& window_bounds) const {
+ // TODO(jeremya): implement.
+ return window_bounds;
+}
+
+gfx::Rect ShellWindowGtk::WindowBoundsForContentBounds(
+ const gfx::Rect& content_bounds) const {
+ // TODO(jeremya): implement.
+ return content_bounds;
+}
+
void ShellWindowGtk::ActiveWindowChanged(GdkWindow* active_window) {
// Do nothing if we're in the process of closing the browser window.
if (!window_)

Powered by Google App Engine
This is Rietveld 408576698