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

Unified Diff: ash/common/system/chromeos/palette/palette_tool.h

Issue 2235063002: Add create note palette action. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@app-runtime-changes
Patch Set: Nit Created 4 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 side-by-side diff with in-line comments
Download patch
Index: ash/common/system/chromeos/palette/palette_tool.h
diff --git a/ash/common/system/chromeos/palette/palette_tool.h b/ash/common/system/chromeos/palette/palette_tool.h
index fdc6e4422cd52582e17d26f03674600aee2fc64d..eaa5ff8821089db6cd745a0ec4781bb005aec9c4 100644
--- a/ash/common/system/chromeos/palette/palette_tool.h
+++ b/ash/common/system/chromeos/palette/palette_tool.h
@@ -76,9 +76,9 @@ class ASH_EXPORT PaletteTool {
// same group.
virtual void OnDisable();
- // Create a view that will be used in the palette. The view is owned by the
- // caller. OnViewDestroyed is called when the view has been deallocated by its
- // owner.
+ // Create a view that will be used in the palette, or nullptr if this tool
+ // should not be displayed. The view is owned by the caller. OnViewDestroyed
+ // is called when the view has been deallocated by its owner.
virtual views::View* CreateView() = 0;
virtual void OnViewDestroyed() = 0;
« no previous file with comments | « ash/common/system/chromeos/palette/mock_palette_tool_delegate.cc ('k') | ash/common/system/chromeos/palette/palette_tool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698