OLD | NEW |
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_UI_WEBUI_UBER_UBER_UI_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_UBER_UBER_UI_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_UBER_UBER_UI_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_UBER_UBER_UI_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 25 matching lines...) Expand all Loading... |
36 | 36 |
37 // Creates and stores a WebUI for the given URL. | 37 // Creates and stores a WebUI for the given URL. |
38 void RegisterSubpage(const std::string& page_url); | 38 void RegisterSubpage(const std::string& page_url); |
39 | 39 |
40 // The WebUI*s in this map are owned. | 40 // The WebUI*s in this map are owned. |
41 SubpageMap sub_uis_; | 41 SubpageMap sub_uis_; |
42 | 42 |
43 DISALLOW_COPY_AND_ASSIGN(UberUI); | 43 DISALLOW_COPY_AND_ASSIGN(UberUI); |
44 }; | 44 }; |
45 | 45 |
| 46 class UberFrameUI : public content::WebUIController { |
| 47 public: |
| 48 explicit UberFrameUI(content::WebUI* web_ui); |
| 49 virtual ~UberFrameUI(); |
| 50 |
| 51 private: |
| 52 DISALLOW_COPY_AND_ASSIGN(UberFrameUI); |
| 53 }; |
| 54 |
46 #endif // CHROME_BROWSER_UI_WEBUI_UBER_UBER_UI_H_ | 55 #endif // CHROME_BROWSER_UI_WEBUI_UBER_UBER_UI_H_ |
OLD | NEW |