Fix directory layout for tools/memory_inspector tests.

This cl rearranges the directory layout for the memory_inspector tests.
This is to ensure that:
 - Every unittest lives side-by-side with the module being tested.
 - The mocks/helper class live in the unittest package.
 - Nobody has to hack the sys.path ever.
 - Every (test and non) module uses the "import memory_inspector.submodule"
   pattern consistently, without creating any namespace ambiguities.

BUG=340294

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251413 0039d316-1c4b-4281-b951-d872f2087c98
Revert 251397 "[WebsiteSettings] Fix bug in permission bubble ma..."

Revert reason: cros unit test failures

See: http://build.chromium.org/p/chromium.chromiumos/builders/Linux%20ChromiumOS%20Tests%20%281%29

Sample output:

ersiveModeControllerAshTest.TabAndBrowserFullscreen (run #3):
[ RUN      ] ImmersiveModeControllerAshTest.TabAndBrowserFullscreen
Xlib:  extension "RANDR" missing on display ":9".
[21038:21038:0214/121606:1047752665:WARNING:native_view_host_aura.cc(71)] NativeViewHostAura::InstallClip is not implemented yet.
[21038:21038:0214/121606:1047752835:WARNING:native_view_host_aura.cc(71)] NativeViewHostAura::InstallClip is not implemented yet.
[21038:21038:0214/121606:1047752914:WARNING:native_view_host_aura.cc(71)] NativeViewHostAura::InstallClip is not implemented yet.
Received signal 11 SEGV_MAPERR 00020000002d
 [0x7f0b3aa767ce] base::debug::StackTrace::StackTrace()
 [0x7f0b3aa76cf8] base::debug::(anonymous namespace)::StackDumpSignalHandler()
 [0x7f0b34340cb0] \u003Cunknown>
 [0x00000379579c] PermissionBubbleViewViews::~PermissionBubbleViewViews()
 [0x00000373aafb] BrowserView::~BrowserView()
 [0x00000373ad69] BrowserView::~BrowserView()
 [0x7f0b38da5de2] views::View::~View()
 [0x7f0b38dbbcf0] views::NonClientView::~NonClientView()
 [0x7f0b38dbbd69] views::NonClientView::~NonClientView()
 [0x7f0b38da5bed] views::View::DoRemoveChildView()
 [0x7f0b38da5ce5] views::View::RemoveAllChildViews()
 [0x7f0b38da9dd8] views::internal::RootView::~RootView()
 [0x000003734aa0] BrowserRootView::~BrowserRootView()


> [WebsiteSettings] Fix bug in permission bubble manager to alter showing state when bubble is closed.
> 
> This bug meant that subsequent calls to AddRequest wouldn't show the bubble, since the manager still believed it was being shown.
> 
> R=leng@chromium.org
> 
> Review URL: https://codereview.chromium.org/162423002

TBR=gbillock@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251414 0039d316-1c4b-4281-b951-d872f2087c98
Update webrtc/libjingle 5523:5548.

This is a clone of https://codereview.chromium.org/166753002/ + changes to handle OPT_RTP_SENDTIME_EXTN_ID in ipc_socket_factory.cc.

R=mallinath@chromium.org, wjia@chromium.org, xians@chromium.org
TBR=sergeyu

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251415 0039d316-1c4b-4281-b951-d872f2087c98
Update .DEPS.git

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251416 0039d316-1c4b-4281-b951-d872f2087c98
Fix bug with using enums as default values in mojom. We were previously
generating invalid JavaScript bindings. We now translate an enum value like
FOO_VALUE in a mojom file to proper_namespace.EnumName.FOO_VALUE in JS.

I also fixed enum declarations in JS so an enum value can be defined in terms
of itself, e.g.
  enum Foo { FOO_1, FOO_2 = FOO_1 * 2 };

BUG=320082
R=darin@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251417 0039d316-1c4b-4281-b951-d872f2087c98
Don't try to remove the referrer from an empty page state

BUG=339790
R=marja@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251418 0039d316-1c4b-4281-b951-d872f2087c98
New assets for location-bar origin chip in various states.

BUG=317741,338563

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251419 0039d316-1c4b-4281-b951-d872f2087c98
Clear the pending_and_current_web_ui_ if we reuse it.

R=nasko@chromium.org
TBR=estade@chromium.org
BUG=330811
TEST=See bug comment 9 for repro steps.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251420 0039d316-1c4b-4281-b951-d872f2087c98
cros: Remove hard coded top row key mode for kiosk app.

And expose prefs::kLanguageSendFunctionKeys via
ChromeOSInfoPrivate for apps that need the function keys.

BUG=338390

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251421 0039d316-1c4b-4281-b951-d872f2087c98
Make the TopContainerView always fully overlap the window header because we use the TopContainerView bounds in computing the find bar's position

BUG=341636
TEST=BrowserViewHostedAppTest.Layout

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251422 0039d316-1c4b-4281-b951-d872f2087c98
NaCl: Update revision in DEPS, r12757 -> r12770

This pulls in the following Native Client changes:

r12758: (dschuff) llvm-test.py: Use msys make when running regression tests on Windows
r12759: (mcgrathr) Give sel_ldr an option (-d) to raise a no-op signal at startup
r12761: (dyen) Removed extra TLS flags passed into our toolchain
r12762: (mcgrathr) Update chrome_rev to current LKGR
r12763: (mcgrathr) Update tools_rev in DEPS
r12765: (mcgrathr) toolchain_build: Use new version of isl
r12766: (teravest) Remove Log() in ReverseService.
r12767: (bradnelson) Switching perf graph units to "standard" units.
r12768: (mseaborn) Remove unused code relating to a never-finished ARM Thumb sandbox
r12769: (bradnelson) Fixing escaping issue in r12768.
r12770: (jvoung) Update TOOL_REVISIONS for PNaCl r12737->r12765

BUG=none
TEST=nacl_integration
NOTRY=true
(ran try jobs already)

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251423 0039d316-1c4b-4281-b951-d872f2087c98
Update .DEPS.git

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251424 0039d316-1c4b-4281-b951-d872f2087c98
Valgrind: Disable failing test: InputMethodManagerImplTest.TestEnableLayoutsAndCurrentInputMethod.

BUG=344008
NOTRY=true
TBR=groby@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251425 0039d316-1c4b-4281-b951-d872f2087c98
Revert 251411 "Revert 251054 "Make all the files mapped in when ..."

Apparently, couldn't be the cause. Reverting my revert.

> Revert 251054 "Make all the files mapped in when running unit_te..."
> 
> Speculative revert, to see if this fixes CrOS MergeSession tests.
> 
> > Make all the files mapped in when running unit_tests read only on Linux and OSX.
> > 
> > This means no file can be opened for write during the test run.
> > 
> > Windows can't be done at the moment due to bug 342913.
> > 
> > R=vadimsh@chromium.org
> > BUG=116251
> > BUG=342913
> > 
> > Review URL: https://codereview.chromium.org/136973003
> 
> TBR=maruel@chromium.org
> 
> Review URL: https://codereview.chromium.org/166483006

TBR=asvitkine@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251426 0039d316-1c4b-4281-b951-d872f2087c98
Revert 251382 "event-rewrite: Clean up how events are rewritten."

> event-rewrite: Clean up how events are rewritten.
> 
> Notable changes:
>  * Make the EventRewriter a MessagePumpObserver. This is necessary to make sure
>    that the event-rewrite happens before the event is dispatched.
>  * Move the EventRewriter in chrome/browser/chromeos (and in chromeos namespace),
>    since it does nothing on other platforms.
>  * Get rid of the event-rewrite code from ash, since it just adds an extra layer
>    of abstraction for no added value.
> 
> BUG=343639
> R=derat@chromium.org, sky@chromium.org, stevenjb@chromium.org
> 
> Review URL: https://codereview.chromium.org/165463002

This was causing the following check failure

[3943:3943:0214/135331:FATAL:event_rewriter.cc(858)] Check failed:
xievent->evtype == XI_ButtonPress || xievent->evtype == XI_ButtonRelease. 
Aborted (core dumped)

TBR=sadrul@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251433 0039d316-1c4b-4281-b951-d872f2087c98
Revert 251327 "Reland of: Split out InputMethodMenuManager from ..."

> Reland of: Split out InputMethodMenuManager from InputMethodManager.
> 
> Rename input_method_property to input_method_menu_item, and move to ash/ime.
> 
> This is a reland of https://codereview.chromium.org/150203015,reverted by https://codereview.chromium.org/165453002
> 
> Use Singleton<> instead of trying to maintain my own singleton.
> 
> BUG=342336, 343044
> 
> Review URL: https://codereview.chromium.org/165783002

TBR=uekawa@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251436 0039d316-1c4b-4281-b951-d872f2087c98
Revert 251425 "Valgrind: Disable failing test: InputMethodManage..."

> Valgrind: Disable failing test: InputMethodManagerImplTest.TestEnableLayoutsAndCurrentInputMethod.
> 
> BUG=344008
> NOTRY=true
> TBR=groby@chromium.org
> 
> Review URL: https://codereview.chromium.org/167383004

TBR=thestig@chromium.org

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251438 0039d316-1c4b-4281-b951-d872f2087c98