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

Side by Side Diff: content/browser/navigation_controller/navigation_controller_dispatcher_host.h

Issue 23615009: Stub out initial NavigationController browser implementation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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
(Empty)
1 // Copyright 2013 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 CONTENT_BROWSER_NAVIGATION_CONTROLLER_NAVIGATION_CONTROLLER_DISPATCHER_H OST_H_
6 #define CONTENT_BROWSER_NAVIGATION_CONTROLLER_NAVIGATION_CONTROLLER_DISPATCHER_H OST_H_
7
8 #include "content/public/browser/browser_message_filter.h"
9
10 class GURL;
11
12 namespace content {
13
14 class NavigationControllerContext;
15
16 class NavigationControllerDispatcherHost : public BrowserMessageFilter {
17 public:
18 explicit NavigationControllerDispatcherHost(
19 NavigationControllerContext* context);
20
21 // BrowserIOMessageFilter implementation
22 virtual bool OnMessageReceived(const IPC::Message& message,
23 bool* message_was_ok) OVERRIDE;
24
25 protected:
26 virtual ~NavigationControllerDispatcherHost();
27
28 private:
29 // IPC Message handlers
30 void OnRegisterController(int32 host_id,
31 const string16& scope,
32 const GURL& script_url);
33 void OnUnregisterController(int32 host_id, const string16& scope);
34
35 scoped_refptr<NavigationControllerContext> context_;
36 };
37
38 } // namespace content
39
40 #endif // CONTENT_BROWSER_NAVIGATION_CONTROLLER_NAVIGATION_CONTROLLER_DISPATCHE R_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698