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

Side by Side Diff: chrome/browser/ui/panels/panel_browser_window_gtk.cc

Issue 8686012: Make panels not show on top when there is an app running in full screen mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge/Resolve. Created 9 years 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/panels/panel_browser_window_gtk.h ('k') | chrome/browser/ui/panels/panel_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698