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

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

Issue 8604005: Add OVERRIDE to chrome/browser/ui/webui/. (Closed) Base URL: svn://svn.chromium.org/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_INPUT_WINDOW_DIALOG_WEBUI_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_INPUT_WINDOW_DIALOG_WEBUI_H_
6 #define CHROME_BROWSER_UI_WEBUI_INPUT_WINDOW_DIALOG_WEBUI_H_ 6 #define CHROME_BROWSER_UI_WEBUI_INPUT_WINDOW_DIALOG_WEBUI_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 62
63 // Dialog handler that handles calls from the JS WebUI code to validate the 63 // Dialog handler that handles calls from the JS WebUI code to validate the
64 // string value in the text field. 64 // string value in the text field.
65 class InputWindowDialogHandler : public WebUIMessageHandler { 65 class InputWindowDialogHandler : public WebUIMessageHandler {
66 public: 66 public:
67 explicit InputWindowDialogHandler(InputWindowDialog::Delegate* delegate); 67 explicit InputWindowDialogHandler(InputWindowDialog::Delegate* delegate);
68 68
69 void CloseDialog(); 69 void CloseDialog();
70 70
71 // Overridden from WebUIMessageHandler 71 // Overridden from WebUIMessageHandler
72 virtual void RegisterMessages(); 72 virtual void RegisterMessages() OVERRIDE;
73 73
74 private: 74 private:
75 void Validate(const base::ListValue* args); 75 void Validate(const base::ListValue* args);
76 76
77 InputWindowDialog::Delegate* delegate_; 77 InputWindowDialog::Delegate* delegate_;
78 78
79 DISALLOW_COPY_AND_ASSIGN(InputWindowDialogHandler); 79 DISALLOW_COPY_AND_ASSIGN(InputWindowDialogHandler);
80 }; 80 };
81 81
82 #endif // CHROME_BROWSER_UI_WEBUI_INPUT_WINDOW_DIALOG_WEBUI_H_ 82 #endif // CHROME_BROWSER_UI_WEBUI_INPUT_WINDOW_DIALOG_WEBUI_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/hung_renderer_dialog.h ('k') | chrome/browser/ui/webui/media/media_internals_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698