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

Side by Side Diff: components/chooser_controller/chooser_controller.cc

Issue 1984923002: Refactor ChooserBubbleController (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixed compile error on Linux and Windows Created 4 years, 7 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 2015 The Chromium Authors. All rights reserved.
Reilly Grant (use Gerrit) 2016/05/17 17:19:00 2016
juncai 2016/05/17 20:09:25 Done.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "components/chooser_controller/chooser_controller.h"
6
7 #include "content/public/browser/render_frame_host.h"
8
9 ChooserController::ChooserController(content::RenderFrameHost* owner)
10 : owning_frame_(owner) {}
11
12 ChooserController::~ChooserController() {}
13
14 url::Origin ChooserController::GetOrigin() const {
15 return const_cast<content::RenderFrameHost*>(owning_frame_)
16 ->GetLastCommittedOrigin();
17 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698