summaryrefslogtreecommitdiffstats
path: root/ui/keyboard/content/keyboard_content_util.h
blob: e96cdfe3e9318f62bc0220dee8a4a03fe832248c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef UI_KEYBOARD_CONTENT_KEYBOARD_COTNENT_UTIL_H_
#define UI_KEYBOARD_CONTENT_KEYBOARD_COTNENT_UTIL_H_

#include <stddef.h>

#include "base/strings/string16.h"
#include "ui/keyboard/keyboard_export.h"

class GURL;

struct GritResourceMap;

namespace keyboard {

// Sets the override content url.
// This is used by for input view for extension IMEs.
KEYBOARD_EXPORT void SetOverrideContentUrl(const GURL& url);

// Gets the override content url.
KEYBOARD_EXPORT const GURL& GetOverrideContentUrl();

// Get the list of keyboard resources. |size| is populated with the number of
// resources in the returned array.
KEYBOARD_EXPORT const GritResourceMap* GetKeyboardExtensionResources(
    size_t* size);

}  // namespace keyboard

#endif  // UI_KEYBOARD_CONTENT_KEYBOARD_COTNENT_UTIL_H_