summaryrefslogtreecommitdiffstats
path: root/chrome/browser/debugger/debugger_window.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/debugger/debugger_window.cc')
-rw-r--r--chrome/browser/debugger/debugger_window.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/chrome/browser/debugger/debugger_window.cc b/chrome/browser/debugger/debugger_window.cc
index ee21dd0..6e94a06 100644
--- a/chrome/browser/debugger/debugger_window.cc
+++ b/chrome/browser/debugger/debugger_window.cc
@@ -62,8 +62,7 @@ void DebuggerWindow::Show(TabContents* tab) {
return;
}
view_ = new DebuggerView(this);
- window_ = ChromeViews::Window::CreateChromeWindow(
- NULL, gfx::Rect(), view_, this);
+ window_ = ChromeViews::Window::CreateChromeWindow(NULL, gfx::Rect(), this);
view_->OnInit();
window_->Show();
view_->OnShow();
@@ -176,6 +175,10 @@ bool DebuggerWindow::CanResize() const {
return true;
}
+ChromeViews::View* DebuggerWindow::GetContentsView() {
+ return view_;
+}
+
///////////////////////////////////////////////////////////////////
// Overridden from ChromeViews::TextField::Controller: