OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2017 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 COMPONENTS_COPYLESS_PASTE_RENDERER_COPYLESS_PASTE_AGENT_H_ | |
6 #define COMPONENTS_COPYLESS_PASTE_RENDERER_COPYLESS_PASTE_AGENT_H_ | |
7 | |
8 #include "content/public/renderer/render_frame_observer.h" | |
9 | |
10 namespace copyless_paste { | |
11 | |
12 // CopylessPasteAgent triggers metadata extraction, and signals app indexing | |
13 // if the result is non-empty. | |
14 class CopylessPasteAgent : public content::RenderFrameObserver { | |
15 public: | |
16 CopylessPasteAgent(content::RenderFrame* render_frame); | |
dcheng
2017/04/02 05:50:34
nit: explicit
| |
17 ~CopylessPasteAgent() override; | |
18 | |
19 // content::RenderFrameObserver: | |
20 void DidMeaningfulLayout(blink::WebMeaningfulLayout layout_type) override; | |
21 void OnDestruct() override; | |
22 }; | |
23 | |
24 } // namespace copyless_paste | |
25 | |
26 #endif // COMPONENTS_COPYLESS_PASTE_RENDERER_COPYLESS_PASTE_AGENT_H_ | |
OLD | NEW |