blob: 17cd0b7173dec62a73d48231e8c25757c6e9fd6c (
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
|
// Copyright (c) 2013 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 CHROME_RENDERER_ONE_CLICK_SIGNIN_AGENT_H_
#define CHROME_RENDERER_ONE_CLICK_SIGNIN_AGENT_H_
#include "content/public/renderer/render_view_observer.h"
// OneClickSigninAgent deals with oneclick signin related communications between
// the renderer and the browser. There is one OneClickSigninAgent per
// RenderView.
class OneClickSigninAgent : public content::RenderViewObserver {
public:
explicit OneClickSigninAgent(content::RenderView* render_view);
virtual ~OneClickSigninAgent();
private:
virtual void WillSubmitForm(WebKit::WebFrame* frame,
const WebKit::WebFormElement& form) OVERRIDE;
DISALLOW_COPY_AND_ASSIGN(OneClickSigninAgent);
};
#endif // CHROME_RENDERER_ONE_CLICK_SIGNIN_AGENT_H_
|