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

Side by Side Diff: content/browser/tab_contents/tab_contents_observer.h

Issue 6537015: Start moving core pieces of Chrome multi-process code to src\content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 10 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_TAB_CONTENTS_TAB_CONTENTS_OBSERVER_H_ 5 #ifndef CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_OBSERVER_H_
6 #define CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_OBSERVER_H_ 6 #define CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_OBSERVER_H_
7 7
8 #include "chrome/browser/tab_contents/navigation_controller.h" 8 #include "content/browser/tab_contents/navigation_controller.h"
9 #include "ipc/ipc_channel.h" 9 #include "ipc/ipc_channel.h"
10 10
11 struct ViewHostMsg_FrameNavigate_Params; 11 struct ViewHostMsg_FrameNavigate_Params;
12 12
13 // An observer API implemented by classes which are interested in various page 13 // An observer API implemented by classes which are interested in various page
14 // load events from TabContents. They also get a chance to filter IPC messages. 14 // load events from TabContents. They also get a chance to filter IPC messages.
15 class TabContentsObserver : public IPC::Channel::Listener { 15 class TabContentsObserver : public IPC::Channel::Listener {
16 public: 16 public:
17 virtual void NavigateToPendingEntry() { } 17 virtual void NavigateToPendingEntry() { }
18 18
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 59
60 void set_tab_contents(TabContents* tc) { tab_contents_ = tc; } 60 void set_tab_contents(TabContents* tc) { tab_contents_ = tc; }
61 61
62 TabContents* tab_contents_; 62 TabContents* tab_contents_;
63 // The routing ID of the associated TabContents. 63 // The routing ID of the associated TabContents.
64 int routing_id_; 64 int routing_id_;
65 65
66 DISALLOW_COPY_AND_ASSIGN(TabContentsObserver); 66 DISALLOW_COPY_AND_ASSIGN(TabContentsObserver);
67 }; 67 };
68 68
69 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_OBSERVER_H_ 69 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_OBSERVER_H_
OLDNEW
« no previous file with comments | « content/browser/tab_contents/tab_contents_delegate.cc ('k') | content/browser/tab_contents/tab_contents_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698