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

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

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 #ifndef CHROME_BROWSER_EXTERNAL_PROTOCOL_EXTERNAL_PROTOCOL_OBSERVER_H_ 5 #ifndef CHROME_BROWSER_EXTERNAL_PROTOCOL_EXTERNAL_PROTOCOL_OBSERVER_H_
6 #define CHROME_BROWSER_EXTERNAL_PROTOCOL_EXTERNAL_PROTOCOL_OBSERVER_H_ 6 #define CHROME_BROWSER_EXTERNAL_PROTOCOL_EXTERNAL_PROTOCOL_OBSERVER_H_
7 7
8 #include "content/public/browser/web_contents_observer.h" 8 #include "content/public/browser/web_contents_observer.h"
9 9
10 // ExternalProtocolObserver is responsible for handling messages from 10 // ExternalProtocolObserver is responsible for handling messages from
11 // TabContents relating to external protocols. 11 // TabContents relating to external protocols.
12 class ExternalProtocolObserver : public content::WebContentsObserver { 12 class ExternalProtocolObserver : public content::WebContentsObserver {
13 public: 13 public:
14 explicit ExternalProtocolObserver(TabContents* tab_contents); 14 explicit ExternalProtocolObserver(content::WebContents* web_contents);
15 virtual ~ExternalProtocolObserver(); 15 virtual ~ExternalProtocolObserver();
16 16
17 // content::WebContentsObserver overrides. 17 // content::WebContentsObserver overrides.
18 virtual void DidGetUserGesture() OVERRIDE; 18 virtual void DidGetUserGesture() OVERRIDE;
19 19
20 private: 20 private:
21 DISALLOW_COPY_AND_ASSIGN(ExternalProtocolObserver); 21 DISALLOW_COPY_AND_ASSIGN(ExternalProtocolObserver);
22 }; 22 };
23 23
24 #endif // CHROME_BROWSER_EXTERNAL_PROTOCOL_EXTERNAL_PROTOCOL_OBSERVER_H_ 24 #endif // CHROME_BROWSER_EXTERNAL_PROTOCOL_EXTERNAL_PROTOCOL_OBSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698