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

Side by Side Diff: chrome/browser/ui/ash/chrome_keyboard_ui.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 (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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/ui/ash/chrome_keyboard_ui.h" 5 #include "chrome/browser/ui/ash/chrome_keyboard_ui.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "ash/public/cpp/shell_window_ids.h" 9 #include "ash/public/cpp/shell_window_ids.h"
10 #include "ash/root_window_controller.h" 10 #include "ash/root_window_controller.h"
11 #include "ash/shell.h" 11 #include "ash/shell.h"
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "base/memory/ptr_util.h"
13 #include "chrome/browser/extensions/chrome_extension_web_contents_observer.h" 14 #include "chrome/browser/extensions/chrome_extension_web_contents_observer.h"
14 #include "chrome/browser/media/webrtc/media_capture_devices_dispatcher.h" 15 #include "chrome/browser/media/webrtc/media_capture_devices_dispatcher.h"
15 #include "content/public/browser/host_zoom_map.h" 16 #include "content/public/browser/host_zoom_map.h"
16 #include "content/public/browser/render_process_host.h" 17 #include "content/public/browser/render_process_host.h"
17 #include "content/public/browser/render_view_host.h" 18 #include "content/public/browser/render_view_host.h"
18 #include "content/public/browser/site_instance.h" 19 #include "content/public/browser/site_instance.h"
19 #include "content/public/browser/web_contents.h" 20 #include "content/public/browser/web_contents.h"
20 #include "extensions/browser/event_router.h" 21 #include "extensions/browser/event_router.h"
21 #include "extensions/browser/extension_registry.h" 22 #include "extensions/browser/extension_registry.h"
22 #include "extensions/browser/view_type_utils.h" 23 #include "extensions/browser/view_type_utils.h"
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 event_args->Append(std::move(input_context)); 232 event_args->Append(std::move(input_context));
232 233
233 std::unique_ptr<extensions::Event> event(new extensions::Event( 234 std::unique_ptr<extensions::Event> event(new extensions::Event(
234 extensions::events::VIRTUAL_KEYBOARD_PRIVATE_ON_TEXT_INPUT_BOX_FOCUSED, 235 extensions::events::VIRTUAL_KEYBOARD_PRIVATE_ON_TEXT_INPUT_BOX_FOCUSED,
235 virtual_keyboard_private::OnTextInputBoxFocused::kEventName, 236 virtual_keyboard_private::OnTextInputBoxFocused::kEventName,
236 std::move(event_args))); 237 std::move(event_args)));
237 event->restrict_to_browser_context = browser_context(); 238 event->restrict_to_browser_context = browser_context();
238 router->DispatchEventToExtension(kVirtualKeyboardExtensionID, 239 router->DispatchEventToExtension(kVirtualKeyboardExtensionID,
239 std::move(event)); 240 std::move(event));
240 } 241 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698