OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "chrome/browser/ui/panels/panel_browser_window.h" | 5 #include "chrome/browser/ui/panels/panel_browser_window.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "chrome/browser/ui/browser.h" | 8 #include "chrome/browser/ui/browser.h" |
9 #include "chrome/browser/ui/browser_commands.h" | 9 #include "chrome/browser/ui/browser_commands.h" |
10 #include "chrome/browser/ui/browser_finder.h" | 10 #include "chrome/browser/ui/browser_finder.h" |
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
282 | 282 |
283 void PanelBrowserWindow::ConfirmAddSearchProvider(TemplateURL* template_url, | 283 void PanelBrowserWindow::ConfirmAddSearchProvider(TemplateURL* template_url, |
284 Profile* profile) { | 284 Profile* profile) { |
285 NOTIMPLEMENTED(); | 285 NOTIMPLEMENTED(); |
286 } | 286 } |
287 | 287 |
288 void PanelBrowserWindow::ToggleBookmarkBar() { | 288 void PanelBrowserWindow::ToggleBookmarkBar() { |
289 NOTIMPLEMENTED(); | 289 NOTIMPLEMENTED(); |
290 } | 290 } |
291 | 291 |
292 void PanelBrowserWindow::ShowAboutChromeDialog() { | |
293 NOTIMPLEMENTED(); | |
294 } | |
295 | |
296 void PanelBrowserWindow::ShowUpdateChromeDialog() { | 292 void PanelBrowserWindow::ShowUpdateChromeDialog() { |
297 NOTIMPLEMENTED(); | 293 NOTIMPLEMENTED(); |
298 } | 294 } |
299 | 295 |
300 void PanelBrowserWindow::ShowTaskManager() { | 296 void PanelBrowserWindow::ShowTaskManager() { |
301 native_panel_->ShowTaskManagerForPanel(); | 297 native_panel_->ShowTaskManagerForPanel(); |
302 } | 298 } |
303 | 299 |
304 void PanelBrowserWindow::ShowBackgroundPages() { | 300 void PanelBrowserWindow::ShowBackgroundPages() { |
305 NOTIMPLEMENTED(); | 301 NOTIMPLEMENTED(); |
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
484 } | 480 } |
485 | 481 |
486 void PanelBrowserWindow::TabInsertedAt(TabContents* contents, | 482 void PanelBrowserWindow::TabInsertedAt(TabContents* contents, |
487 int index, | 483 int index, |
488 bool foreground) { | 484 bool foreground) { |
489 if (panel_->auto_resizable()) { | 485 if (panel_->auto_resizable()) { |
490 DCHECK_EQ(0, index); | 486 DCHECK_EQ(0, index); |
491 panel_->EnableWebContentsAutoResize(contents->web_contents()); | 487 panel_->EnableWebContentsAutoResize(contents->web_contents()); |
492 } | 488 } |
493 } | 489 } |
OLD | NEW |