| OLD | NEW |
| (Empty) | |
| 1 // Copyright (c) 2013 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 |
| 5 #ifndef CHROME_RENDERER_ONE_CLICK_SIGNIN_AGENT_H_ |
| 6 #define CHROME_RENDERER_ONE_CLICK_SIGNIN_AGENT_H_ |
| 7 |
| 8 #include "content/public/renderer/render_view_observer.h" |
| 9 |
| 10 namespace WebKit { |
| 11 class WebFormElement; |
| 12 class WebFrame; |
| 13 } |
| 14 |
| 15 // OneClickSigninAgent deals with oneclick signin related communications between |
| 16 // the renderer and the browser. There is one OneClickSigninAgent per |
| 17 // RenderView. |
| 18 class OneClickSigninAgent : public content::RenderViewObserver { |
| 19 public: |
| 20 explicit OneClickSigninAgent(content::RenderView* render_view); |
| 21 virtual ~OneClickSigninAgent(); |
| 22 |
| 23 private: |
| 24 virtual void WillSubmitForm(WebKit::WebFrame* frame, |
| 25 const WebKit::WebFormElement& form) OVERRIDE; |
| 26 |
| 27 DISALLOW_COPY_AND_ASSIGN(OneClickSigninAgent); |
| 28 }; |
| 29 |
| 30 #endif // CHROME_RENDERER_ONE_CLICK_SIGNIN_AGENT_H_ |
| OLD | NEW |