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

Unified Diff: chrome/browser/ui/base_window.h

Issue 10534079: Add support for managing active state of platform apps (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed redundant GetNativeWindow() decl in BrowserWindow Created 8 years, 6 months 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 1adc021575b900e5de2e1eca68ccdb1985b34d3f..76c4dde89e79b06bfa8ebb8c6ac435592a1e400b 100644
--- a/chrome/browser/ui/base_window.h
+++ b/chrome/browser/ui/base_window.h
@@ -7,6 +7,7 @@
#pragma once
#include "base/compiler_specific.h"
+#include "ui/gfx/native_widget_types.h"
namespace gfx {
class Rect;
@@ -31,6 +32,9 @@ class BaseWindow {
// Returns true if the window is full screen.
virtual bool IsFullscreen() const = 0;
+ // Return a platform dependent identifier for this window.
+ virtual gfx::NativeWindow GetNativeWindow() = 0;
+
// Returns the nonmaximized bounds of the window (even if the window is
// currently maximized or minimized) in terms of the screen coordinates.
virtual gfx::Rect GetRestoredBounds() const = 0;

Powered by Google App Engine
This is Rietveld 408576698