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

Side by Side Diff: chrome/browser/ui/webui/options/options_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_OPTIONS_OPTIONS_UI_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_OPTIONS_OPTIONS_UI_H_
6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_OPTIONS_UI_H_ 6 #define CHROME_BROWSER_UI_WEBUI_OPTIONS_OPTIONS_UI_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #include "chrome/browser/ui/webui/chrome_url_data_manager.h" 13 #include "chrome/browser/ui/webui/chrome_url_data_manager.h"
14 #include "chrome/browser/ui/webui/chrome_web_ui.h" 14 #include "chrome/browser/ui/webui/chrome_web_ui.h"
15 #include "content/public/browser/notification_observer.h" 15 #include "content/public/browser/notification_observer.h"
16 #include "content/public/browser/notification_registrar.h" 16 #include "content/public/browser/notification_registrar.h"
17 #include "content/public/browser/notification_types.h" 17 #include "content/public/browser/notification_types.h"
18 18
19 class GURL;
20 class PrefService;
21 struct UserMetricsAction;
22
23 // The base class handler of Javascript messages of options pages. 19 // The base class handler of Javascript messages of options pages.
24 class OptionsPageUIHandler : public WebUIMessageHandler, 20 class OptionsPageUIHandler : public WebUIMessageHandler,
25 public content::NotificationObserver { 21 public content::NotificationObserver {
26 public: 22 public:
27 OptionsPageUIHandler(); 23 OptionsPageUIHandler();
28 virtual ~OptionsPageUIHandler(); 24 virtual ~OptionsPageUIHandler();
29 25
30 // Is this handler enabled? 26 // Is this handler enabled?
31 virtual bool IsEnabled(); 27 virtual bool IsEnabled();
32 28
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 // Sets the WebUI CommandLineString property with arguments passed while 99 // Sets the WebUI CommandLineString property with arguments passed while
104 // launching chrome. 100 // launching chrome.
105 void SetCommandLineString(RenderViewHost* render_view_host); 101 void SetCommandLineString(RenderViewHost* render_view_host);
106 102
107 bool initialized_handlers_; 103 bool initialized_handlers_;
108 104
109 DISALLOW_COPY_AND_ASSIGN(OptionsUI); 105 DISALLOW_COPY_AND_ASSIGN(OptionsUI);
110 }; 106 };
111 107
112 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_OPTIONS_UI_H_ 108 #endif // CHROME_BROWSER_UI_WEBUI_OPTIONS_OPTIONS_UI_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/options/extension_settings_handler.h ('k') | chrome/browser/ui/webui/print_preview_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698