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

Unified Diff: ui/aura/window_tree_host.h

Issue 2345283002: aura: Allow platform to choose how it retrieves ICCProfile. (Closed)
Patch Set: Created 4 years, 3 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
« no previous file with comments | « no previous file | ui/aura/window_tree_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/window_tree_host.h
diff --git a/ui/aura/window_tree_host.h b/ui/aura/window_tree_host.h
index 03dcf1b91f1885ddf622d6f6cd69cbad9bd6d098..0d867ac1ed27936fe81a34a328697051c492dbf9 100644
--- a/ui/aura/window_tree_host.h
+++ b/ui/aura/window_tree_host.h
@@ -18,6 +18,7 @@
#include "ui/gfx/native_widget_types.h"
namespace gfx {
+class ICCProfile;
class Insets;
class Point;
class Rect;
@@ -220,6 +221,8 @@ class AURA_EXPORT WindowTreeHost : public ui::internal::InputMethodDelegate,
private:
friend class test::WindowTreeHostTestApi;
+ virtual gfx::ICCProfile GetICCProfileForCurrentDisplay();
sky 2016/09/16 17:30:08 Shouldn't this be protected?
sadrul 2016/09/16 17:52:17 The subclasses do not have to call this function [
+
// Moves the cursor to the specified location. This method is internally used
// by MoveCursorTo() and MoveCursorToHostLocation().
void MoveCursorToInternal(const gfx::Point& root_location,
« no previous file with comments | « no previous file | ui/aura/window_tree_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698