Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef CHROME_BROWSER_DOM_UI_GENERIC_HANDLER_H_ | |
| 6 #define CHROME_BROWSER_DOM_UI_GENERIC_HANDLER_H_ | |
| 7 #pragma once | |
| 8 | |
| 9 #include "chrome/browser/dom_ui/dom_ui.h" | |
| 10 | |
| 11 class ListValue; | |
| 12 | |
| 13 class GenericHandler : public DOMMessageHandler { | |
|
arv (Not doing code reviews)
2011/01/21 23:07:32
I would call this NavigationHandler
Evan Stade
2011/01/21 23:41:35
I forgot to add a comment to the class, but the id
| |
| 14 public: | |
| 15 GenericHandler(); | |
| 16 virtual ~GenericHandler(); | |
| 17 | |
| 18 // DOMMessageHandler implementation. | |
| 19 virtual void RegisterMessages(); | |
| 20 | |
| 21 private: | |
| 22 void HandleNavigateToUrl(const ListValue* args); | |
| 23 | |
| 24 DISALLOW_COPY_AND_ASSIGN(GenericHandler); | |
| 25 }; | |
| 26 | |
| 27 #endif // CHROME_BROWSER_DOM_UI_GENERIC_HANDLER_H_ | |
| OLD | NEW |