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

Side by Side Diff: chrome/browser/ui/gtk/panels/panel_gtk.cc

Issue 63273002: Rename WebKit namespace to blink (part 4) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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
« no previous file with comments | « chrome/browser/ui/gtk/browser_window_gtk.cc ('k') | chrome/browser/ui/gtk/web_dialog_gtk.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/gtk/panels/panel_gtk.h" 5 #include "chrome/browser/ui/gtk/panels/panel_gtk.h"
6 6
7 #include <gdk/gdk.h> 7 #include <gdk/gdk.h>
8 #include <gdk/gdkkeysyms.h> 8 #include <gdk/gdkkeysyms.h>
9 #include <X11/XF86keysym.h> 9 #include <X11/XF86keysym.h>
10 10
(...skipping 971 matching lines...) Expand 10 before | Expand all | Expand 10 after
982 } 982 }
983 } 983 }
984 984
985 bool PanelGtk::IsDrawingAttention() const { 985 bool PanelGtk::IsDrawingAttention() const {
986 return is_drawing_attention_; 986 return is_drawing_attention_;
987 } 987 }
988 988
989 void PanelGtk::HandlePanelKeyboardEvent( 989 void PanelGtk::HandlePanelKeyboardEvent(
990 const NativeWebKeyboardEvent& event) { 990 const NativeWebKeyboardEvent& event) {
991 GdkEventKey* os_event = &event.os_event->key; 991 GdkEventKey* os_event = &event.os_event->key;
992 if (os_event && event.type == WebKit::WebInputEvent::RawKeyDown) 992 if (os_event && event.type == blink::WebInputEvent::RawKeyDown)
993 gtk_window_activate_key(window_, os_event); 993 gtk_window_activate_key(window_, os_event);
994 } 994 }
995 995
996 void PanelGtk::FullScreenModeChanged(bool is_full_screen) { 996 void PanelGtk::FullScreenModeChanged(bool is_full_screen) {
997 // No need to hide panels when entering the full-screen mode because the 997 // No need to hide panels when entering the full-screen mode because the
998 // full-screen window will automatically be placed above all other windows. 998 // full-screen window will automatically be placed above all other windows.
999 if (is_full_screen) 999 if (is_full_screen)
1000 return; 1000 return;
1001 1001
1002 // Show the panel if not yet when leaving the full-screen mode. This is 1002 // Show the panel if not yet when leaving the full-screen mode. This is
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
1246 } 1246 }
1247 1247
1248 panel::CornerStyle GtkNativePanelTesting::GetWindowCornerStyle() const { 1248 panel::CornerStyle GtkNativePanelTesting::GetWindowCornerStyle() const {
1249 return panel_gtk_->corner_style_; 1249 return panel_gtk_->corner_style_;
1250 } 1250 }
1251 1251
1252 bool GtkNativePanelTesting::EnsureApplicationRunOnForeground() { 1252 bool GtkNativePanelTesting::EnsureApplicationRunOnForeground() {
1253 // Not needed on GTK. 1253 // Not needed on GTK.
1254 return true; 1254 return true;
1255 } 1255 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/browser_window_gtk.cc ('k') | chrome/browser/ui/gtk/web_dialog_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698