Chromium Code Reviews

Side by Side Diff: chrome/browser/dom_ui/dom_ui.h

Issue 257055: Remove references to DOMUIContents. It looks like the class doesn't exist. (Closed)
Patch Set: remove Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
« no previous file with comments | « no previous file | chrome/browser/tab_contents/tab_contents.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_DOM_UI_DOM_UI_H_ 5 #ifndef CHROME_BROWSER_DOM_UI_DOM_UI_H_
6 #define CHROME_BROWSER_DOM_UI_DOM_UI_H_ 6 #define CHROME_BROWSER_DOM_UI_DOM_UI_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 21 matching lines...)
32 // Called by RenderViewHost when the RenderView is first created. This is 32 // Called by RenderViewHost when the RenderView is first created. This is
33 // *not* called for every page load because in some cases 33 // *not* called for every page load because in some cases
34 // RenderViewHostManager will reuse RenderView instances. In those cases, 34 // RenderViewHostManager will reuse RenderView instances. In those cases,
35 // RenderViewReused will be called instead. 35 // RenderViewReused will be called instead.
36 virtual void RenderViewCreated(RenderViewHost* render_view_host) {} 36 virtual void RenderViewCreated(RenderViewHost* render_view_host) {}
37 37
38 // Called by RenderViewHostManager when a RenderView is reused to display a 38 // Called by RenderViewHostManager when a RenderView is reused to display a
39 // page. 39 // page.
40 virtual void RenderViewReused(RenderViewHost* render_view_host) {} 40 virtual void RenderViewReused(RenderViewHost* render_view_host) {}
41 41
42 // Called from DOMUIContents. 42 // Called from TabContents.
43 virtual void ProcessDOMUIMessage(const std::string& message, 43 virtual void ProcessDOMUIMessage(const std::string& message,
44 const std::string& content, 44 const std::string& content,
45 int request_id, 45 int request_id,
46 bool has_callback); 46 bool has_callback);
47 47
48 // Used by DOMMessageHandlers. 48 // Used by DOMMessageHandlers.
49 typedef Callback1<const Value*>::Type MessageCallback; 49 typedef Callback1<const Value*>::Type MessageCallback;
50 void RegisterMessageCallback(const std::string& message, 50 void RegisterMessageCallback(const std::string& message,
51 MessageCallback* callback); 51 MessageCallback* callback);
52 52
(...skipping 122 matching lines...)
175 // Extract a string value from a Value. 175 // Extract a string value from a Value.
176 std::wstring ExtractStringValue(const Value* value); 176 std::wstring ExtractStringValue(const Value* value);
177 177
178 DOMUI* dom_ui_; 178 DOMUI* dom_ui_;
179 179
180 private: 180 private:
181 DISALLOW_COPY_AND_ASSIGN(DOMMessageHandler); 181 DISALLOW_COPY_AND_ASSIGN(DOMMessageHandler);
182 }; 182 };
183 183
184 #endif // CHROME_BROWSER_DOM_UI_DOM_UI_H_ 184 #endif // CHROME_BROWSER_DOM_UI_DOM_UI_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/tab_contents/tab_contents.h » ('j') | no next file with comments »

Powered by Google App Engine