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

Side by Side Diff: extensions/browser/app_window/app_window_geometry_cache.h

Issue 823133004: Cleanup: Update the path to gfx rect headers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rect_f.h Created 5 years, 11 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
« no previous file with comments | « extensions/browser/app_window/app_window.h ('k') | extensions/common/draggable_region.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 EXTENSIONS_BROWSER_APP_WINDOW_APP_WINDOW_GEOMETRY_CACHE_H_ 5 #ifndef EXTENSIONS_BROWSER_APP_WINDOW_APP_WINDOW_GEOMETRY_CACHE_H_
6 #define EXTENSIONS_BROWSER_APP_WINDOW_APP_WINDOW_GEOMETRY_CACHE_H_ 6 #define EXTENSIONS_BROWSER_APP_WINDOW_APP_WINDOW_GEOMETRY_CACHE_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
11 11
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #include "base/memory/singleton.h" 13 #include "base/memory/singleton.h"
14 #include "base/observer_list.h" 14 #include "base/observer_list.h"
15 #include "base/scoped_observer.h" 15 #include "base/scoped_observer.h"
16 #include "base/time/time.h" 16 #include "base/time/time.h"
17 #include "base/timer/timer.h" 17 #include "base/timer/timer.h"
18 #include "base/values.h" 18 #include "base/values.h"
19 #include "components/keyed_service/content/browser_context_keyed_service_factory .h" 19 #include "components/keyed_service/content/browser_context_keyed_service_factory .h"
20 #include "components/keyed_service/core/keyed_service.h" 20 #include "components/keyed_service/core/keyed_service.h"
21 #include "extensions/browser/extension_registry_observer.h" 21 #include "extensions/browser/extension_registry_observer.h"
22 #include "ui/base/ui_base_types.h" 22 #include "ui/base/ui_base_types.h"
23 #include "ui/gfx/rect.h" 23 #include "ui/gfx/geometry/rect.h"
24 24
25 namespace extensions { 25 namespace extensions {
26 26
27 class ExtensionPrefs; 27 class ExtensionPrefs;
28 class ExtensionRegistry; 28 class ExtensionRegistry;
29 29
30 // A cache for persisted geometry of app windows, both to not have to wait 30 // A cache for persisted geometry of app windows, both to not have to wait
31 // for IO when creating a new window, and to not cause IO on every window 31 // for IO when creating a new window, and to not cause IO on every window
32 // geometry change. 32 // geometry change.
33 class AppWindowGeometryCache : public KeyedService, 33 class AppWindowGeometryCache : public KeyedService,
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 // Listen to extension load, unloaded notifications. 148 // Listen to extension load, unloaded notifications.
149 ScopedObserver<ExtensionRegistry, ExtensionRegistryObserver> 149 ScopedObserver<ExtensionRegistry, ExtensionRegistryObserver>
150 extension_registry_observer_; 150 extension_registry_observer_;
151 151
152 ObserverList<Observer> observers_; 152 ObserverList<Observer> observers_;
153 }; 153 };
154 154
155 } // namespace extensions 155 } // namespace extensions
156 156
157 #endif // EXTENSIONS_BROWSER_APP_WINDOW_APP_WINDOW_GEOMETRY_CACHE_H_ 157 #endif // EXTENSIONS_BROWSER_APP_WINDOW_APP_WINDOW_GEOMETRY_CACHE_H_
OLDNEW
« no previous file with comments | « extensions/browser/app_window/app_window.h ('k') | extensions/common/draggable_region.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698