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

Side by Side Diff: ash/shell.h

Issue 2861173002: Add --use-ime-service command line flag to enable InputMethodMus in --mus. (Closed)
Patch Set: Refactor the condition for using ime service. Created 3 years, 7 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 | « ash/mus/bridge/shell_port_mash.cc ('k') | ash/shell.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 #ifndef ASH_SHELL_H_ 5 #ifndef ASH_SHELL_H_
6 #define ASH_SHELL_H_ 6 #define ASH_SHELL_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 } 251 }
252 252
253 static void set_window_manager_client(aura::WindowManagerClient* client) { 253 static void set_window_manager_client(aura::WindowManagerClient* client) {
254 window_manager_client_ = client; 254 window_manager_client_ = client;
255 } 255 }
256 static aura::WindowManagerClient* window_manager_client() { 256 static aura::WindowManagerClient* window_manager_client() {
257 return window_manager_client_; 257 return window_manager_client_;
258 } 258 }
259 259
260 static Config GetAshConfig(); 260 static Config GetAshConfig();
261 static bool UseIMEService();
sky 2017/05/05 17:08:08 'UseIMEService' reads a verb, where as this is inf
Hadi 2017/05/05 17:27:40 Done.
261 262
262 // Creates a default views::NonClientFrameView for use by windows in the 263 // Creates a default views::NonClientFrameView for use by windows in the
263 // Ash environment. 264 // Ash environment.
264 views::NonClientFrameView* CreateDefaultNonClientFrameView( 265 views::NonClientFrameView* CreateDefaultNonClientFrameView(
265 views::Widget* widget); 266 views::Widget* widget);
266 267
267 // Sets work area insets of the display containing |window|, pings observers. 268 // Sets work area insets of the display containing |window|, pings observers.
268 void SetDisplayWorkAreaInsets(aura::Window* window, 269 void SetDisplayWorkAreaInsets(aura::Window* window,
269 const gfx::Insets& insets); 270 const gfx::Insets& insets);
270 271
(...skipping 538 matching lines...) Expand 10 before | Expand all | Expand 10 after
809 base::ObserverList<ShellObserver> shell_observers_; 810 base::ObserverList<ShellObserver> shell_observers_;
810 811
811 scoped_refptr<base::SequencedWorkerPool> blocking_pool_; 812 scoped_refptr<base::SequencedWorkerPool> blocking_pool_;
812 813
813 DISALLOW_COPY_AND_ASSIGN(Shell); 814 DISALLOW_COPY_AND_ASSIGN(Shell);
814 }; 815 };
815 816
816 } // namespace ash 817 } // namespace ash
817 818
818 #endif // ASH_SHELL_H_ 819 #endif // ASH_SHELL_H_
OLDNEW
« no previous file with comments | « ash/mus/bridge/shell_port_mash.cc ('k') | ash/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698