emoji_panel_helper_mac.mm 423 B

123456789101112131415161718192021
  1. // Copyright 2018 The Chromium Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style license that can be
  3. // found in the LICENSE file.
  4. #include "ui/base/emoji/emoji_panel_helper.h"
  5. #import <Cocoa/Cocoa.h>
  6. #include "base/feature_list.h"
  7. namespace ui {
  8. bool IsEmojiPanelSupported() {
  9. return true;
  10. }
  11. void ShowEmojiPanel() {
  12. [NSApp orderFrontCharacterPalette:nil];
  13. }
  14. } // namespace ui