diff options
author | asvitkine@chromium.org <asvitkine@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-11 19:34:09 +0000 |
---|---|---|
committer | asvitkine@chromium.org <asvitkine@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-11 19:34:09 +0000 |
commit | 140e9e09a8afb3c1e584001a2e8f44bb4de814f5 (patch) | |
tree | cbad3a3cdaa4b8cf877e0279e3723c2e325078aa /views | |
parent | 2b0ede7d399dc2bfd47ecb49f21b3343294a2186 (diff) | |
download | chromium_src-140e9e09a8afb3c1e584001a2e8f44bb4de814f5.zip chromium_src-140e9e09a8afb3c1e584001a2e8f44bb4de814f5.tar.gz chromium_src-140e9e09a8afb3c1e584001a2e8f44bb4de814f5.tar.bz2 |
Add Windows manifest for views_examples.
This allows views_examples to use themed controls and fixes
a problem with combo box drop down menus not being shown.
Manifest file copied from chrome/app/chrome.exe.manifest.
BUG=none
TEST=manual
Review URL: http://codereview.chromium.org/8227017
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@104939 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views')
-rw-r--r-- | views/examples/views_examples.exe.manifest | 27 | ||||
-rw-r--r-- | views/views.gyp | 5 |
2 files changed, 32 insertions, 0 deletions
diff --git a/views/examples/views_examples.exe.manifest b/views/examples/views_examples.exe.manifest new file mode 100644 index 0000000..92f2e44 --- /dev/null +++ b/views/examples/views_examples.exe.manifest @@ -0,0 +1,27 @@ +<?xml version="1.0" encoding="UTF-8" standalone="yes"?> +<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> + + <compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1"> + <application> + <!--This Id value indicates the application supports Windows Vista functionality --> + <supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"/> + <!--This Id value indicates the application supports Windows 7 functionality--> + <supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/> + </application> + </compatibility> + + <dependency> + <dependentAssembly> + <assemblyIdentity type="Win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="X86" publicKeyToken="6595b64144ccf1df" language="*"></assemblyIdentity> + </dependentAssembly> + </dependency> + + <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3"> + <security> + <requestedPrivileges> + <requestedExecutionLevel level="asInvoker" /> + </requestedPrivileges> + </security> + </trustInfo> + +</assembly>
\ No newline at end of file diff --git a/views/views.gyp b/views/views.gyp index ae8ba46..25c3ce1 100644 --- a/views/views.gyp +++ b/views/views.gyp @@ -767,6 +767,11 @@ 'include_dirs': [ '../third_party/wtl/include', ], + 'msvs_settings': { + 'VCManifestTool': { + 'AdditionalManifestFiles': '$(ProjectDir)\\examples\\views_examples.exe.manifest', + }, + }, 'sources': [ 'examples/table_example.cc', 'examples/table_example.h', |