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

Side by Side Diff: services/navigation/public/cpp/view.cc

Issue 2598963005: Include-what-you-use for WrapUnique/MakeUnique. (Closed)
Patch Set: restore order of includes in x11_topmost_window_finder_interactive_uitest.cc Created 3 years, 12 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 "services/navigation/public/cpp/view.h" 5 #include "services/navigation/public/cpp/view.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/memory/ptr_util.h"
8 #include "base/strings/utf_string_conversions.h" 9 #include "base/strings/utf_string_conversions.h"
9 #include "services/navigation/public/cpp/view_delegate.h" 10 #include "services/navigation/public/cpp/view_delegate.h"
10 #include "services/navigation/public/cpp/view_observer.h" 11 #include "services/navigation/public/cpp/view_observer.h"
11 #include "ui/aura/mus/window_port_mus.h" 12 #include "ui/aura/mus/window_port_mus.h"
12 #include "ui/aura/window.h" 13 #include "ui/aura/window.h"
13 14
14 namespace navigation { 15 namespace navigation {
15 namespace { 16 namespace {
16 17
17 // Callback with result of Embed(). 18 // Callback with result of Embed().
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 if (from_front) { 184 if (from_front) {
184 auto it = navigation_list_.begin() + count; 185 auto it = navigation_list_.begin() + count;
185 navigation_list_.erase(navigation_list_.begin(), it); 186 navigation_list_.erase(navigation_list_.begin(), it);
186 } else { 187 } else {
187 auto it = navigation_list_.end() - count; 188 auto it = navigation_list_.end() - count;
188 navigation_list_.erase(it, navigation_list_.end()); 189 navigation_list_.erase(it, navigation_list_.end());
189 } 190 }
190 } 191 }
191 192
192 } // namespace navigation 193 } // namespace navigation
OLDNEW
« no previous file with comments | « services/navigation/navigation.cc ('k') | services/preferences/public/cpp/pref_observer_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698