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

Unified Diff: ui/views/linux_ui/linux_ui.h

Issue 243633003: use the right NativeTheme on bubbles + dialogs on Aura Linux (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: good enough for now Created 6 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: ui/views/linux_ui/linux_ui.h
diff --git a/ui/views/linux_ui/linux_ui.h b/ui/views/linux_ui/linux_ui.h
index cadc7b72632b51f0806acff2cb51c3e7621dd637..f576234b5dbf5451987ed773bb84a7613827499f 100644
--- a/ui/views/linux_ui/linux_ui.h
+++ b/ui/views/linux_ui/linux_ui.h
@@ -19,6 +19,10 @@
// The main entrypoint into Linux toolkit specific code. GTK code should only
// be executed behind this interface.
+namespace aura {
+class Window;
+}
+
namespace gfx {
class Image;
}
@@ -87,7 +91,7 @@ class VIEWS_EXPORT LinuxUI : public ui::LinuxInputMethodContextFactory,
// Returns a NativeTheme that will provide system colors and draw system
// style widgets.
- virtual ui::NativeTheme* GetNativeTheme() const = 0;
+ virtual ui::NativeTheme* GetNativeTheme(aura::Window* window) const = 0;
// Returns whether we should be using the native theme provided by this
// object by default.

Powered by Google App Engine
This is Rietveld 408576698