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_browser_window_gtk.h" | 5 #include "chrome/browser/ui/panels/panel_browser_window_gtk.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "chrome/browser/ui/browser_list.h" | 8 #include "chrome/browser/ui/browser_list.h" |
9 #include "chrome/browser/ui/panels/panel.h" | 9 #include "chrome/browser/ui/panels/panel.h" |
10 #include "chrome/browser/ui/panels/panel_manager.h" | 10 #include "chrome/browser/ui/panels/panel_manager.h" |
(...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
359 bool PanelBrowserWindowGtk::IsDrawingAttention() const { | 359 bool PanelBrowserWindowGtk::IsDrawingAttention() const { |
360 return is_drawing_attention_; | 360 return is_drawing_attention_; |
361 } | 361 } |
362 | 362 |
363 bool PanelBrowserWindowGtk::PreHandlePanelKeyboardEvent( | 363 bool PanelBrowserWindowGtk::PreHandlePanelKeyboardEvent( |
364 const NativeWebKeyboardEvent& event, | 364 const NativeWebKeyboardEvent& event, |
365 bool* is_keyboard_shortcut) { | 365 bool* is_keyboard_shortcut) { |
366 return PreHandleKeyboardEvent(event, is_keyboard_shortcut); | 366 return PreHandleKeyboardEvent(event, is_keyboard_shortcut); |
367 } | 367 } |
368 | 368 |
| 369 void PanelBrowserWindowGtk::FullScreenModeChanged(bool is_full_screen) { |
| 370 // Nothing to do here as z-order rules for panels ensures that they're below |
| 371 // any app running in full screen mode. |
| 372 } |
| 373 |
369 void PanelBrowserWindowGtk::HandlePanelKeyboardEvent( | 374 void PanelBrowserWindowGtk::HandlePanelKeyboardEvent( |
370 const NativeWebKeyboardEvent& event) { | 375 const NativeWebKeyboardEvent& event) { |
371 HandleKeyboardEvent(event); | 376 HandleKeyboardEvent(event); |
372 } | 377 } |
373 | 378 |
374 Browser* PanelBrowserWindowGtk::GetPanelBrowser() const { | 379 Browser* PanelBrowserWindowGtk::GetPanelBrowser() const { |
375 return browser(); | 380 return browser(); |
376 } | 381 } |
377 | 382 |
378 void PanelBrowserWindowGtk::DestroyPanelBrowser() { | 383 void PanelBrowserWindowGtk::DestroyPanelBrowser() { |
(...skipping 373 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
752 } | 757 } |
753 } | 758 } |
754 | 759 |
755 bool NativePanelTestingGtk::IsWindowSizeKnown() const { | 760 bool NativePanelTestingGtk::IsWindowSizeKnown() const { |
756 return panel_browser_window_gtk_->window_size_known_; | 761 return panel_browser_window_gtk_->window_size_known_; |
757 } | 762 } |
758 | 763 |
759 bool NativePanelTestingGtk::IsAnimatingBounds() const { | 764 bool NativePanelTestingGtk::IsAnimatingBounds() const { |
760 return panel_browser_window_gtk_->IsAnimatingBounds(); | 765 return panel_browser_window_gtk_->IsAnimatingBounds(); |
761 } | 766 } |
OLD | NEW |