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

Side by Side Diff: chrome/browser/ui/webui/settings/chromeos/note_handler.h

Issue 2178213002: Add note page to settings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@stylus-add-switch
Patch Set: Comments Created 4 years, 4 months 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
OLDNEW
(Empty)
1 // Copyright 2016 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_UI_WEBUI_SETTINGS_CHROMEOS_NOTE_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_SETTINGS_CHROMEOS_NOTE_HANDLER_H_
7
8 #include "base/macros.h"
9 #include "chrome/browser/ui/webui/settings/settings_page_ui_handler.h"
10
11 namespace content {
12 class WebUIDataSource;
13 }
14
15 namespace chromeos {
16 namespace settings {
17
18 // Chrome OS "Note" settings page UI handler.
19 class NoteHandler : public ::settings::SettingsPageUIHandler {
20 public:
21 explicit NoteHandler(content::WebUIDataSource* html_source);
22 ~NoteHandler() override;
23
24 private:
25 // SettingsPageUIHandler implementation.
26 void RegisterMessages() override;
27 void OnJavascriptAllowed() override;
28 void OnJavascriptDisallowed() override;
29
30 DISALLOW_COPY_AND_ASSIGN(NoteHandler);
31 };
32
33 } // namespace settings
34 } // namespace chromeos
35
36 #endif // CHROME_BROWSER_UI_WEBUI_SETTINGS_CHROMEOS_NOTE_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698