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

Side by Side Diff: chrome/browser/views/frame/browser_frame_gtk.cc

Issue 1132006: Move app/gfx/canvas and app/gfx/font to gfx/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 9 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/views/frame/browser_frame_gtk.h" 5 #include "chrome/browser/views/frame/browser_frame_gtk.h"
6 6
7 #include "app/gfx/font.h"
8 #include "base/logging.h" 7 #include "base/logging.h"
9 #include "chrome/browser/browser_theme_provider.h" 8 #include "chrome/browser/browser_theme_provider.h"
10 #include "chrome/browser/profile.h" 9 #include "chrome/browser/profile.h"
11 #include "chrome/browser/status_bubble.h" 10 #include "chrome/browser/status_bubble.h"
12 #include "chrome/browser/views/frame/app_panel_browser_frame_view.h" 11 #include "chrome/browser/views/frame/app_panel_browser_frame_view.h"
13 #include "chrome/browser/views/frame/browser_extender.h" 12 #include "chrome/browser/views/frame/browser_extender.h"
14 #include "chrome/browser/views/frame/browser_root_view.h" 13 #include "chrome/browser/views/frame/browser_root_view.h"
15 #include "chrome/browser/views/frame/browser_view.h" 14 #include "chrome/browser/views/frame/browser_view.h"
16 #include "chrome/browser/views/frame/opaque_browser_frame_view.h" 15 #include "chrome/browser/views/frame/opaque_browser_frame_view.h"
16 #include "gfx/font.h"
17 #include "views/widget/root_view.h" 17 #include "views/widget/root_view.h"
18 #include "views/window/hit_test.h" 18 #include "views/window/hit_test.h"
19 19
20 namespace { 20 namespace {
21 21
22 // BrowserNonClientFrameView implementation for popups. We let the window 22 // BrowserNonClientFrameView implementation for popups. We let the window
23 // manager implementation render the decorations for popups, so this draws 23 // manager implementation render the decorations for popups, so this draws
24 // nothing. 24 // nothing.
25 class PopupNonClientFrameView : public BrowserNonClientFrameView { 25 class PopupNonClientFrameView : public BrowserNonClientFrameView {
26 public: 26 public:
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 if (was_full_screen != IsFullscreen()) 180 if (was_full_screen != IsFullscreen())
181 browser_view_->FullScreenStateChanged(); 181 browser_view_->FullScreenStateChanged();
182 return result; 182 return result;
183 } 183 }
184 184
185 gboolean BrowserFrameGtk::OnConfigureEvent(GtkWidget* widget, 185 gboolean BrowserFrameGtk::OnConfigureEvent(GtkWidget* widget,
186 GdkEventConfigure* event) { 186 GdkEventConfigure* event) {
187 browser_view_->WindowMoved(); 187 browser_view_->WindowMoved();
188 return views::WindowGtk::OnConfigureEvent(widget, event); 188 return views::WindowGtk::OnConfigureEvent(widget, event);
189 } 189 }
OLDNEW
« no previous file with comments | « chrome/browser/views/frame/app_panel_browser_frame_view.cc ('k') | chrome/browser/views/frame/browser_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698