Cheng Zhao
b2839b08cd
win: Enable high dpi support.
2014-07-11 20:58:39 +08:00
Cheng Zhao
b2afe7b3bf
win: Fix notify icon and context menu.
2014-07-11 19:42:53 +08:00
Cheng Zhao
b4ba149662
Fix a crash when creating window.
2014-07-11 19:39:35 +08:00
Cheng Zhao
43e8ecb118
win: screen module is now browser only.
2014-07-11 19:06:46 +08:00
Cheng Zhao
8d4211bd3a
win: Fix compilation errors for chrome35.
2014-07-11 12:19:01 +08:00
Cheng Zhao
497174bbe4
linux: Avoid using unsigned long directly.
2014-07-11 09:18:06 +08:00
Cheng Zhao
1c62211d99
linux: No need to remember root item in menubar.
2014-07-11 09:09:23 +08:00
Cheng Zhao
7e86e53593
linux: Add support for unity global menubar.
2014-07-11 08:57:19 +08:00
Cheng Zhao
3349b8e6c7
linux: Remove all the X and GTK+ related implementations.
...
Now we only uses GTK+ for app indicator and status icon, also notice the
in Chrome35 the Gtk2StatusIcon class doesn't exist yet so we shipp
related files under chromium_src, remember to delete them after upgraded
to Chrome36.
2014-07-10 13:06:41 +08:00
Cheng Zhao
49160819d2
linux: Implement context menu with views.
2014-07-10 12:07:01 +08:00
Cheng Zhao
83ff00dc29
linux: screen module can not be used in renderer.
2014-07-10 10:26:17 +08:00
Cheng Zhao
e150a3e3b2
Enable accelerated composition in frameless window.
2014-07-09 19:05:24 +08:00
Cheng Zhao
fcf55df874
Avoid duplicate code in main delegate.
2014-07-09 17:15:28 +08:00
Cheng Zhao
7b93a19e9b
Fix context menu in devtools.
2014-07-09 15:41:16 +08:00
Cheng Zhao
4e4227aef8
views: Implement focus and blur event.
2014-07-08 12:55:33 +08:00
Cheng Zhao
ee5312fff9
Merge branch 'master' into chrome35
...
Conflicts:
atom/browser/native_window_gtk.h
2014-07-07 23:49:28 +08:00
Cheng Zhao
b99262af32
views: Use UnhandledKeyboardEventHandler to handle accelerators.
2014-07-07 23:02:46 +08:00
Cheng Zhao
3d36a6a793
views: Make resizable frameless window work.
2014-07-07 22:40:26 +08:00
Cheng Zhao
db98a3842f
views: Implment skip-taskbar option.
2014-07-07 22:40:25 +08:00
Cheng Zhao
a5e2ea2899
views: Make frameless window work.
2014-07-07 22:40:23 +08:00
Cheng Zhao
e7feafb2cc
views: Use our own CustomFrameView implementation.
2014-07-07 15:35:16 +08:00
Cheng Zhao
4609a8d2be
linux: Fix setting parent window for file dialogs.
2014-07-05 00:00:54 +08:00
Cheng Zhao
66ab127389
Merge pull request #437 from avdg/maximize
...
Add BrowserWindow::isMaximized.
2014-07-04 23:17:33 +08:00
Cheng Zhao
b3bccd2e1e
views: Be correct on widget's life time.
2014-07-04 17:24:49 +08:00
Cheng Zhao
3c892b8591
views: Make acceleratros work.
2014-07-04 16:54:10 +08:00
Cheng Zhao
0a38f3321e
views: Currently set window's frames.
2014-07-04 12:32:03 +08:00
Cheng Zhao
61db17412c
Use views to implement NativeWindow and MessageBox on Linux.
2014-07-04 01:30:36 +08:00
Cheng Zhao
84878c4c77
Initial work for Aura on Linux.
2014-07-02 22:49:45 +08:00
Cheng Zhao
949821f255
Use new devtools structure in brightray.
...
Fixes #210 .
Fixes #275 .
2014-07-02 16:38:11 +08:00
Mark Samman
2ed46e6f7f
Move item to trash without confirming on Windows
...
This will skip the "Are you sure you want to move this file to the Recycle Bin?" dialog on Windows.
2014-07-02 03:55:29 +02:00
Cheng Zhao
6a891be0e4
Make the node environment constrained in browser_main_parts.
2014-06-30 14:16:16 +08:00
Cheng Zhao
2736b5dab3
Fix assertion caused by base::mac::AssignOverridePath.
2014-06-30 12:15:59 +08:00
Cheng Zhao
d5b2a5af26
Fix invoking ContentMain.
2014-06-30 11:44:05 +08:00
Cheng Zhao
750148f7b4
Fix using common modules.
2014-06-30 10:06:10 +08:00
Cheng Zhao
ba46f2c820
Use new context aware module API in builtin modules.
2014-06-29 20:48:44 +08:00
Cheng Zhao
69adff19fe
Force all builtin modules to be referenced.
2014-06-29 18:15:39 +08:00
Cheng Zhao
64bf1bcb9f
Move all chromium's code under chromium_src.
2014-06-29 06:06:35 +00:00
Cheng Zhao
1f99a97544
gtk: Fix lack of x11_util implementations.
2014-06-29 05:31:11 +00:00
Cheng Zhao
f4b6ca70a9
gtk: Import chromium's ActiveWindowWatcherX.
2014-06-29 04:05:29 +00:00
Cheng Zhao
e5c10f29de
gtk: Use libgtk2ui from chrome.
2014-06-29 03:41:22 +00:00
Cheng Zhao
436deddf68
Fix compilation errors on Linux.
2014-06-29 01:51:02 +00:00
Cheng Zhao
ad19381217
Fix ICU inilialization bug.
2014-06-28 23:58:53 +08:00
Cheng Zhao
cd4c5d976b
Adapt to API changes of Chromium and node.
2014-06-28 22:33:00 +08:00
Cheng Zhao
58ccb27792
There is no more node_isolate.
2014-06-28 19:49:55 +08:00
Cheng Zhao
e0e1d45859
Rename string16 to base::string16.
2014-06-28 19:49:22 +08:00
Cheng Zhao
c713deb1e8
Upgrade to new V8 APIs.
2014-06-28 19:31:23 +08:00
Anthony Van de Gejuchte
348dc8365b
Fix return types
2014-06-28 10:17:37 +09:00
Anthony Van de Gejuchte
dad7aa6a20
Add BrowserWindow::isMaximized.
2014-06-28 09:56:39 +09:00
Cheng Zhao
72d6778894
gtk: Make AppIndicator.SetContextMenu async, fixes #430 .
2014-06-26 12:09:07 +08:00
Cheng Zhao
0440c59d18
Remove native_window's dead code.
2014-06-25 13:21:04 +08:00
Cheng Zhao
8ecc4061a8
mac: Add app.dock.hide()/show() APIs, closes #422 .
2014-06-25 11:55:33 +08:00
Cheng Zhao
3eecd664b4
Bump v0.13.3.
2014-06-25 09:17:06 +08:00
Cheng Zhao
79c3377cd7
Show chromium's version in user agent, fixes #428 .
2014-06-25 09:05:10 +08:00
Cheng Zhao
32c881bde9
gtk: Make BrowserWindow::HasModalDialog work.
...
Fixes atom/atom#2658 .
2014-06-24 21:52:06 +08:00
Cheng Zhao
2ff4d56d6d
Fix compilation error.
2014-06-23 22:31:02 +08:00
Cheng Zhao
ca1d2a32b0
Support high dpi icon as window icon.
2014-06-23 22:26:01 +08:00
Cheng Zhao
b92e6e97ea
Dicard uses of base::Value in native_window.
2014-06-23 22:08:40 +08:00
Cheng Zhao
84e2c35611
Use mate::Dictionary instead of base::DictionaryValue for options.
...
mate::Dictionary can represent arbitray type, which matches our use.
2014-06-23 21:56:22 +08:00
Cheng Zhao
0349fdfd67
Fix converting empty V8 dictionary.
2014-06-23 21:50:28 +08:00
Cheng Zhao
11e4111f25
Recognize the "@2x" suffix of icon's filename.
2014-06-23 13:09:06 +08:00
Cheng Zhao
6cac69238c
mac: Convert from ImageSkia to NSImage to reserve DPI info.
2014-06-23 12:59:10 +08:00
Cheng Zhao
ae3958c997
The default_app should also set process.mainModule.
2014-06-22 14:57:11 +08:00
Cheng Zhao
9c84f92f3e
remote.require should use process.mainModule.require.
2014-06-22 14:56:30 +08:00
Cheng Zhao
48224a6455
Set process.mainModule to user's app.
2014-06-22 14:56:00 +08:00
Amin Ullah Khan
3d89181e96
Removed a typo
...
Fix for #416
2014-06-21 20:34:31 +05:00
Cheng Zhao
32323a0006
Bump v0.13.2.
2014-06-18 01:09:04 +00:00
Kevin Sawicki
edc043c924
Make escape to ui::VKEY_ESCAPE
2014-06-17 14:47:35 -07:00
Cheng Zhao
f4aadcbbfc
Do not disable detached devtools.
2014-06-17 16:35:23 +08:00
Cheng Zhao
81eedd4faf
mac: Fix handling event from other windows.
2014-06-17 16:35:19 +08:00
Cheng Zhao
054daadc33
💄 Fix cpplint warnings.
2014-06-16 21:29:18 +08:00
Cheng Zhao
05f079fa5b
Allow setting default zoom factor.
2014-06-16 18:52:04 +08:00
Cheng Zhao
8c264b9a07
Add zoom factor APIs alternative to zoom level.
2014-06-16 14:40:02 +08:00
Cheng Zhao
accfabf569
Add web-view module.
2014-06-16 14:27:57 +08:00
Cheng Zhao
d4e9518ec6
win: Implement setSkipTaskbar.
2014-06-16 10:49:55 +08:00
Cheng Zhao
70d3365414
gtk: Add BrowserWindow.setSkipTaskbar API.
2014-06-16 10:29:51 +08:00
Cheng Zhao
a8cb839734
webContents.executeJavaScript should run code after page is loaded.
...
Fixes atom/atom#1805 .
2014-06-16 09:10:41 +08:00
Cheng Zhao
5270eab512
Do not assume trailing callback in dialog API, fixes #395 .
2014-06-15 12:43:28 +08:00
Cheng Zhao
c97e849610
Bump v0.13.1.
2014-06-14 22:27:06 +08:00
Cheng Zhao
2cdcb45d16
Support INSERT in accelerator, fixes #398 .
2014-06-14 22:25:21 +08:00
Cheng Zhao
b431566421
mac: Make sure web view is the first responder of window, fixes #382 .
2014-06-11 15:57:40 +08:00
Cheng Zhao
4aa217970e
win: Implement attached devtools, fixes #373 .
2014-06-11 11:03:10 +08:00
Cheng Zhao
1d6b02f304
mac: Restore presentation options when leaving kiosk mode, fixes #272 .
2014-06-09 13:04:59 +08:00
Cheng Zhao
7d38fe61d2
"did-finish-load" should only emit for main frame, fixes #385 .
2014-06-09 12:03:19 +08:00
Cheng Zhao
2b0ec2bcc6
Bump v0.13.0.
2014-06-05 07:14:32 +00:00
Cheng Zhao
c575d40d63
💄 Fix clipboard on Linux.
2014-06-05 15:22:36 +08:00
Cheng Zhao
950704c7e8
Provide API to access selection clipboard, fixes #377 .
2014-06-05 14:48:12 +08:00
Cheng Zhao
7c14c2758b
Return unicode string in clipboard.readText(), fixes atom/atom#2145 .
2014-06-05 11:43:45 +08:00
Cheng Zhao
04cbb76776
win: Remove focus listener after window is closed, fixes #364 .
2014-06-03 14:39:47 +08:00
Cheng Zhao
53092cfb7c
win: Fix context menu clicking in notify icon.
2014-06-03 14:11:12 +08:00
Cheng Zhao
9ef7ecbdaf
Win: Implement context menu for tray icon.
2014-06-03 11:52:57 +08:00
Cheng Zhao
1cb135f7f2
win: Implement tray icon API.
2014-06-03 11:25:09 +08:00
Cheng Zhao
540e6ff01b
gtk: Implement click event for status icon.
2014-06-02 23:10:36 +08:00
Cheng Zhao
4647efd22f
💄 Fix cpplint warning.
2014-06-02 11:47:37 +08:00
Cheng Zhao
da31588e0d
mac: Implement the "click" event of TrayIcon.
2014-06-02 11:28:23 +08:00
Cheng Zhao
cbd9366898
Add "click" event for TrayIcon.
2014-06-02 11:08:29 +08:00
Cheng Zhao
9699dbb71f
gtk: Add app indicator support as tray icon.
2014-06-01 10:20:06 +08:00
Cheng Zhao
065185baea
gtk: Add TrayIcon implementation for GtkStatusIcon.
2014-05-31 10:27:07 +08:00
Cheng Zhao
6c7fe80ec5
Bind TrayIcon to JS.
2014-05-30 23:57:54 +08:00
Cheng Zhao
52d8d6fdb3
Add native_mate converters for ImageSkia.
2014-05-30 23:05:24 +08:00
Cheng Zhao
6f5184f001
mac: Simple implementation of tray icon.
2014-05-30 14:37:53 +08:00