DescriptionRemaining bits to get views_examples_with_content_exe to work on Mac
The example window currently doesn't activate itself properly because it
lacks an activation policy and a menubar.
This CL sets the activation policy, adds a menubar and defers window
creation until the applicationDidFinishLoading notification. Creating a
window before this can activate and receive key events, but the menubar
will not switch properly.
With this, views_examples_with_content_exe compiles and runs nicely on a
Mac build with `GYP_DEFINES=toolkit-views=1`. Note the `WebView` example
will crash for now because views::NativeViewHost is not yet implemented
for mac.
BUG=395507
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=284883
Patch Set 1 #Patch Set 2 : Big trim #Patch Set 3 : more non-critical stuff trimmed #Patch Set 4 : neater still #
Total comments: 4
Patch Set 5 : Updated to handle key events #Patch Set 6 : rebase to master@r275900 #
Total comments: 10
Patch Set 7 : rebase onto crrev/309483009. Still needs polish. #Patch Set 8 : rebased. Trimmed. #Patch Set 9 : Fix activation #Patch Set 10 : rebase to master! #
Total comments: 8
Patch Set 11 : respond to commments #Patch Set 12 : fix stray space #Patch Set 13 : Quit literal + TODO #Messages
Total messages: 13 (0 generated)
|