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

Side by Side Diff: chrome/browser/views/chrome_views_delegate.h

Issue 115378: Move Always On Top setting out of Window/WindowDelegate and into task manager... (Closed) Base URL: svn://chrome-svn.corp.google.com/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. Use of this
2 // source code is governed by a BSD-style license that can be found in the 2 // source code is governed by a BSD-style license that can be found in the
3 // LICENSE file. 3 // LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_VIEWS_CHROME_VIEWS_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_VIEWS_CHROME_VIEWS_DELEGATE_H_
6 #define CHROME_BROWSER_VIEWS_CHROME_VIEWS_DELEGATE_H_ 6 #define CHROME_BROWSER_VIEWS_CHROME_VIEWS_DELEGATE_H_
7 7
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "views/views_delegate.h" 9 #include "views/views_delegate.h"
10 10
11 class ChromeViewsDelegate : public views::ViewsDelegate { 11 class ChromeViewsDelegate : public views::ViewsDelegate {
12 public: 12 public:
13 ChromeViewsDelegate() {} 13 ChromeViewsDelegate() {}
14 virtual ~ChromeViewsDelegate() {} 14 virtual ~ChromeViewsDelegate() {}
15 15
16 // Overridden from views::ViewsDelegate: 16 // Overridden from views::ViewsDelegate:
17 virtual Clipboard* GetClipboard() const; 17 virtual Clipboard* GetClipboard() const;
18 virtual void SaveWindowPlacement(const std::wstring& window_name, 18 virtual void SaveWindowPlacement(const std::wstring& window_name,
19 const gfx::Rect& bounds, 19 const gfx::Rect& bounds,
20 bool maximized, 20 bool maximized);
21 bool always_on_top);
22 virtual bool GetSavedWindowBounds(const std::wstring& window_name, 21 virtual bool GetSavedWindowBounds(const std::wstring& window_name,
23 gfx::Rect* bounds) const; 22 gfx::Rect* bounds) const;
24 virtual bool GetSavedMaximizedState(const std::wstring& window_name, 23 virtual bool GetSavedMaximizedState(const std::wstring& window_name,
25 bool* maximized) const; 24 bool* maximized) const;
26 virtual bool GetSavedAlwaysOnTopState(const std::wstring& window_name,
27 bool* always_on_top) const;
28 #if defined(OS_WIN) 25 #if defined(OS_WIN)
29 virtual HICON GetDefaultWindowIcon() const; 26 virtual HICON GetDefaultWindowIcon() const;
30 #endif 27 #endif
31 28
32 private: 29 private:
33 DISALLOW_COPY_AND_ASSIGN(ChromeViewsDelegate); 30 DISALLOW_COPY_AND_ASSIGN(ChromeViewsDelegate);
34 }; 31 };
35 32
36 #endif // #ifndef CHROME_BROWSER_VIEWS_CHROME_VIEWS_DELEGATE_H_ 33 #endif // #ifndef CHROME_BROWSER_VIEWS_CHROME_VIEWS_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698