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_finder.h" | 9 #include "chrome/browser/ui/browser_finder.h" |
10 #include "chrome/browser/ui/panels/panel.h" | 10 #include "chrome/browser/ui/panels/panel.h" |
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
288 bool already_bookmarked) { | 288 bool already_bookmarked) { |
289 NOTIMPLEMENTED(); | 289 NOTIMPLEMENTED(); |
290 } | 290 } |
291 | 291 |
292 void PanelBrowserWindow::ShowChromeToMobileBubble() { | 292 void PanelBrowserWindow::ShowChromeToMobileBubble() { |
293 NOTIMPLEMENTED(); | 293 NOTIMPLEMENTED(); |
294 } | 294 } |
295 | 295 |
296 #if defined(ENABLE_ONE_CLICK_SIGNIN) | 296 #if defined(ENABLE_ONE_CLICK_SIGNIN) |
297 void PanelBrowserWindow::ShowOneClickSigninBubble( | 297 void PanelBrowserWindow::ShowOneClickSigninBubble( |
298 const base::Closure& learn_more_callback, | 298 const StartSyncCallback& start_sync_callback) { |
299 const base::Closure& advanced_callback) { | |
300 NOTIMPLEMENTED(); | 299 NOTIMPLEMENTED(); |
301 } | 300 } |
302 #endif | 301 #endif |
303 | 302 |
304 bool PanelBrowserWindow::IsDownloadShelfVisible() const { | 303 bool PanelBrowserWindow::IsDownloadShelfVisible() const { |
305 return false; | 304 return false; |
306 } | 305 } |
307 | 306 |
308 DownloadShelf* PanelBrowserWindow::GetDownloadShelf() { | 307 DownloadShelf* PanelBrowserWindow::GetDownloadShelf() { |
309 Profile* profile = browser_->profile(); | 308 Profile* profile = browser_->profile(); |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
472 void PanelBrowserWindow::TabInsertedAt(TabContentsWrapper* contents, | 471 void PanelBrowserWindow::TabInsertedAt(TabContentsWrapper* contents, |
473 int index, | 472 int index, |
474 bool foreground) { | 473 bool foreground) { |
475 if (panel_->auto_resizable()) { | 474 if (panel_->auto_resizable()) { |
476 DCHECK_EQ(0, index); | 475 DCHECK_EQ(0, index); |
477 panel_->EnableWebContentsAutoResize(contents->web_contents()); | 476 panel_->EnableWebContentsAutoResize(contents->web_contents()); |
478 } | 477 } |
479 } | 478 } |
480 | 479 |
481 | 480 |
OLD | NEW |