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

Side by Side Diff: chrome/common/extensions/extension_constants.cc

Issue 1611463002: Remove the close button in context menu for IME menu. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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) 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 #include "base/macros.h" 5 #include "base/macros.h"
6 #include "build/build_config.h" 6 #include "build/build_config.h"
7 #include "chrome/common/extensions/extension_constants.h" 7 #include "chrome/common/extensions/extension_constants.h"
8 8
9 namespace extension_urls { 9 namespace extension_urls {
10 10
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 const char kConnectivityDiagnosticsLauncherPath[] = 74 const char kConnectivityDiagnosticsLauncherPath[] =
75 "/usr/share/chromeos-assets/connectivity_diagnostics_launcher"; 75 "/usr/share/chromeos-assets/connectivity_diagnostics_launcher";
76 const char kFirstRunDialogId[] = "jdgcneonijmofocbhmijhacgchbihela"; 76 const char kFirstRunDialogId[] = "jdgcneonijmofocbhmijhacgchbihela";
77 const char kSpeechSynthesisExtensionPath[] = 77 const char kSpeechSynthesisExtensionPath[] =
78 "/usr/share/chromeos-assets/speech_synthesis/patts"; 78 "/usr/share/chromeos-assets/speech_synthesis/patts";
79 const char kSpeechSynthesisExtensionId[] = 79 const char kSpeechSynthesisExtensionId[] =
80 "gjjabgpgjpampikjhjpfhneeoapjbjaf"; 80 "gjjabgpgjpampikjhjpfhneeoapjbjaf";
81 const char kWallpaperManagerId[] = "obklkkbkpaoaejdabbfldmcfplpdgolj"; 81 const char kWallpaperManagerId[] = "obklkkbkpaoaejdabbfldmcfplpdgolj";
82 const char kWebstoreWidgetAppId[] = "fbjakikfhfdajcamjleinfciajelkpek"; 82 const char kWebstoreWidgetAppId[] = "fbjakikfhfdajcamjleinfciajelkpek";
83 const char kZIPUnpackerExtensionId[] = "oedeeodfidgoollimchfdnbmhcpnklnd"; 83 const char kZIPUnpackerExtensionId[] = "oedeeodfidgoollimchfdnbmhcpnklnd";
84 const char* const kImeMenuExtensionIds[] = {"gjaehgfemfahhmlgpdfknkhdnemmolop",
85 "jkghodnilhceideoidjikpgommlajknk"};
86 bool IsImeMenuExtensionId(const std::string extension_id) {
stevenjb 2016/01/28 18:45:04 string&
Azure Wei 2016/01/29 02:43:59 Done.
87 for (const char* id : kImeMenuExtensionIds) {
88 if (extension_id == id)
89 return true;
90 }
91 return false;
92 }
84 #else 93 #else
85 // The extension id for the web store extension. 94 // The extension id for the web store extension.
86 const char kChromeVoxExtensionId[] = 95 const char kChromeVoxExtensionId[] =
87 "kgejglhpjiefppelpmljglcjbhoiplfn"; 96 "kgejglhpjiefppelpmljglcjbhoiplfn";
88 #endif 97 #endif
89 98
90 const char kAppStateNotInstalled[] = "not_installed"; 99 const char kAppStateNotInstalled[] = "not_installed";
91 const char kAppStateInstalled[] = "installed"; 100 const char kAppStateInstalled[] = "installed";
92 const char kAppStateDisabled[] = "disabled"; 101 const char kAppStateDisabled[] = "disabled";
93 const char kAppStateRunning[] = "running"; 102 const char kAppStateRunning[] = "running";
(...skipping 26 matching lines...) Expand all
120 0xfc, 0xf3, 0x08, 0x12, 0xff, 0x93, 0xbd, 0x62, 0x31, 0xd8, 0x1c, 0xea, 129 0xfc, 0xf3, 0x08, 0x12, 0xff, 0x93, 0xbd, 0x62, 0x31, 0xd8, 0x1c, 0xea,
121 0x1a, 0x9e, 0xf5, 0x81, 0x28, 0x7f, 0x75, 0x5e, 0xd2, 0x27, 0x7a, 0xc2, 130 0x1a, 0x9e, 0xf5, 0x81, 0x28, 0x7f, 0x75, 0x5e, 0xd2, 0x27, 0x7a, 0xc2,
122 0x96, 0xf5, 0x9d, 0xdb, 0x18, 0xfc, 0x76, 0xdc, 0x46, 0xf0, 0x57, 0xc0, 131 0x96, 0xf5, 0x9d, 0xdb, 0x18, 0xfc, 0x76, 0xdc, 0x46, 0xf0, 0x57, 0xc0,
123 0x58, 0x34, 0xc8, 0x22, 0x2d, 0x2a, 0x65, 0x75, 0xa7, 0xd9, 0x08, 0x62, 132 0x58, 0x34, 0xc8, 0x22, 0x2d, 0x2a, 0x65, 0x75, 0xa7, 0xd9, 0x08, 0x62,
124 0xcd, 0x02, 0x03, 0x01, 0x00, 0x01}; 133 0xcd, 0x02, 0x03, 0x01, 0x00, 0x01};
125 134
126 const int kWebstoreSignaturesPublicKeySize = 135 const int kWebstoreSignaturesPublicKeySize =
127 arraysize(kWebstoreSignaturesPublicKey); 136 arraysize(kWebstoreSignaturesPublicKey);
128 137
129 } // namespace extension_misc 138 } // namespace extension_misc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698