Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(249)

Issue 257008: Fix several issues around fullscreen Mac plugins:... (Closed)

Created:
11 years, 2 months ago by Amanda Walker
Modified:
11 years, 2 months ago
CC:
chromium-reviews_googlegroups.com, John Grabowski, jam, pam+watch_chromium.org, ben+cc_chromium.org
Visibility:
Public.

Description

Fix several issues around fullscreen Mac plugins: * Keystrokes are now properly sent to plugins in fullscreen mode * When a plugin creates a fullscreen window, we hide the menu bar and restore it when the window is closed BUG=19534, 21020 TEST=Open a page with plugins that can go full screen (example: flash video players). Enter full screen mode and verify that esc, arrow keys, spacebar, etc. work as expected. Verify that the menu bar is hidden when the plugin goes fullscreen and is restored when it exits fullscreen mode. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=27755

Patch Set 1 #

Total comments: 4

Patch Set 2 : '' #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+191 lines, -1 line) Patch
M chrome/browser/plugin_carbon_interpose_mac.cc View 1 2 chunks +25 lines, -0 lines 0 comments Download
M chrome/browser/plugin_process_host.h View 1 2 chunks +11 lines, -0 lines 0 comments Download
M chrome/browser/plugin_process_host.cc View 1 2 chunks +15 lines, -0 lines 0 comments Download
A chrome/browser/plugin_process_host_mac.cc View 1 chunk +43 lines, -0 lines 2 comments Download
M chrome/chrome.gyp View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/plugin_messages_internal.h View 1 1 chunk +28 lines, -0 lines 0 comments Download
M chrome/plugin/plugin_main.cc View 1 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/plugin/plugin_thread.cc View 1 1 chunk +42 lines, -0 lines 2 comments Download
M webkit/glue/plugins/fake_plugin_window_tracker_mac.h View 1 chunk +1 line, -1 line 0 comments Download
M webkit/glue/plugins/webplugin_delegate_impl_mac.mm View 1 1 chunk +15 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Amanda Walker
stuartmorgan: interposed library changes pinkerton: general review Note: I don't like the "extern "C" {...}" ...
11 years, 2 months ago (2009-09-30 20:11:35 UTC) #1
stuartmorgan
LGTM http://codereview.chromium.org/257008/diff/1/4 File chrome/browser/plugin_carbon_interpose_mac.cc (right): http://codereview.chromium.org/257008/diff/1/4#newcode79 Line 79: &bounds); Is it worth making a little ...
11 years, 2 months ago (2009-09-30 20:23:45 UTC) #2
Amanda Walker
http://codereview.chromium.org/257008/diff/1/4 File chrome/browser/plugin_carbon_interpose_mac.cc (right): http://codereview.chromium.org/257008/diff/1/4#newcode79 Line 79: &bounds); On 2009/09/30 20:23:45, stuartmorgan wrote: > Is ...
11 years, 2 months ago (2009-09-30 20:25:53 UTC) #3
Amanda Walker
New patch up.
11 years, 2 months ago (2009-10-01 16:52:59 UTC) #4
stuartmorgan
http://codereview.chromium.org/257008/diff/4001/4005 File chrome/browser/plugin_process_host_mac.cc (right): http://codereview.chromium.org/257008/diff/4001/4005#newcode37 Line 37: SetSystemUIMode(kUIModeNormal, 0); I wonder if we need to ...
11 years, 2 months ago (2009-10-01 17:17:08 UTC) #5
Amanda Walker
http://codereview.chromium.org/257008/diff/4001/4005 File chrome/browser/plugin_process_host_mac.cc (right): http://codereview.chromium.org/257008/diff/4001/4005#newcode37 Line 37: SetSystemUIMode(kUIModeNormal, 0); Ah, I'd forgotten about browser-side fullscreen ...
11 years, 2 months ago (2009-10-01 17:21:02 UTC) #6
Amanda Walker
I discussed the edge cases with jrg--we're in agreement that a general solution needs a ...
11 years, 2 months ago (2009-10-01 19:39:41 UTC) #7
stuartmorgan
LGTM
11 years, 2 months ago (2009-10-01 19:41:10 UTC) #8
darin (slow to review)
http://codereview.chromium.org/257008/diff/4001/4009 File chrome/plugin/plugin_thread.cc (right): http://codereview.chromium.org/257008/diff/4001/4009#newcode168 Line 168: __attribute__((visibility("default"))) what's up with these GCC attributes?
11 years, 2 months ago (2009-10-01 22:19:53 UTC) #9
Amanda Walker
11 years, 2 months ago (2009-10-01 23:17:05 UTC) #10
http://codereview.chromium.org/257008/diff/4001/4009
File chrome/plugin/plugin_thread.cc (right):

http://codereview.chromium.org/257008/diff/4001/4009#newcode168
Line 168: __attribute__((visibility("default")))
On 2009/10/01 22:19:53, darin wrote:
> what's up with these GCC attributes?

They allow the interposed library that we use to intercept Carbon API calls in
the plugin process to link against these symbols in the main application.

Powered by Google App Engine
This is Rietveld 408576698