Upstreaming browser/ui/uikit_ui_util from iOS.
[chromium-blink-merge.git] / content / renderer / web_ui_extension.h
blob1d593cada0637c97186ba630d73dfcee2ae2617b
1 // Copyright 2012 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.
5 #ifndef CONTENT_RENDERER_WEB_UI_EXTENSION_H_
6 #define CONTENT_RENDERER_WEB_UI_EXTENSION_H_
8 #include <string>
10 #include "base/basictypes.h"
12 namespace blink {
13 class WebFrame;
16 namespace gin {
17 class Arguments;
20 namespace content {
22 class WebUIExtension {
23 public:
24 static void Install(blink::WebFrame* frame);
26 private:
27 static void Send(gin::Arguments* args);
28 static std::string GetVariableValue(const std::string& name);
30 DISALLOW_IMPLICIT_CONSTRUCTORS(WebUIExtension);
33 } // namespace content
35 #endif // CONTENT_RENDERER_WEB_UI_EXTENSION_H_