Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(187)

Unified Diff: chrome/browser/ui/panels/panel_cocoa.mm

Issue 10908153: [Panel refactor] Deprecate old panels. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix linux_chromeos test failure Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/panels/panel_cocoa.h ('k') | chrome/browser/ui/panels/panel_drag_gtk.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/panels/panel_cocoa.mm
diff --git a/chrome/browser/ui/panels/panel_cocoa.mm b/chrome/browser/ui/panels/panel_cocoa.mm
index 4fbdb0224fd220e47ca7df64716a8d12f2b9ce6f..2ba9033db47c593fc97cb6ae80eda9ecfe0330d9 100644
--- a/chrome/browser/ui/panels/panel_cocoa.mm
+++ b/chrome/browser/ui/panels/panel_cocoa.mm
@@ -156,11 +156,6 @@ void PanelCocoa::UpdatePanelLoadingAnimations(bool should_animate) {
[controller_ updateThrobber:should_animate];
}
-FindBar* PanelCocoa::CreatePanelFindBar() {
- NOTREACHED(); // legacy API from browser window. N/A for refactored panels.
- return NULL;
-}
-
void PanelCocoa::NotifyPanelOnUserChangedTheme() {
NOTIMPLEMENTED();
}
@@ -203,12 +198,6 @@ bool PanelCocoa::IsDrawingAttention() const {
return [titlebar isDrawingAttention];
}
-bool PanelCocoa::PreHandlePanelKeyboardEvent(
- const NativeWebKeyboardEvent& event, bool* is_keyboard_shortcut) {
- // No need to prehandle as no keys are reserved.
- return false;
-}
-
void PanelCocoa::HandlePanelKeyboardEvent(
const NativeWebKeyboardEvent& event) {
if (event.skip_in_browser || event.type == NativeWebKeyboardEvent::Char)
@@ -225,15 +214,6 @@ void PanelCocoa::FullScreenModeChanged(
[controller_ fullScreenModeChanged:is_full_screen];
}
-Browser* PanelCocoa::GetPanelBrowser() const {
- NOTREACHED(); // legacy API from BrowserWindow. N/A for refactored panels.
- return NULL;
-}
-
-void PanelCocoa::EnsurePanelFullyVisible() {
- [controller_ ensureFullyVisible];
-}
-
void PanelCocoa::SetPanelAlwaysOnTop(bool on_top) {
[controller_ updateWindowLevel];
}
« no previous file with comments | « chrome/browser/ui/panels/panel_cocoa.h ('k') | chrome/browser/ui/panels/panel_drag_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698