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

Unified Diff: chrome/browser/ui/base_window.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: GetFrameInsets 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/base_window.h
diff --git a/chrome/browser/ui/base_window.h b/chrome/browser/ui/base_window.h
index deaa700d549103304280f8d383dedda94f4dce6e..9c7f8653605aaeccec17d2a842d111aead86bd25 100644
--- a/chrome/browser/ui/base_window.h
+++ b/chrome/browser/ui/base_window.h
@@ -6,6 +6,7 @@
#define CHROME_BROWSER_UI_BASE_WINDOW_H_
#include "base/compiler_specific.h"
+#include "ui/gfx/insets.h"
#include "ui/gfx/native_widget_types.h"
namespace gfx {
@@ -79,6 +80,10 @@ class BaseWindow {
// Returns true if a window is set to be always on top.
virtual bool IsAlwaysOnTop() const = 0;
+
+ virtual gfx::Insets GetFrameInsets() const {
+ return gfx::Insets();
+ }
stevenjb 2012/11/15 18:22:47 If we have a default implementation, we need to en
jeremya 2012/11/16 00:12:06 It isn't quite. ShellWindowViews < views::WidgetDe
};
#endif // CHROME_BROWSER_UI_BASE_WINDOW_H_

Powered by Google App Engine
This is Rietveld 408576698