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

Side by Side Diff: third_party/WebKit/Source/web/agent/sample/sample_agent.cc

Issue 2591803002: NOT FOR LANDING: Thread the needle through all webmodules.
Patch Set: Needle threaded all the way. Created 3 years, 12 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 // TODO(dglazkov): Add license header
2
3 #include "web/agent/sample/sample_agent.h"
4
5 #include "web/api/element.h"
6
7 namespace web {
8 namespace agent {
9
10 using api::Frame;
11 using api::Element;
12
13 SampleAgent::SampleAgent(Frame* frame) : Agent(frame) {
14 Element* element = frame->GetFunkyElement();
15 if (element)
16 element->SetId("FUNKY!");
17 }
18
19 } // namespace agent
20 } // namespace web
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698