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

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

Issue 10756018: Merge grd files in ui/resources and chrome/app/theme (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase, *_standard.rc Created 8 years, 5 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 unified diff | Download patch | Annotate | Revision Log
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/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.h" 8 #include "chrome/browser/ui/browser.h"
9 #include "chrome/browser/ui/browser_list.h" 9 #include "chrome/browser/ui/browser_list.h"
10 #include "chrome/browser/ui/browser_window.h" 10 #include "chrome/browser/ui/browser_window.h"
11 #include "chrome/browser/ui/gtk/browser_titlebar.h" 11 #include "chrome/browser/ui/gtk/browser_titlebar.h"
12 #include "chrome/browser/ui/gtk/custom_button.h" 12 #include "chrome/browser/ui/gtk/custom_button.h"
13 #include "chrome/browser/ui/gtk/gtk_theme_service.h" 13 #include "chrome/browser/ui/gtk/gtk_theme_service.h"
14 #include "chrome/browser/ui/panels/panel.h" 14 #include "chrome/browser/ui/panels/panel.h"
15 #include "chrome/browser/ui/panels/panel_bounds_animation.h" 15 #include "chrome/browser/ui/panels/panel_bounds_animation.h"
16 #include "chrome/browser/ui/panels/panel_browser_titlebar_gtk.h" 16 #include "chrome/browser/ui/panels/panel_browser_titlebar_gtk.h"
17 #include "chrome/browser/ui/panels/panel_constants.h" 17 #include "chrome/browser/ui/panels/panel_constants.h"
18 #include "chrome/browser/ui/panels/panel_drag_gtk.h" 18 #include "chrome/browser/ui/panels/panel_drag_gtk.h"
19 #include "chrome/browser/ui/panels/panel_manager.h" 19 #include "chrome/browser/ui/panels/panel_manager.h"
20 #include "chrome/browser/ui/panels/panel_strip.h" 20 #include "chrome/browser/ui/panels/panel_strip.h"
21 #include "chrome/common/chrome_notification_types.h" 21 #include "chrome/common/chrome_notification_types.h"
22 #include "content/public/browser/native_web_keyboard_event.h" 22 #include "content/public/browser/native_web_keyboard_event.h"
23 #include "content/public/browser/notification_service.h" 23 #include "content/public/browser/notification_service.h"
24 #include "grit/theme_resources_standard.h" 24 #include "grit/theme_resources.h"
25 #include "grit/ui_resources.h" 25 #include "grit/ui_resources.h"
26 #include "ui/base/gtk/gtk_compat.h" 26 #include "ui/base/gtk/gtk_compat.h"
27 #include "ui/gfx/canvas.h" 27 #include "ui/gfx/canvas.h"
28 #include "ui/gfx/image/cairo_cached_surface.h" 28 #include "ui/gfx/image/cairo_cached_surface.h"
29 #include "ui/gfx/image/image.h" 29 #include "ui/gfx/image/image.h"
30 30
31 using content::NativeWebKeyboardEvent; 31 using content::NativeWebKeyboardEvent;
32 using content::WebContents; 32 using content::WebContents;
33 33
34 namespace { 34 namespace {
(...skipping 723 matching lines...) Expand 10 before | Expand all | Expand 10 after
758 break; 758 break;
759 case panel::RESTORE_BUTTON: 759 case panel::RESTORE_BUTTON:
760 button = titlebar->restore_button(); 760 button = titlebar->restore_button();
761 break; 761 break;
762 default: 762 default:
763 NOTREACHED(); 763 NOTREACHED();
764 return false; 764 return false;
765 } 765 }
766 return gtk_widget_get_visible(button->widget()); 766 return gtk_widget_get_visible(button->widget());
767 } 767 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/panels/panel_browser_titlebar_gtk.cc ('k') | chrome/browser/ui/panels/panel_titlebar_view_cocoa.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698