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
3 // found in the LICENSE file.
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_
8 #include "base/memory/scoped_ptr.h"
9 #include "base/prefs/pref_change_registrar.h"
13 // This class is resposible for updating the app id and relaunch details of a
15 class BrowserWindowPropertyManager
{
17 virtual ~BrowserWindowPropertyManager();
19 void UpdateWindowProperties(HWND hwnd
);
21 static scoped_ptr
<BrowserWindowPropertyManager
>
22 CreateBrowserWindowPropertyManager(BrowserView
* view
);
25 explicit BrowserWindowPropertyManager(BrowserView
* view
);
27 void OnProfileIconVersionChange();
29 PrefChangeRegistrar profile_pref_registrar_
;
33 DISALLOW_COPY_AND_ASSIGN(BrowserWindowPropertyManager
);
36 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_WINDOW_PROPERTY_MANAGER_WIN_H_