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

Side by Side Diff: ui/aura/env.cc

Issue 1868363002: Replace scoped_ptr with std::unique_ptr in //ui (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@scopedptrcc
Patch Set: scopedptrui: rebase-make_scoped_ptr 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
« no previous file with comments | « ui/aura/env.h ('k') | ui/aura/gestures/gesture_recognizer_unittest.cc » ('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 (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 #include "ui/aura/env.h" 5 #include "ui/aura/env.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/lazy_instance.h" 8 #include "base/lazy_instance.h"
9 #include "base/threading/thread_local.h" 9 #include "base/threading/thread_local.h"
10 #include "ui/aura/env_observer.h" 10 #include "ui/aura/env_observer.h"
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 // Env, ui::EventTarget implementation: 116 // Env, ui::EventTarget implementation:
117 117
118 bool Env::CanAcceptEvent(const ui::Event& event) { 118 bool Env::CanAcceptEvent(const ui::Event& event) {
119 return true; 119 return true;
120 } 120 }
121 121
122 ui::EventTarget* Env::GetParentTarget() { 122 ui::EventTarget* Env::GetParentTarget() {
123 return NULL; 123 return NULL;
124 } 124 }
125 125
126 scoped_ptr<ui::EventTargetIterator> Env::GetChildIterator() const { 126 std::unique_ptr<ui::EventTargetIterator> Env::GetChildIterator() const {
127 return nullptr; 127 return nullptr;
128 } 128 }
129 129
130 ui::EventTargeter* Env::GetEventTargeter() { 130 ui::EventTargeter* Env::GetEventTargeter() {
131 NOTREACHED(); 131 NOTREACHED();
132 return NULL; 132 return NULL;
133 } 133 }
134 134
135 } // namespace aura 135 } // namespace aura
OLDNEW
« no previous file with comments | « ui/aura/env.h ('k') | ui/aura/gestures/gesture_recognizer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698