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

Side by Side Diff: chrome/browser/ui/gtk/custom_button.h

Issue 7669040: content: Move render_widget_host_view_gtk to content/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: chromeos fix. Created 9 years, 4 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) 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 #ifndef CHROME_BROWSER_UI_GTK_CUSTOM_BUTTON_H_ 5 #ifndef CHROME_BROWSER_UI_GTK_CUSTOM_BUTTON_H_
6 #define CHROME_BROWSER_UI_GTK_CUSTOM_BUTTON_H_ 6 #define CHROME_BROWSER_UI_GTK_CUSTOM_BUTTON_H_
7 #pragma once 7 #pragma once
8 8
9 #include <gtk/gtk.h> 9 #include <gtk/gtk.h>
10 10
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "chrome/browser/ui/gtk/owned_widget_gtk.h"
13 #include "content/common/notification_observer.h" 12 #include "content/common/notification_observer.h"
14 #include "content/common/notification_registrar.h" 13 #include "content/common/notification_registrar.h"
15 #include "third_party/skia/include/core/SkColor.h" 14 #include "third_party/skia/include/core/SkColor.h"
16 #include "ui/base/animation/animation_delegate.h" 15 #include "ui/base/animation/animation_delegate.h"
17 #include "ui/base/animation/slide_animation.h" 16 #include "ui/base/animation/slide_animation.h"
18 #include "ui/base/gtk/gtk_signal.h" 17 #include "ui/base/gtk/gtk_signal.h"
18 #include "ui/base/gtk/owned_widget_gtk.h"
19 #include "ui/gfx/rect.h" 19 #include "ui/gfx/rect.h"
20 20
21 class CairoCachedSurface; 21 class CairoCachedSurface;
22 class GtkThemeService; 22 class GtkThemeService;
23 class SkBitmap; 23 class SkBitmap;
24 24
25 // These classes implement two kinds of custom-drawn buttons. They're 25 // These classes implement two kinds of custom-drawn buttons. They're
26 // used on the toolbar and the bookmarks bar. 26 // used on the toolbar and the bookmarks bar.
27 27
28 // CustomDrawButtonBase provides the base for building a custom drawn button. 28 // CustomDrawButtonBase provides the base for building a custom drawn button.
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 // Our theme provider. 222 // Our theme provider.
223 GtkThemeService* theme_service_; 223 GtkThemeService* theme_service_;
224 224
225 // Used to listen for theme change notifications. 225 // Used to listen for theme change notifications.
226 NotificationRegistrar registrar_; 226 NotificationRegistrar registrar_;
227 227
228 DISALLOW_COPY_AND_ASSIGN(CustomDrawButton); 228 DISALLOW_COPY_AND_ASSIGN(CustomDrawButton);
229 }; 229 };
230 230
231 #endif // CHROME_BROWSER_UI_GTK_CUSTOM_BUTTON_H_ 231 #endif // CHROME_BROWSER_UI_GTK_CUSTOM_BUTTON_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/constrained_window_gtk.h ('k') | chrome/browser/ui/gtk/download/download_item_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698