Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(425)

Side by Side Diff: components/copyless_paste/renderer/copyless_paste_agent.h

Issue 2709893002: Add render frame observer for CopylessPaste (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698