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

Side by Side Diff: chrome/browser/ui/views/frame/browser_window_property_manager_win.h

Issue 1545153002: Switch to standard integer types in chrome/browser/ui/views/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 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_WINDOW_PROPERTY_MANAGER_WIN_H_ 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_WINDOW_PROPERTY_MANAGER_WIN_H_
6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_WINDOW_PROPERTY_MANAGER_WIN_H_ 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_WINDOW_PROPERTY_MANAGER_WIN_H_
7 7
8 #include "base/macros.h"
8 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
9 #include "base/prefs/pref_change_registrar.h" 10 #include "base/prefs/pref_change_registrar.h"
10 11
11 class BrowserView; 12 class BrowserView;
12 13
13 // This class is resposible for updating the app id and relaunch details of a 14 // This class is resposible for updating the app id and relaunch details of a
14 // browser frame. 15 // browser frame.
15 class BrowserWindowPropertyManager { 16 class BrowserWindowPropertyManager {
16 public: 17 public:
17 virtual ~BrowserWindowPropertyManager(); 18 virtual ~BrowserWindowPropertyManager();
18 19
19 static scoped_ptr<BrowserWindowPropertyManager> 20 static scoped_ptr<BrowserWindowPropertyManager>
20 CreateBrowserWindowPropertyManager(BrowserView* view, HWND hwnd); 21 CreateBrowserWindowPropertyManager(BrowserView* view, HWND hwnd);
21 22
22 private: 23 private:
23 BrowserWindowPropertyManager(BrowserView* view, HWND hwnd); 24 BrowserWindowPropertyManager(BrowserView* view, HWND hwnd);
24 25
25 void UpdateWindowProperties(); 26 void UpdateWindowProperties();
26 void OnProfileIconVersionChange(); 27 void OnProfileIconVersionChange();
27 28
28 PrefChangeRegistrar profile_pref_registrar_; 29 PrefChangeRegistrar profile_pref_registrar_;
29 BrowserView* view_; 30 BrowserView* view_;
30 const HWND hwnd_; 31 const HWND hwnd_;
31 32
32 DISALLOW_COPY_AND_ASSIGN(BrowserWindowPropertyManager); 33 DISALLOW_COPY_AND_ASSIGN(BrowserWindowPropertyManager);
33 }; 34 };
34 35
35 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_WINDOW_PROPERTY_MANAGER_WIN_H_ 36 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_WINDOW_PROPERTY_MANAGER_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698