Fix typos in comments.
This commit is contained in:
parent
3f4455a79d
commit
0c92d44077
5 changed files with 10 additions and 10 deletions
|
@ -7,7 +7,7 @@ const bindings = process.atomBinding('menu');
|
||||||
// Automatically generated radio menu item's group id.
|
// Automatically generated radio menu item's group id.
|
||||||
var nextGroupId = 0;
|
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.
|
// otherwise generate a group id.
|
||||||
var generateGroupId = function(items, pos) {
|
var generateGroupId = function(items, pos) {
|
||||||
var i, item, j, k, ref1, ref2, ref3;
|
var i, item, j, k, ref1, ref2, ref3;
|
||||||
|
|
|
@ -31,7 +31,7 @@ class AtomBrowserMainParts : public brightray::BrowserMainParts {
|
||||||
|
|
||||||
static AtomBrowserMainParts* Get();
|
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);
|
bool SetExitCode(int code);
|
||||||
|
|
||||||
// Gets the exit code
|
// Gets the exit code
|
||||||
|
|
|
@ -40,7 +40,7 @@ class GlobalMenuBarX11 {
|
||||||
explicit GlobalMenuBarX11(NativeWindowViews* window);
|
explicit GlobalMenuBarX11(NativeWindowViews* window);
|
||||||
virtual ~GlobalMenuBarX11();
|
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);
|
static std::string GetPathForWindow(gfx::AcceleratedWidget xid);
|
||||||
|
|
||||||
void SetMenu(ui::MenuModel* menu_model);
|
void SetMenu(ui::MenuModel* menu_model);
|
||||||
|
|
|
@ -211,7 +211,7 @@ bool CrashService::Initialize(const base::string16& application_name,
|
||||||
std::wstring pipe_name = kTestPipeName;
|
std::wstring pipe_name = kTestPipeName;
|
||||||
int max_reports = -1;
|
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.
|
// reports per day quota. Does not seem to serve any other purpose.
|
||||||
base::FilePath checkpoint_path = operating_dir.Append(kCheckPointFile);
|
base::FilePath checkpoint_path = operating_dir.Append(kCheckPointFile);
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,7 @@ enum NotificationType {
|
||||||
NOTIFICATION_BROWSER_CLOSING,
|
NOTIFICATION_BROWSER_CLOSING,
|
||||||
|
|
||||||
// This message is sent after a window has been closed. The source is a
|
// 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,
|
NOTIFICATION_BROWSER_CLOSED,
|
||||||
|
|
||||||
// This message is sent when closing a browser has been cancelled, either by
|
// This message is sent when closing a browser has been cancelled, either by
|
||||||
|
@ -411,7 +411,7 @@ enum NotificationType {
|
||||||
// the source is a Profile.
|
// the source is a Profile.
|
||||||
NOTIFICATION_EXTENSION_LOADED_DEPRECATED,
|
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.
|
// string with details about why the load failed.
|
||||||
NOTIFICATION_EXTENSION_LOAD_ERROR,
|
NOTIFICATION_EXTENSION_LOAD_ERROR,
|
||||||
|
|
||||||
|
@ -434,7 +434,7 @@ enum NotificationType {
|
||||||
// The details are an InstalledExtensionInfo, and the source is a Profile.
|
// The details are an InstalledExtensionInfo, and the source is a Profile.
|
||||||
NOTIFICATION_EXTENSION_INSTALLED,
|
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.
|
// details about why the install failed.
|
||||||
NOTIFICATION_EXTENSION_INSTALL_ERROR,
|
NOTIFICATION_EXTENSION_INSTALL_ERROR,
|
||||||
|
|
||||||
|
@ -625,7 +625,7 @@ enum NotificationType {
|
||||||
// TabSpecificContentSettings object, there are no details.
|
// TabSpecificContentSettings object, there are no details.
|
||||||
NOTIFICATION_COLLECTED_COOKIES_SHOWN,
|
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
|
// map has changed. The source is the DesktopNotificationService, the
|
||||||
// details are None.
|
// details are None.
|
||||||
NOTIFICATION_DESKTOP_NOTIFICATION_SETTINGS_CHANGED,
|
NOTIFICATION_DESKTOP_NOTIFICATION_SETTINGS_CHANGED,
|
||||||
|
@ -776,7 +776,7 @@ enum NotificationType {
|
||||||
NOTIFICATION_USER_LIST_CHANGED,
|
NOTIFICATION_USER_LIST_CHANGED,
|
||||||
|
|
||||||
// Sent when the screen lock state has changed. The source is
|
// 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
|
// screen is locked. When details is a false, the source object
|
||||||
// is being deleted, so the receiver shouldn't use the screen locker
|
// is being deleted, so the receiver shouldn't use the screen locker
|
||||||
// object.
|
// object.
|
||||||
|
@ -838,7 +838,7 @@ enum NotificationType {
|
||||||
// which was installed.
|
// which was installed.
|
||||||
NOTIFICATION_APP_INSTALLED_TO_NTP,
|
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
|
// about installed app. Source is the profile in which the app is installed
|
||||||
// and Details is the string ID of the extension.
|
// and Details is the string ID of the extension.
|
||||||
NOTIFICATION_APP_INSTALLED_TO_APPLIST,
|
NOTIFICATION_APP_INSTALLED_TO_APPLIST,
|
||||||
|
|
Loading…
Reference in a new issue