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

Side by Side Diff: ui/app_list/app_list_switches.cc

Issue 2898743002: Draggable peeking/fullscreen launcher with transparent background. (Closed)
Patch Set: adressed comments. 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 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 "ui/app_list/app_list_switches.h" 5 #include "ui/app_list/app_list_switches.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/metrics/field_trial_params.h"
9 #include "ui/app_list/app_list_features.h"
xiyuan 2017/05/26 18:27:31 Are these two used in this file?
newcomer 2017/05/26 23:20:21 Done.
8 10
9 namespace app_list { 11 namespace app_list {
10 namespace switches { 12 namespace switches {
11 13
12 // Specifies the chrome-extension:// URL for the contents of an additional page 14 // Specifies the chrome-extension:// URL for the contents of an additional page
13 // added to the app launcher. 15 // added to the app launcher.
14 const char kCustomLauncherPage[] = "custom-launcher-page"; 16 const char kCustomLauncherPage[] = "custom-launcher-page";
15 17
16 // If set, the app list will not be dismissed when it loses focus. This is 18 // If set, the app list will not be dismissed when it loses focus. This is
17 // useful when testing the app list or a custom launcher page. It can still be 19 // useful when testing the app list or a custom launcher page. It can still be
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 70
69 if (base::CommandLine::ForCurrentProcess()->HasSwitch( 71 if (base::CommandLine::ForCurrentProcess()->HasSwitch(
70 kDisableDriveSearchInChromeLauncher)) 72 kDisableDriveSearchInChromeLauncher))
71 return false; 73 return false;
72 74
73 return true; 75 return true;
74 } 76 }
75 77
76 } // namespace switches 78 } // namespace switches
77 } // namespace app_list 79 } // namespace app_list
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698