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

Side by Side Diff: chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_framework_service.cc

Issue 2808723004: Renames WmShell to ShellPort (Closed)
Patch Set: feedback Created 3 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 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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/arc/voice_interaction/arc_voice_interaction_fr amework_service.h" 5 #include "chrome/browser/chromeos/arc/voice_interaction/arc_voice_interaction_fr amework_service.h"
6 6
7 #include <utility> 7 #include <utility>
8 #include <vector> 8 #include <vector>
9 9
10 #include "ash/accelerators/accelerator_controller.h" 10 #include "ash/accelerators/accelerator_controller.h"
11 #include "ash/shell.h" 11 #include "ash/shell.h"
12 #include "ash/wm_shell.h"
13 #include "base/command_line.h" 12 #include "base/command_line.h"
14 #include "base/logging.h" 13 #include "base/logging.h"
15 #include "base/memory/ref_counted.h" 14 #include "base/memory/ref_counted.h"
16 #include "base/task_scheduler/post_task.h" 15 #include "base/task_scheduler/post_task.h"
17 #include "chromeos/chromeos_switches.h" 16 #include "chromeos/chromeos_switches.h"
18 #include "components/arc/arc_bridge_service.h" 17 #include "components/arc/arc_bridge_service.h"
19 #include "components/arc/instance_holder.h" 18 #include "components/arc/instance_holder.h"
20 #include "content/public/browser/browser_thread.h" 19 #include "content/public/browser/browser_thread.h"
21 #include "ui/aura/window.h" 20 #include "ui/aura/window.h"
22 #include "ui/snapshot/snapshot.h" 21 #include "ui/snapshot/snapshot.h"
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 return; 101 return;
103 } 102 }
104 ui::GrabWindowSnapshotAsyncPNG(window, gfx::Rect(window->bounds().size()), 103 ui::GrabWindowSnapshotAsyncPNG(window, gfx::Rect(window->bounds().size()),
105 base::CreateTaskRunnerWithTraits( 104 base::CreateTaskRunnerWithTraits(
106 base::TaskTraits().MayBlock().WithPriority( 105 base::TaskTraits().MayBlock().WithPriority(
107 base::TaskPriority::USER_BLOCKING)), 106 base::TaskPriority::USER_BLOCKING)),
108 base::Bind(&ScreenshotCallback, callback)); 107 base::Bind(&ScreenshotCallback, callback));
109 } 108 }
110 109
111 } // namespace arc 110 } // namespace arc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698