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

Side by Side Diff: chrome/browser/ui/webui/keyboard_ui.h

Issue 8537007: Cleanup: Remove unneeded forward declarations from chrome/browser/ui/webui. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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_UI_WEBUI_KEYBOARD_UI_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_KEYBOARD_UI_H_
6 #define CHROME_BROWSER_UI_WEBUI_KEYBOARD_UI_H_ 6 #define CHROME_BROWSER_UI_WEBUI_KEYBOARD_UI_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "chrome/browser/ui/webui/chrome_url_data_manager.h" 11 #include "chrome/browser/ui/webui/chrome_url_data_manager.h"
12 #include "chrome/browser/ui/webui/chrome_web_ui.h" 12 #include "chrome/browser/ui/webui/chrome_web_ui.h"
13 13
14 class Profile;
15
16 // The TabContents used for the keyboard page. 14 // The TabContents used for the keyboard page.
17 class KeyboardUI : public ChromeWebUI { 15 class KeyboardUI : public ChromeWebUI {
18 public: 16 public:
19 explicit KeyboardUI(TabContents* manager); 17 explicit KeyboardUI(TabContents* manager);
20 virtual ~KeyboardUI(); 18 virtual ~KeyboardUI();
21 19
22 class KeyboardHTMLSource : public ChromeURLDataManager::DataSource { 20 class KeyboardHTMLSource : public ChromeURLDataManager::DataSource {
23 public: 21 public:
24 KeyboardHTMLSource(); 22 KeyboardHTMLSource();
25 23
26 // Overrides from DataSource 24 // Overrides from DataSource
27 virtual void StartDataRequest(const std::string& path, 25 virtual void StartDataRequest(const std::string& path,
28 bool is_incognito, 26 bool is_incognito,
29 int request_id) OVERRIDE; 27 int request_id) OVERRIDE;
30 virtual std::string GetMimeType(const std::string&) const OVERRIDE; 28 virtual std::string GetMimeType(const std::string&) const OVERRIDE;
31 29
32 private: 30 private:
33 virtual ~KeyboardHTMLSource() {} 31 virtual ~KeyboardHTMLSource() {}
34 32
35 DISALLOW_COPY_AND_ASSIGN(KeyboardHTMLSource); 33 DISALLOW_COPY_AND_ASSIGN(KeyboardHTMLSource);
36 }; 34 };
37 35
38 private: 36 private:
39 DISALLOW_COPY_AND_ASSIGN(KeyboardUI); 37 DISALLOW_COPY_AND_ASSIGN(KeyboardUI);
40 }; 38 };
41 39
42 #endif // CHROME_BROWSER_UI_WEBUI_KEYBOARD_UI_H_ 40 #endif // CHROME_BROWSER_UI_WEBUI_KEYBOARD_UI_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/html_dialog_tab_contents_delegate.h ('k') | chrome/browser/ui/webui/ntp/app_launcher_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698