Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / browser / ui / views / frame / browser_window_property_manager_win.h
blob1f0865569c52152e542768548cf85467a99d85c1
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"
11 class BrowserView;
13 // This class is resposible for updating the app id and relaunch details of a
14 // browser frame.
15 class BrowserWindowPropertyManager {
16 public:
17 virtual ~BrowserWindowPropertyManager();
19 void UpdateWindowProperties(HWND hwnd);
21 static scoped_ptr<BrowserWindowPropertyManager>
22 CreateBrowserWindowPropertyManager(BrowserView* view);
24 private:
25 explicit BrowserWindowPropertyManager(BrowserView* view);
27 void OnProfileIconVersionChange();
29 PrefChangeRegistrar profile_pref_registrar_;
31 BrowserView* view_;
33 DISALLOW_COPY_AND_ASSIGN(BrowserWindowPropertyManager);
36 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_BROWSER_WINDOW_PROPERTY_MANAGER_WIN_H_