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

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: Initial upload 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 5ef25fb55ffe2d48fb89850f6c1434f314584ca2..cbf1cc7217826e33cc267973e02af7e00e8fdf5a 100644
--- a/ash/common/system/chromeos/palette/palette_tray.h
+++ b/ash/common/system/chromeos/palette/palette_tray.h
@@ -59,6 +59,8 @@ class ASH_EXPORT PaletteTray : public TrayBackgroundView,
// Returns true if the shelf should not autohide.
bool ShouldBlockShelfAutoHide() const;
+ bool OpenBubble();
+
private:
// views::TrayBubbleView::Delegate:
void BubbleViewDestroyed() override;
@@ -94,7 +96,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