diff options
author | dhollowa@chromium.org <dhollowa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-25 22:48:41 +0000 |
---|---|---|
committer | dhollowa@chromium.org <dhollowa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-07-25 22:48:41 +0000 |
commit | b404c01d21e38bff34f870d7cf8d64a024b46283 (patch) | |
tree | a6d8ab00656867a4cb971a107e66a5782cfecc93 /ui/compositor/debug_utils.cc | |
parent | 6574d79ef25774136a4ce1e209c11d2424f9a6b2 (diff) | |
download | chromium_src-b404c01d21e38bff34f870d7cf8d64a024b46283.zip chromium_src-b404c01d21e38bff34f870d7cf8d64a024b46283.tar.gz chromium_src-b404c01d21e38bff34f870d7cf8d64a024b46283.tar.bz2 |
Converts SearchViewController to use live NTP content instead of placeholder
Converts SearchViewController to use live NTP content using views::WebView
instead of placeholder solid rect views::View.
TEST=Launch CrOS/Aura with --enabled-instant-extended-api, observe interactive "Most Visited" section on NTP
BUG=133529
R=sky@chromium.org
Review URL: https://chromiumcodereview.appspot.com/10787028
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148438 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/compositor/debug_utils.cc')
-rw-r--r-- | ui/compositor/debug_utils.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/compositor/debug_utils.cc b/ui/compositor/debug_utils.cc index fa6c101..9b531ff 100644 --- a/ui/compositor/debug_utils.cc +++ b/ui/compositor/debug_utils.cc @@ -23,9 +23,6 @@ namespace { void PrintLayerHierarchyImp(const Layer* layer, int indent, gfx::Point mouse_location) { - if (!layer->visible()) - return; - std::wostringstream buf; std::string indent_str(indent, ' '); std::string content_indent_str(indent+1, ' '); @@ -56,6 +53,9 @@ void PrintLayerHierarchyImp(const Layer* layer, int indent, break; } + if (!layer->visible()) + buf << L" !visible"; + buf << L'\n' << UTF8ToWide(content_indent_str); buf << L"bounds: " << layer->bounds().x() << L',' << layer->bounds().y(); buf << L' ' << layer->bounds().width() << L'x' << layer->bounds().height(); |