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

Side by Side Diff: chrome/browser/chromeos/login/ui/shared_web_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 "chrome/browser/chromeos/login/ui/shared_web_view.h" 5 #include "chrome/browser/chromeos/login/ui/shared_web_view.h"
6 6
7 #include "base/memory/ptr_util.h"
7 #include "chrome/browser/chrome_notification_types.h" 8 #include "chrome/browser/chrome_notification_types.h"
8 #include "chrome/browser/chromeos/login/ui/web_view_handle.h" 9 #include "chrome/browser/chromeos/login/ui/web_view_handle.h"
9 #include "chrome/browser/profiles/profile.h" 10 #include "chrome/browser/profiles/profile.h"
10 #include "content/public/browser/notification_service.h" 11 #include "content/public/browser/notification_service.h"
11 #include "content/public/browser/render_view_host.h" 12 #include "content/public/browser/render_view_host.h"
12 #include "content/public/browser/render_widget_host.h" 13 #include "content/public/browser/render_widget_host.h"
13 #include "content/public/browser/web_contents.h" 14 #include "content/public/browser/web_contents.h"
14 #include "ui/views/controls/webview/webview.h" 15 #include "ui/views/controls/webview/webview.h"
15 16
16 namespace chromeos { 17 namespace chromeos {
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 case base::MemoryPressureListener::MEMORY_PRESSURE_LEVEL_NONE: 73 case base::MemoryPressureListener::MEMORY_PRESSURE_LEVEL_NONE:
73 break; 74 break;
74 case base::MemoryPressureListener::MEMORY_PRESSURE_LEVEL_MODERATE: 75 case base::MemoryPressureListener::MEMORY_PRESSURE_LEVEL_MODERATE:
75 case base::MemoryPressureListener::MEMORY_PRESSURE_LEVEL_CRITICAL: 76 case base::MemoryPressureListener::MEMORY_PRESSURE_LEVEL_CRITICAL:
76 web_view_handle_ = nullptr; 77 web_view_handle_ = nullptr;
77 break; 78 break;
78 } 79 }
79 } 80 }
80 81
81 } // namespace chromeos 82 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/session/chrome_session_manager.cc ('k') | chrome/browser/chromeos/login/ui/web_view_handle.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698