OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CONTENT_BROWSER_HOST_ZOOM_MAP_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_HOST_ZOOM_MAP_IMPL_H_ |
6 #define CONTENT_BROWSER_HOST_ZOOM_MAP_IMPL_H_ | 6 #define CONTENT_BROWSER_HOST_ZOOM_MAP_IMPL_H_ |
7 #pragma once | |
8 | 7 |
9 #include <map> | 8 #include <map> |
10 #include <string> | 9 #include <string> |
11 #include <vector> | 10 #include <vector> |
12 | 11 |
13 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
14 #include "base/sequenced_task_runner_helpers.h" | 13 #include "base/sequenced_task_runner_helpers.h" |
15 #include "base/supports_user_data.h" | 14 #include "base/supports_user_data.h" |
16 #include "base/synchronization/lock.h" | 15 #include "base/synchronization/lock.h" |
17 #include "content/public/browser/host_zoom_map.h" | 16 #include "content/public/browser/host_zoom_map.h" |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 // Used around accesses to |host_zoom_levels_|, |default_zoom_level_| and | 75 // Used around accesses to |host_zoom_levels_|, |default_zoom_level_| and |
77 // |temporary_zoom_levels_| to guarantee thread safety. | 76 // |temporary_zoom_levels_| to guarantee thread safety. |
78 mutable base::Lock lock_; | 77 mutable base::Lock lock_; |
79 | 78 |
80 content::NotificationRegistrar registrar_; | 79 content::NotificationRegistrar registrar_; |
81 | 80 |
82 DISALLOW_COPY_AND_ASSIGN(HostZoomMapImpl); | 81 DISALLOW_COPY_AND_ASSIGN(HostZoomMapImpl); |
83 }; | 82 }; |
84 | 83 |
85 #endif // CONTENT_BROWSER_HOST_ZOOM_MAP_IMPL_H_ | 84 #endif // CONTENT_BROWSER_HOST_ZOOM_MAP_IMPL_H_ |
OLD | NEW |