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

Side by Side Diff: chrome/browser/ui/views/frame/browser_frame_ash.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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_ASH_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_ASH_H_
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_ASH_H_ 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_ASH_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "chrome/browser/ui/views/frame/native_browser_frame.h" 10 #include "chrome/browser/ui/views/frame/native_browser_frame.h"
(...skipping 22 matching lines...) Expand all
33 virtual void OnWindowDestroying() OVERRIDE; 33 virtual void OnWindowDestroying() OVERRIDE;
34 virtual void OnWindowTargetVisibilityChanged(bool visible) OVERRIDE; 34 virtual void OnWindowTargetVisibilityChanged(bool visible) OVERRIDE;
35 35
36 // Overridden from NativeBrowserFrame: 36 // Overridden from NativeBrowserFrame:
37 virtual views::NativeWidget* AsNativeWidget() OVERRIDE; 37 virtual views::NativeWidget* AsNativeWidget() OVERRIDE;
38 virtual const views::NativeWidget* AsNativeWidget() const OVERRIDE; 38 virtual const views::NativeWidget* AsNativeWidget() const OVERRIDE;
39 virtual bool UsesNativeSystemMenu() const OVERRIDE; 39 virtual bool UsesNativeSystemMenu() const OVERRIDE;
40 virtual int GetMinimizeButtonOffset() const OVERRIDE; 40 virtual int GetMinimizeButtonOffset() const OVERRIDE;
41 virtual void TabStripDisplayModeChanged() OVERRIDE; 41 virtual void TabStripDisplayModeChanged() OVERRIDE;
42 42
43 virtual ~BrowserFrameAsh();
44
43 private: 45 private:
44 class WindowPropertyWatcher; 46 class WindowPropertyWatcher;
45 47
46 virtual ~BrowserFrameAsh();
47
48 // Set the window into the auto managed mode. 48 // Set the window into the auto managed mode.
49 void SetWindowAutoManaged(); 49 void SetWindowAutoManaged();
50 50
51 // The BrowserView is our ClientView. This is a pointer to it. 51 // The BrowserView is our ClientView. This is a pointer to it.
52 BrowserView* browser_view_; 52 BrowserView* browser_view_;
53 53
54 scoped_ptr<WindowPropertyWatcher> window_property_watcher_; 54 scoped_ptr<WindowPropertyWatcher> window_property_watcher_;
55 55
56 DISALLOW_COPY_AND_ASSIGN(BrowserFrameAsh); 56 DISALLOW_COPY_AND_ASSIGN(BrowserFrameAsh);
57 }; 57 };
58 58
59 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_ASH_H_ 59 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_FRAME_ASH_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/browser_window_gtk.cc ('k') | chrome/browser/ui/views/frame/browser_frame_ash.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698