Measure private dirty memory on OS that have /proc (e.g. Linux).

Note that private dirty is already measured on Android.

BUG=347919

Review URL: https://codereview.chromium.org/190743002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255913 0039d316-1c4b-4281-b951-d872f2087c98
Remove deprecation warning from create_nmf.py

It's still used all over the place, so the compilation logs are spilled
with warnings

BUG=none
TBR=sbc@chromium.org,binji@chromium.org

Review URL: https://codereview.chromium.org/190283003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255914 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 255913
Prefer Khronos EGL headers instead Mesa for all OS

This patch change the order that gl target reads Mesa headers, giving
precedence to third_party/khronos over third_party/mesa/src/include.

BUG=266310
TEST=locally on Linux only

Review URL: https://codereview.chromium.org/184433003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255915 0039d316-1c4b-4281-b951-d872f2087c98
Fixed custom wallpaper Context Menu z-index

As you can see in `src/ui/webui/resources/css/menu.css`, the z-index CSS property for the menu is 3.
Since the z-index CSS property of the check Image is also 3, it causes some UI glitches like the one below.

I've set it to 2 since 1 is used by thumbnails.

OLD=http://i.imgur.com/HfCtRvJ.png
NOW=http://i.imgur.com/nXkLa3b.png

Review URL: https://codereview.chromium.org/121723002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255916 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 255916
<webview>: Context menu API implementation CL.

Very Similar to chrome.contextMenus API, only applies to the <webview> that it is called upon. 

var w = document.querySelector('webview'); 
w.contextMenus.OnClicked.addListener(function() { .. }); 
w.contextMenus.create({id: '1', title: 'one'}); 
w.contextMenus.update({id: '2', title: 'new', onclick: ...}); 
w.contextMenus.remove('1'); 
w.contextMenus.removeAll('1'); 

This CL adds the actual implementation to the previously exposed skeleton API.

Docs/snippets here:
https://docs.google.com/a/chromium.org/document/d/1AoMD6kF8ui1dikzTrwK-weVHegSqQaLV2zx4xJSh_fQ/edit

TBR=stevenjb@chromium.org
BUG=140315
Test=Can be tested inside a chrome apps <webview>.
<webview>.contextMenus.create(...) to create custom context menu items.
The API is similar to chrome.contextMenus API. Similarly .update,
.remove, .removeAll is also supported.
Click event handler can be specified as
<webview>.contextMenus.onClick.addListener(...).

Review URL: https://codereview.chromium.org/186213003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255917 0039d316-1c4b-4281-b951-d872f2087c98
SVN changes up to revision 255917