Re: Using window.open(), Chrome and extensions in GWT project..

2011-10-05 Thread Ben
I can only PARTLY answer my own question: in a Chrome window opened
via open.window() you can right-click on the title bar and select
open in tab. this returns the window to traditional form and exposes
the extensions bar. This is an extra step and we'd still love to see
if extensions bar can be made visible by default from window.open().

On Oct 4, 3:52 pm, Ben ben.falc...@gmail.com wrote:
 As a part of a larger GWT project we have some native JavaScript in
 which we use window.open to create a new Chrome instance. So far so
 good. But we have some Chrome extensions (e.g., a screenshot extension
 - 'Awesome Screenshot', or 'Screen capture (by Google)') that we want
 available to this new window. Is is possible to show the extensions
 bar in the new.window ??  Is there any other hooks so we can make use
 of the screen-capture capabilities from the new window?  (Yes, I
 realize that on WinXP/Win7 one could use system utils like
 SnippingTool or alt-printScrn).

 Thanks.

 Example window.open():

 body
 ullia href= onclick=window.open('http://www.google.com',
 'mywindow', 'width=700, height=700, scrollbars=no, resizable=no,
 toolbar=no, menubar=no, location=no'); return false;Pop out a new
 Chrome window (can i make the extensions-bar visible too??)/a/li/
 ul
 /body

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Using window.open(), Chrome and extensions in GWT project..

2011-10-05 Thread Magno Machado
Adding another question to this: How can i get the handler for this opened
window?
Javascript's window.open() returns a reference to opened window.
However, GWT's Window.open() doesn't, so you'll have to use JSNI here

On Wed, Oct 5, 2011 at 11:10 AM, Ben ben.falc...@gmail.com wrote:

 I can only PARTLY answer my own question: in a Chrome window opened
 via open.window() you can right-click on the title bar and select
 open in tab. this returns the window to traditional form and exposes
 the extensions bar. This is an extra step and we'd still love to see
 if extensions bar can be made visible by default from window.open().

 On Oct 4, 3:52 pm, Ben ben.falc...@gmail.com wrote:
  As a part of a larger GWT project we have some native JavaScript in
  which we use window.open to create a new Chrome instance. So far so
  good. But we have some Chrome extensions (e.g., a screenshot extension
  - 'Awesome Screenshot', or 'Screen capture (by Google)') that we want
  available to this new window. Is is possible to show the extensions
  bar in the new.window ??  Is there any other hooks so we can make use
  of the screen-capture capabilities from the new window?  (Yes, I
  realize that on WinXP/Win7 one could use system utils like
  SnippingTool or alt-printScrn).
 
  Thanks.
 
  Example window.open():
 
  body
  ullia href= onclick=window.open('http://www.google.com',
  'mywindow', 'width=700, height=700, scrollbars=no, resizable=no,
  toolbar=no, menubar=no, location=no'); return false;Pop out a new
  Chrome window (can i make the extensions-bar visible too??)/a/li/
  ul
  /body

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.




-- 
Magno Machado Paulo
http://blog.magnomachado.com.br
http://code.google.com/p/emballo/

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Using window.open(), Chrome and extensions in GWT project..

2011-10-04 Thread Ben
As a part of a larger GWT project we have some native JavaScript in
which we use window.open to create a new Chrome instance. So far so
good. But we have some Chrome extensions (e.g., a screenshot extension
- 'Awesome Screenshot', or 'Screen capture (by Google)') that we want
available to this new window. Is is possible to show the extensions
bar in the new.window ??  Is there any other hooks so we can make use
of the screen-capture capabilities from the new window?  (Yes, I
realize that on WinXP/Win7 one could use system utils like
SnippingTool or alt-printScrn).

Thanks.

Example window.open():

body
ullia href= onclick=window.open('http://www.google.com',
'mywindow', 'width=700, height=700, scrollbars=no, resizable=no,
toolbar=no, menubar=no, location=no'); return false;Pop out a new
Chrome window (can i make the extensions-bar visible too??)/a/li/
ul
/body

-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.



Re: Using window.open(), Chrome and extensions in GWT project..

2011-10-04 Thread Bruno Sandivilli
Adding another question to this: How can i get the handler for this opened
window?

2011/10/4 Ben ben.falc...@gmail.com

 As a part of a larger GWT project we have some native JavaScript in
 which we use window.open to create a new Chrome instance. So far so
 good. But we have some Chrome extensions (e.g., a screenshot extension
 - 'Awesome Screenshot', or 'Screen capture (by Google)') that we want
 available to this new window. Is is possible to show the extensions
 bar in the new.window ??  Is there any other hooks so we can make use
 of the screen-capture capabilities from the new window?  (Yes, I
 realize that on WinXP/Win7 one could use system utils like
 SnippingTool or alt-printScrn).

 Thanks.

 Example window.open():

 body
 ullia href= onclick=window.open('http://www.google.com',
 'mywindow', 'width=700, height=700, scrollbars=no, resizable=no,
 toolbar=no, menubar=no, location=no'); return false;Pop out a new
 Chrome window (can i make the extensions-bar visible too??)/a/li/
 ul
 /body

 --
 You received this message because you are subscribed to the Google Groups
 Google Web Toolkit group.
 To post to this group, send email to google-web-toolkit@googlegroups.com.
 To unsubscribe from this group, send email to
 google-web-toolkit+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/google-web-toolkit?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
Google Web Toolkit group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.