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

Unified Diff: chrome/browser/ui/views/frame/browser_frame_ashwin.h

Issue 58853004: [win8] Force browsers created with Chrome in Metro mode to be on the Ash desktop. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move from browser_commands to BrowserWindow Created 7 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/frame/browser_frame_ashwin.h
diff --git a/chrome/browser/ui/views/frame/browser_frame_ashwin.h b/chrome/browser/ui/views/frame/browser_frame_ashwin.h
new file mode 100644
index 0000000000000000000000000000000000000000..5abc721b7692bede1bff6f92137a72185d842b73
--- /dev/null
+++ b/chrome/browser/ui/views/frame/browser_frame_ashwin.h
@@ -0,0 +1,26 @@
+// Copyright 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_ASHWIN_H_
+#define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_ASHWIN_H_
+
+#include "chrome/browser/ui/views/frame/browser_frame_ash.h"
+
+// A NativeWidgetAura subclass that provides Windows-specific behavior on the
+// Ash desktop for Metro mode.
+class BrowserFrameAshWin : public BrowserFrameAsh {
+ public:
+ BrowserFrameAshWin(BrowserFrame* browser_frame, BrowserView* browser_view);
+
+ protected:
+ virtual ~BrowserFrameAshWin();
+
+ // Overridden from aura::client::ActivationChangeObserver:
+ virtual void OnWindowFocused(aura::Window* gained_focus,
+ aura::Window* lost_focus) OVERRIDE;
+ private:
+ DISALLOW_COPY_AND_ASSIGN(BrowserFrameAshWin);
+};
+
+#endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_ASHWIN_H_
« no previous file with comments | « chrome/browser/ui/views/frame/browser_frame_ash.cc ('k') | chrome/browser/ui/views/frame/browser_frame_ashwin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698