зеркало из https://github.com/electron/electron.git
Fix typos in comments.
This commit is contained in:
Родитель
3f4455a79d
Коммит
0c92d44077
|
@ -7,7 +7,7 @@ const bindings = process.atomBinding('menu');
|
|||
// Automatically generated radio menu item's group id.
|
||||
var nextGroupId = 0;
|
||||
|
||||
// Search between seperators to find a radio menu item and return its group id,
|
||||
// Search between separators to find a radio menu item and return its group id,
|
||||
// otherwise generate a group id.
|
||||
var generateGroupId = function(items, pos) {
|
||||
var i, item, j, k, ref1, ref2, ref3;
|
||||
|
|
|
@ -31,7 +31,7 @@ class AtomBrowserMainParts : public brightray::BrowserMainParts {
|
|||
|
||||
static AtomBrowserMainParts* Get();
|
||||
|
||||
// Sets the exit code, will fail if the the message loop is not ready.
|
||||
// Sets the exit code, will fail if the message loop is not ready.
|
||||
bool SetExitCode(int code);
|
||||
|
||||
// Gets the exit code
|
||||
|
|
|
@ -40,7 +40,7 @@ class GlobalMenuBarX11 {
|
|||
explicit GlobalMenuBarX11(NativeWindowViews* window);
|
||||
virtual ~GlobalMenuBarX11();
|
||||
|
||||
// Creates the object path for DbusemenuServer which is attached to |xid|.
|
||||
// Creates the object path for DbusmenuServer which is attached to |xid|.
|
||||
static std::string GetPathForWindow(gfx::AcceleratedWidget xid);
|
||||
|
||||
void SetMenu(ui::MenuModel* menu_model);
|
||||
|
|
|
@ -211,7 +211,7 @@ bool CrashService::Initialize(const base::string16& application_name,
|
|||
std::wstring pipe_name = kTestPipeName;
|
||||
int max_reports = -1;
|
||||
|
||||
// The checkpoint file allows CrashReportSender to enforce the the maximum
|
||||
// The checkpoint file allows CrashReportSender to enforce the maximum
|
||||
// reports per day quota. Does not seem to serve any other purpose.
|
||||
base::FilePath checkpoint_path = operating_dir.Append(kCheckPointFile);
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@ enum NotificationType {
|
|||
NOTIFICATION_BROWSER_CLOSING,
|
||||
|
||||
// This message is sent after a window has been closed. The source is a
|
||||
// Source<Browser> containing the affected Browser. No details are exptected.
|
||||
// Source<Browser> containing the affected Browser. No details are expected.
|
||||
NOTIFICATION_BROWSER_CLOSED,
|
||||
|
||||
// This message is sent when closing a browser has been cancelled, either by
|
||||
|
@ -411,7 +411,7 @@ enum NotificationType {
|
|||
// the source is a Profile.
|
||||
NOTIFICATION_EXTENSION_LOADED_DEPRECATED,
|
||||
|
||||
// An error occured while attempting to load an extension. The details are a
|
||||
// An error occurred while attempting to load an extension. The details are a
|
||||
// string with details about why the load failed.
|
||||
NOTIFICATION_EXTENSION_LOAD_ERROR,
|
||||
|
||||
|
@ -434,7 +434,7 @@ enum NotificationType {
|
|||
// The details are an InstalledExtensionInfo, and the source is a Profile.
|
||||
NOTIFICATION_EXTENSION_INSTALLED,
|
||||
|
||||
// An error occured during extension install. The details are a string with
|
||||
// An error occurred during extension install. The details are a string with
|
||||
// details about why the install failed.
|
||||
NOTIFICATION_EXTENSION_INSTALL_ERROR,
|
||||
|
||||
|
@ -625,7 +625,7 @@ enum NotificationType {
|
|||
// TabSpecificContentSettings object, there are no details.
|
||||
NOTIFICATION_COLLECTED_COOKIES_SHOWN,
|
||||
|
||||
// Sent when a non-default setting in the the notification content settings
|
||||
// Sent when a non-default setting in the notification content settings
|
||||
// map has changed. The source is the DesktopNotificationService, the
|
||||
// details are None.
|
||||
NOTIFICATION_DESKTOP_NOTIFICATION_SETTINGS_CHANGED,
|
||||
|
@ -776,7 +776,7 @@ enum NotificationType {
|
|||
NOTIFICATION_USER_LIST_CHANGED,
|
||||
|
||||
// Sent when the screen lock state has changed. The source is
|
||||
// ScreenLocker and the details is a bool specifing that the
|
||||
// ScreenLocker and the details is a bool specifying that the
|
||||
// screen is locked. When details is a false, the source object
|
||||
// is being deleted, so the receiver shouldn't use the screen locker
|
||||
// object.
|
||||
|
@ -838,7 +838,7 @@ enum NotificationType {
|
|||
// which was installed.
|
||||
NOTIFICATION_APP_INSTALLED_TO_NTP,
|
||||
|
||||
// Similar to NOTIFICATION_APP_INSTALLED_TO_NTP but used to nofity ash AppList
|
||||
// Similar to NOTIFICATION_APP_INSTALLED_TO_NTP but used to notify ash AppList
|
||||
// about installed app. Source is the profile in which the app is installed
|
||||
// and Details is the string ID of the extension.
|
||||
NOTIFICATION_APP_INSTALLED_TO_APPLIST,
|
||||
|
|
Загрузка…
Ссылка в новой задаче