OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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.h" | 5 #include "chrome/browser/ui/panels/panel.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 #include "chrome/browser/extensions/extension_prefs.h" | 8 #include "chrome/browser/extensions/extension_prefs.h" |
9 #include "chrome/browser/extensions/extension_service.h" | 9 #include "chrome/browser/extensions/extension_service.h" |
10 #include "chrome/browser/profiles/profile.h" | 10 #include "chrome/browser/profiles/profile.h" |
(...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
398 } | 398 } |
399 | 399 |
400 void Panel::ShowRepostFormWarningDialog(TabContents* tab_contents) { | 400 void Panel::ShowRepostFormWarningDialog(TabContents* tab_contents) { |
401 NOTIMPLEMENTED(); | 401 NOTIMPLEMENTED(); |
402 } | 402 } |
403 | 403 |
404 void Panel::ShowCollectedCookiesDialog(TabContentsWrapper* wrapper) { | 404 void Panel::ShowCollectedCookiesDialog(TabContentsWrapper* wrapper) { |
405 NOTIMPLEMENTED(); | 405 NOTIMPLEMENTED(); |
406 } | 406 } |
407 | 407 |
408 void Panel::ShowThemeInstallBubble() { | |
409 NOTIMPLEMENTED(); | |
410 } | |
411 | |
412 void Panel::ConfirmBrowserCloseWithPendingDownloads() { | 408 void Panel::ConfirmBrowserCloseWithPendingDownloads() { |
413 NOTIMPLEMENTED(); | 409 NOTIMPLEMENTED(); |
414 } | 410 } |
415 | 411 |
416 void Panel::UserChangedTheme() { | 412 void Panel::UserChangedTheme() { |
417 native_panel_->NotifyPanelOnUserChangedTheme(); | 413 native_panel_->NotifyPanelOnUserChangedTheme(); |
418 } | 414 } |
419 | 415 |
420 int Panel::GetExtraRenderViewHeight() const { | 416 int Panel::GetExtraRenderViewHeight() const { |
421 // This is currently used only on Linux and that returns the height for | 417 // This is currently used only on Linux and that returns the height for |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
588 RequestRenderViewHostToDisableScrollbars(GetRenderViewHost()); | 584 RequestRenderViewHostToDisableScrollbars(GetRenderViewHost()); |
589 } | 585 } |
590 | 586 |
591 Browser* Panel::browser() const { | 587 Browser* Panel::browser() const { |
592 return native_panel_->GetPanelBrowser(); | 588 return native_panel_->GetPanelBrowser(); |
593 } | 589 } |
594 | 590 |
595 void Panel::DestroyBrowser() { | 591 void Panel::DestroyBrowser() { |
596 native_panel_->DestroyPanelBrowser(); | 592 native_panel_->DestroyPanelBrowser(); |
597 } | 593 } |
OLD | NEW |