Tuesday, June 18, 2013

backtrace of creating root window and focus handling of chromium aura

It is not well-defined article. It is just note to help me remember something.

1. backtrace when web contents get focus by pushing tab key.

views::corewm::FocusController::FocusWindow() at focus_controller.cc:128 0x555559ed281a 
aura::Window::Focus() at window.cc:579 0x5555577648a8 
content::RenderWidgetHostViewAura::Focus() at render_widget_host_view_aura.cc:937 0x555558b07b4a 
content::WebContentsViewAura::Focus() at web_contents_view_aura.cc:907 0x555558b84699 
views::WebView::OnFocus() at webview.cc:129 0x55555968fee0 
views::View::Focus() at view.cc:1,527 0x555559e8631c 
views::FocusManager::SetFocusedViewWithReason() at focus_manager.cc:335 0x555559e6b1d2 
views::FocusManager::AdvanceFocus() at focus_manager.cc:154 0x555559e6a8d0 
views::FocusManager::OnKeyEvent() at focus_manager.cc:87 0x555559e6a43f 
views::DesktopNativeWidgetAura::OnKeyEvent() at desktop_native_widget_aura.cc:713 0x555559e91405 
ui::EventHandler::OnEvent() at event_handler.cc:25 0x55555a91db90 
ui::EventTarget::OnEvent() at event_target.cc:54 0x55555a91f021 
ui::EventDispatcher::DispatchEvent() at event_dispatcher.cc:145 0x55555a91cb62 
ui::EventDispatcher::ProcessEvent() at event_dispatcher.cc:93 0x55555a91c6e3 
ui::EventDispatcherDelegate::DispatchEvent() at event_dispatcher.cc:48 0x55555a91c415 
aura::RootWindow::ProcessEvent() at root_window.cc:761 0x555557773d84 
aura::RootWindow::OnHostKeyEvent() at root_window.cc:896 0x555557774670 
views::corewm::InputMethodEventFilter::DispatchKeyEventPostIME() at input_method_event_filter.cc:72 0x555559ed7771 
ui::FakeInputMethod::DispatchKeyEvent() at fake_input_method.cc:82 0x55555a9a2f2e 
views::corewm::InputMethodEventFilter::OnKeyEvent() at input_method_event_filter.cc:54 0x555559ed76c5 
views::corewm::CompoundEventFilter::FilterKeyEvent() at compound_event_filter.cc:147 0x555559ecd1ab 
views::corewm::CompoundEventFilter::OnKeyEvent() at compound_event_filter.cc:213 0x555559ecd53e 
ui::EventHandler::OnEvent() at event_handler.cc:25 0x55555a91db90 
ui::EventDispatcher::DispatchEvent() at event_dispatcher.cc:145 0x55555a91cb62 
ui::EventDispatcher::DispatchEventToEventHandlers() at event_dispatcher.cc:124 0x55555a91c947 
ui::EventDispatcher::ProcessEvent() at event_dispatcher.cc:82 0x55555a91c656 
ui::EventDispatcherDelegate::DispatchEvent() at event_dispatcher.cc:48 0x55555a91c415 
aura::RootWindow::ProcessEvent() at root_window.cc:761 0x555557773d84 
aura::RootWindow::OnHostKeyEvent() at root_window.cc:896 0x555557774670 
views::DesktopRootWindowHostX11::Dispatch() at desktop_root_window_host_x11.cc:940 0x555559e976d3 
base::MessagePumpAuraX11::Dispatch() at message_pump_aurax11.cc:304 0x55555a04920b 
base::MessagePumpAuraX11::ProcessXEvent() at message_pump_aurax11.cc:249 0x55555a048e49 
base::MessagePumpAuraX11::DispatchXEvents() at message_pump_aurax11.cc:191 0x55555a0487b6 
() at message_pump_aurax11.cc:33 0x55555a047f42 
g_main_dispatch() at gmain.c:2,715 0x7ffff6d80ab5 
g_main_context_dispatch() at gmain.c:3,219 0x7ffff6d80ab5 
g_main_context_iterate() at gmain.c:3,290 0x7ffff6d80de8 
g_main_context_iteration() at gmain.c:3,351 0x7ffff6d80ea4 
base::MessagePumpGlib::RunWithDispatcher() at message_pump_glib.cc:199 0x55555a0461c2 
base::MessagePumpGlib::Run() at message_pump_glib.cc:296 0x55555a0466fe 
base::MessageLoop::RunInternal() at message_loop.cc:441 0x55555a096fa2 
base::MessageLoop::RunHandler() at message_loop.cc:414 0x55555a096e4c 
base::RunLoop::Run() at run_loop.cc:45 0x55555a0c891c 
ChromeBrowserMainParts::MainMessageLoopRun() at chrome_browser_main.cc:1,620 0x55555656d0c0 
content::BrowserMainLoop::RunMainMessageLoopParts() at browser_main_loop.cc:620 0x555558937bb0 
content::BrowserMainRunnerImpl::Run() at browser_main_runner.cc:113 0x555558bc4704 
content::BrowserMain() at browser_main.cc:22 0x55555bc8301c 
content::RunNamedProcessTypeMain() at content_main_runner.cc:433 0x55555a48c2b0 
content::ContentMainRunnerImpl::Run() at content_main_runner.cc:756 0x55555a48d307 
content::ContentMain() at content_main.cc:35 0x55555a48b677 
ChromeMain() at chrome_main.cc:32 0x555555e6f535 
main() at chrome_exe_main_aura.cc:17 0x555555e6f500 

