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

Side by Side Diff: chrome/browser/external_protocol/external_protocol_observer.cc

Issue 9030032: Get rid of a bunch of tab_contents.h includes from chrome. These are all trivial changes to use W... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix cros Created 8 years, 11 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/external_protocol/external_protocol_observer.h" 5 #include "chrome/browser/external_protocol/external_protocol_observer.h"
6 6
7 #include "chrome/browser/external_protocol/external_protocol_handler.h" 7 #include "chrome/browser/external_protocol/external_protocol_handler.h"
8 #include "content/browser/tab_contents/tab_contents.h"
9 8
10 ExternalProtocolObserver::ExternalProtocolObserver(TabContents* tab_contents) 9 using content::WebContents;
11 : content::WebContentsObserver(tab_contents) { 10
11 ExternalProtocolObserver::ExternalProtocolObserver(WebContents* web_contents)
12 : content::WebContentsObserver(web_contents) {
12 } 13 }
13 14
14 ExternalProtocolObserver::~ExternalProtocolObserver() { 15 ExternalProtocolObserver::~ExternalProtocolObserver() {
15 } 16 }
16 17
17 void ExternalProtocolObserver::DidGetUserGesture() { 18 void ExternalProtocolObserver::DidGetUserGesture() {
18 ExternalProtocolHandler::PermitLaunchUrl(); 19 ExternalProtocolHandler::PermitLaunchUrl();
19 } 20 }
OLDNEW
« no previous file with comments | « chrome/browser/external_protocol/external_protocol_observer.h ('k') | chrome/browser/favicon/favicon_tab_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698