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

Side by Side Diff: components/ui/zoom/zoom_event_manager.h

Issue 1874903002: Convert //content from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix indent Created 4 years, 8 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 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 COMPONENTS_UI_ZOOM_ZOOM_EVENT_MANAGER_H_ 5 #ifndef COMPONENTS_UI_ZOOM_ZOOM_EVENT_MANAGER_H_
6 #define COMPONENTS_UI_ZOOM_ZOOM_EVENT_MANAGER_H_ 6 #define COMPONENTS_UI_ZOOM_ZOOM_EVENT_MANAGER_H_
7 7
8 #include "base/callback_list.h" 8 #include "base/callback_list.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/memory/scoped_ptr.h"
10 #include "base/memory/weak_ptr.h" 11 #include "base/memory/weak_ptr.h"
11 #include "base/observer_list.h" 12 #include "base/observer_list.h"
12 #include "base/supports_user_data.h" 13 #include "base/supports_user_data.h"
13 #include "content/public/browser/host_zoom_map.h" 14 #include "content/public/browser/host_zoom_map.h"
14 15
15 namespace content { 16 namespace content {
16 class BrowserContext; 17 class BrowserContext;
17 } // namespace content 18 } // namespace content
18 19
19 namespace ui_zoom { 20 namespace ui_zoom {
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 zoom_level_changed_callbacks_; 64 zoom_level_changed_callbacks_;
64 base::ObserverList<ZoomEventManagerObserver> observers_; 65 base::ObserverList<ZoomEventManagerObserver> observers_;
65 base::WeakPtrFactory<ZoomEventManager> weak_ptr_factory_; 66 base::WeakPtrFactory<ZoomEventManager> weak_ptr_factory_;
66 67
67 DISALLOW_COPY_AND_ASSIGN(ZoomEventManager); 68 DISALLOW_COPY_AND_ASSIGN(ZoomEventManager);
68 }; 69 };
69 70
70 } // namespace ui_zoom 71 } // namespace ui_zoom
71 72
72 #endif // COMPONENTS_UI_ZOOM_ZOOM_EVENT_MANAGER_H_ 73 #endif // COMPONENTS_UI_ZOOM_ZOOM_EVENT_MANAGER_H_
OLDNEW
« no previous file with comments | « components/nacl/loader/sandbox_linux/nacl_bpf_sandbox_linux.cc ('k') | content/app/android/content_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698