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

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

Issue 2276233002: ash/chromeos: Add shift-alt-p shortcut to open palette. (Closed)
Patch Set: Address comment, rebase 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_tray.h
diff --git a/ash/common/system/chromeos/palette/palette_tray.h b/ash/common/system/chromeos/palette/palette_tray.h
index 5524ab5abc5a431015190ca70225784a8f8f852f..386712b845883b4b40fc26fc09d23d31db236ed1 100644
--- a/ash/common/system/chromeos/palette/palette_tray.h
+++ b/ash/common/system/chromeos/palette/palette_tray.h
@@ -58,6 +58,8 @@ class ASH_EXPORT PaletteTray : public TrayBackgroundView,
// Returns true if the shelf should not autohide.
bool ShouldBlockShelfAutoHide() const;
+ bool OpenBubble();
stevenjb 2016/08/26 20:54:31 Document, and possibly rename to ShowPalette() or
jdufault 2016/08/26 21:33:13 Done.
+
private:
// views::TrayBubbleView::Delegate:
void BubbleViewDestroyed() override;
@@ -93,7 +95,6 @@ class ASH_EXPORT PaletteTray : public TrayBackgroundView,
// Called when the palette enabled pref has changed.
void OnPaletteEnabledPrefChanged(bool enabled);
- bool OpenBubble();
void AddToolsToView(views::View* host);
std::unique_ptr<PaletteToolManager> palette_tool_manager_;

Powered by Google App Engine
This is Rietveld 408576698