2. backtrace when web contents loses focus.

views::FocusManager::AdvanceFocus() at focus_manager.cc:142 0x555559e6a857 
ChromeWebContentsViewDelegateViews::TakeFocus() at chrome_web_contents_view_delegate_views.cc:90 0x555558ee8494 
content::WebContentsViewAura::TakeFocus() at web_contents_view_aura.cc:1,149 0x555558b85688 
content::RenderViewHostImpl::OnTakeFocus() at render_view_host_impl.cc:1,521 0x555558ad3cca 
DispatchToMethod{content::RenderViewHostImpl, void () at tuple.h:546 0x555558adb26f 
ViewHostMsg_TakeFocus::Dispatch{content::RenderViewHostImpl, content::RenderViewHostImpl, void () at view_messages.h:1,942 0x555558ad8e3e 
content::RenderViewHostImpl::OnMessageReceived() at render_view_host_impl.cc:979 0x555558ad10e1 
content::RenderProcessHostImpl::OnMessageReceived() at render_process_host_impl.cc:1,224 0x555558ab992e 
IPC::ChannelProxy::Context::OnDispatchMessage() at ipc_channel_proxy.cc:261 0x5555569ee4c3 
base::internal::RunnableAdapter{void () at bind_internal.h:190 0x5555569f1e9d 
base::internal::InvokeHelper{false, void, base::internal::RunnableAdapter{void () at bind_internal.h:898 0x5555569f1982 
base::internal::Invoker{2, base::internal::BindState{base::internal::RunnableAdapter{void () at bind_internal.h:1,253 0x5555569f11c0 
base::Callback{void () at callback.h:396 0x555555efcb8a 
base::MessageLoop::RunTask() at message_loop.cc:484 0x55555a097407 
base::MessageLoop::DeferOrRunPendingTask() at message_loop.cc:496 0x55555a097536 
base::MessageLoop::DoWork() at message_loop.cc:688 0x55555a097e77 
base::MessagePumpGlib::HandleDispatch() at message_pump_glib.cc:273 0x55555a046625 
() at message_pump_glib.cc:105 0x55555a045ded 


3. backtrace when creating rootwindow by dragging TabStrip.

views::DesktopRootWindowHostX11::Init() at desktop_root_window_host_x11.cc:343 0x555559e94c8f 
views::DesktopNativeWidgetAura::InitNativeWidget() at desktop_native_widget_aura.cc:240 0x555559e8f775 
DesktopBrowserFrameAura::InitNativeWidget() at desktop_browser_frame_aura.cc:54 0x55555904bb69 
views::Widget::Init() at widget.cc:374 0x555559ea73e1 
BrowserFrame::InitBrowserFrame() at browser_frame.cc:78 0x555559049423 
BrowserWindow::CreateBrowserWindow() at browser_view.cc:2,618 0x555558e9df6d 
() at browser.cc:235 0x555558db983c 
Browser::Browser() at browser.cc:402 0x555558dba8a8 
TabDragController::CreateBrowserForDrag() at tab_drag_controller.cc:2,037 0x5555590780a8 
TabDragController::DetachIntoNewBrowserAndRunMoveLoop() at tab_drag_controller.cc:1,320 0x555559074cb3 
TabDragController::DragBrowserToNewTabStrip() at tab_drag_controller.cc:827 0x555559072325 
TabDragController::ContinueDragging() at tab_drag_controller.cc:785 0x555559072072 
TabDragController::Drag() at tab_drag_controller.cc:510 0x555559070c28 
TabStrip::ContinueDrag() at tab_strip.cc:1,150 0x555558ef93ed 
TabStrip::OnMouseDragged() at tab_strip.cc:1,527 0x555558efab67 
views::View::ProcessMouseDragged() at view.cc:2,146 0x555559e88f94 
views::View::OnMouseEvent() at view.cc:973 0x555559e8401e 
ui::EventHandler::OnEvent() at event_handler.cc:27 0x55555a91dbc3 
ui::EventTarget::OnEvent() at event_target.cc:56 0x55555a91f03c 
ui::EventDispatcher::DispatchEvent() at event_dispatcher.cc:145 0x55555a91cb62 
ui::EventDispatcher::ProcessEvent() at event_dispatcher.cc:93 0x55555a91c6e3 
ui::EventDispatcherDelegate::DispatchEvent() at event_dispatcher.cc:48 0x55555a91c415 
views::internal::RootView::DispatchEventToTarget() at root_view.cc:666 0x555559e9fb84 
views::internal::RootView::OnMouseDragged() at root_view.cc:468 0x555559e9ed44 
views::Widget::OnMouseEvent() at widget.cc:1,160 0x555559ea9ed6 
views::DesktopNativeWidgetAura::OnMouseEvent() at desktop_native_widget_aura.cc:721 0x555559e9157c 
ui::EventHandler::OnEvent() at event_handler.cc:27 0x55555a91dbc3 
ui::EventTarget::OnEvent() at event_target.cc:54 0x55555a91f021 
ui::EventDispatcher::DispatchEvent() at event_dispatcher.cc:145 0x55555a91cb62 
ui::EventDispatcher::ProcessEvent() at event_dispatcher.cc:93 0x55555a91c6e3 
ui::EventDispatcherDelegate::DispatchEvent() at event_dispatcher.cc:48 0x55555a91c415 
aura::RootWindow::ProcessEvent() at root_window.cc:761 0x555557773d84 
aura::RootWindow::DispatchMouseEventToTarget() at root_window.cc:1,079 0x55555777511e 
aura::RootWindow::DispatchMouseEventImpl() at root_window.cc:1,023 0x555557774dfc 
aura::RootWindow::OnHostMouseEvent() at root_window.cc:916 0x55555777475d 
views::DesktopRootWindowHostX11::DispatchMouseEvent() at desktop_root_window_host_x11.cc:559 0x555559e95bbd 
views::DesktopRootWindowHostX11::Dispatch() at desktop_root_window_host_x11.cc:1,062 0x555559e97dfa 
base::MessagePumpAuraX11::Dispatch() at message_pump_aurax11.cc:304 0x55555a04920b 
base::MessagePumpAuraX11::ProcessXEvent() at message_pump_aurax11.cc:249 0x55555a048e49 
base::MessagePumpAuraX11::DispatchXEvents() at message_pump_aurax11.cc:191 0x55555a0487b6 
() at message_pump_aurax11.cc:33 0x55555a047f42 
g_main_dispatch() at gmain.c:2,715 0x7ffff6d80ab5 

4. backtrace when creating rootwindow by popping up context menu.

views::DesktopRootWindowHostX11::Init() at desktop_root_window_host_x11.cc:343 0x555559e94c8f 
views::DesktopNativeWidgetAura::InitNativeWidget() at desktop_native_widget_aura.cc:240 0x555559e8f775 
views::Widget::Init() at widget.cc:374 0x555559ea73e1 
views::MenuHost::InitMenuHost() at menu_host.cc:53 0x555559ec6fc4 
views::SubmenuView::ShowAt() at submenu_view.cc:312 0x555559e36167 
views::MenuController::OpenMenuImpl() at menu_controller.cc:1,529 0x555559ebf240 
views::MenuController::OpenMenu() at menu_controller.cc:1,504 0x555559ebf067 
views::MenuController::CommitPendingSelection() at menu_controller.cc:1,468 0x555559ebebcf 
views::MenuController::SetSelection() at menu_controller.cc:811 0x555559ebc4de 
views::MenuController::Run() at menu_controller.cc:333 0x555559eba633 
views::internal::MenuRunnerImpl::RunMenuAt() at menu_runner.cc:225 0x555559e327a9 
views::MenuRunner::RunMenuAt() at menu_runner.cc:351 0x555559e32e32 
RenderViewContextMenuViews::RunMenuAt() at render_view_context_menu_views.cc:52 0x555558ee8faa 
ChromeWebContentsViewDelegateViews::ShowContextMenu() at chrome_web_contents_view_delegate_views.cc:169 0x555558ee8783 
content::WebContentsViewAura::ShowContextMenu() at web_contents_view_aura.cc:1,061 0x555558b85076 
content::WebContentsImpl::ShowContextMenu() at web_contents_impl.cc:1,695 0x555558b6943b 
content::RenderViewHostImpl::OnContextMenu() at render_view_host_impl.cc:1,364 0x555558ad324d 
DispatchToMethod{content::RenderViewHostImpl, void () at tuple.h:546 0x555558adb202 
ViewHostMsg_ContextMenu::Dispatch{content::RenderViewHostImpl, content::RenderViewHostImpl, void () at view_messages.h:1,435 0x555558ad8747 
content::RenderViewHostImpl::OnMessageReceived() at render_view_host_impl.cc:956 0x555558ad07b3 
content::RenderProcessHostImpl::OnMessageReceived() at render_process_host_impl.cc:1,224 0x555558ab992e 
IPC::ChannelProxy::Context::OnDispatchMessage() at ipc_channel_proxy.cc:261 0x5555569ee4c3 
base::internal::RunnableAdapter{void () at bind_internal.h:190 0x5555569f1e9d 
base::internal::InvokeHelper{false, void, base::internal::RunnableAdapter{void () at bind_internal.h:898 0x5555569f1982 
base::internal::Invoker{2, base::internal::BindState{base::internal::RunnableAdapter{void () at bind_internal.h:1,253 0x5555569f11c0 
base::Callback{void () at callback.h:396 0x555555efcb8a 
base::MessageLoop::RunTask() at message_loop.cc:484 0x55555a097407 
base::MessageLoop::DeferOrRunPendingTask() at message_loop.cc:496 0x55555a097536 
base::MessageLoop::DoWork() at message_loop.cc:688 0x55555a097e77 
base::MessagePumpGlib::HandleDispatch() at message_pump_glib.cc:273 0x55555a046625 
() at message_pump_glib.cc:105 0x55555a045ded 
g_main_dispatch() at gmain.c:2,715 0x7ffff6d80ab5 

No comments:

Post a Comment