Change the window class names
This commit is contained in:
parent
e04c58f398
commit
c7468278df
4 changed files with 4 additions and 4 deletions
|
@ -144,7 +144,7 @@ NativeWindow::NativeWindow(content::WebContents* web_contents,
|
||||||
// Override the user agent to contain application and atom-shell's version.
|
// Override the user agent to contain application and atom-shell's version.
|
||||||
Browser* browser = Browser::Get();
|
Browser* browser = Browser::Get();
|
||||||
std::string product_name = base::StringPrintf(
|
std::string product_name = base::StringPrintf(
|
||||||
"%s/%s Chrome/%s AtomShell/" ATOM_VERSION_STRING,
|
"%s/%s Chrome/%s " ATOM_PRODUCT_NAME "/" ATOM_VERSION_STRING,
|
||||||
RemoveWhitespace(browser->GetName()).c_str(),
|
RemoveWhitespace(browser->GetName()).c_str(),
|
||||||
browser->GetVersion().c_str(),
|
browser->GetVersion().c_str(),
|
||||||
CHROME_VERSION_STRING);
|
CHROME_VERSION_STRING);
|
||||||
|
|
|
@ -120,7 +120,7 @@ struct RunState {
|
||||||
};
|
};
|
||||||
|
|
||||||
bool CreateDialogThread(RunState* run_state) {
|
bool CreateDialogThread(RunState* run_state) {
|
||||||
base::Thread* thread = new base::Thread("AtomShell_FileDialogThread");
|
base::Thread* thread = new base::Thread(ATOM_PRODUCT_NAME "FileDialogThread");
|
||||||
thread->init_com_with_mta(false);
|
thread->init_com_with_mta(false);
|
||||||
if (!thread->Start())
|
if (!thread->Start())
|
||||||
return false;
|
return false;
|
||||||
|
|
|
@ -25,7 +25,7 @@ namespace atom {
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
const char kViewClassName[] = "AtomMenuBar";
|
const char kViewClassName[] = "ElectronMenuBar";
|
||||||
|
|
||||||
// Default color of the menu bar.
|
// Default color of the menu bar.
|
||||||
const SkColor kDefaultColor = SkColorSetARGB(255, 233, 233, 233);
|
const SkColor kDefaultColor = SkColorSetARGB(255, 233, 233, 233);
|
||||||
|
|
|
@ -24,7 +24,7 @@ const UINT kNotifyIconMessage = WM_APP + 1;
|
||||||
// |kBaseIconId| is 2 to avoid conflicts with plugins that hard-code id 1.
|
// |kBaseIconId| is 2 to avoid conflicts with plugins that hard-code id 1.
|
||||||
const UINT kBaseIconId = 2;
|
const UINT kBaseIconId = 2;
|
||||||
|
|
||||||
const wchar_t kNotifyIconHostWindowClass[] = L"AtomShell_NotifyIconHostWindow";
|
const wchar_t kNotifyIconHostWindowClass[] = L"Electron_NotifyIconHostWindow";
|
||||||
|
|
||||||
} // namespace
|
} // namespace
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue