diff options
author | tapted@chromium.org <tapted@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-23 08:46:04 +0000 |
---|---|---|
committer | tapted@chromium.org <tapted@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-07-23 08:46:04 +0000 |
commit | 86487aa3a77b454917b5a1cb0c42b05cb6b22136 (patch) | |
tree | 7aff5b199c08915f4c0b294222cd26d1fa56ff88 /components/search | |
parent | 125ec622d28e5c347351892cf7f5134957b2dbf9 (diff) | |
download | chromium_src-86487aa3a77b454917b5a1cb0c42b05cb6b22136.zip chromium_src-86487aa3a77b454917b5a1cb0c42b05cb6b22136.tar.gz chromium_src-86487aa3a77b454917b5a1cb0c42b05cb6b22136.tar.bz2 |
Remaining 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
Review URL: https://codereview.chromium.org/309483009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284883 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components/search')
0 files changed, 0 insertions, 0 deletions