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

Side by Side Diff: chrome/browser/renderer_host/chrome_render_view_host_observer.h

Issue 7066039: Remove dependency on PrefChangeRegistrar and renderer_preferences_util from content. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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 | 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_RENDERER_HOST_CHROME_RENDER_VIEW_HOST_OBSERVER_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_CHROME_RENDER_VIEW_HOST_OBSERVER_H_
6 #define CHROME_BROWSER_RENDERER_HOST_CHROME_RENDER_VIEW_HOST_OBSERVER_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_CHROME_RENDER_VIEW_HOST_OBSERVER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "content/browser/renderer_host/render_view_host_observer.h" 9 #include "content/browser/renderer_host/render_view_host_observer.h"
10 10
11 // This class holds the Chrome specific parts of RenderViewHost, and has the 11 // This class holds the Chrome specific parts of RenderViewHost, and has the
12 // same lifetime. 12 // same lifetime.
13 class ChromeRenderViewHostObserver : public RenderViewHostObserver { 13 class ChromeRenderViewHostObserver : public RenderViewHostObserver {
14 public: 14 public:
15 explicit ChromeRenderViewHostObserver(RenderViewHost* render_view_host); 15 explicit ChromeRenderViewHostObserver(RenderViewHost* render_view_host);
16 virtual ~ChromeRenderViewHostObserver(); 16 virtual ~ChromeRenderViewHostObserver();
17 17
18 // RenderViewHostObserver overrides. 18 // RenderViewHostObserver overrides.
19 virtual bool OnMessageReceived(const IPC::Message& message); 19 virtual void Navigate(const ViewMsg_Navigate_Params& params) OVERRIDE;
20 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
20 21
21 private: 22 private:
22 void OnDomOperationResponse(const std::string& json_string, 23 void OnDomOperationResponse(const std::string& json_string,
23 int automation_id); 24 int automation_id);
24 25
25 DISALLOW_COPY_AND_ASSIGN(ChromeRenderViewHostObserver); 26 DISALLOW_COPY_AND_ASSIGN(ChromeRenderViewHostObserver);
26 }; 27 };
27 28
28 #endif // CHROME_BROWSER_RENDERER_HOST_CHROME_RENDER_VIEW_HOST_OBSERVER_H_ 29 #endif // CHROME_BROWSER_RENDERER_HOST_CHROME_RENDER_VIEW_HOST_OBSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698