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

Unified Diff: chrome/browser/chromeos/choose_mobile_network_dialog.h

Issue 7124001: [cleanup] Use Delegate method to control context menu and eliminate HtmlDialogWithoutContextMenuView (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: " Created 9 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/chromeos/choose_mobile_network_dialog.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/choose_mobile_network_dialog.h
diff --git a/chrome/browser/chromeos/choose_mobile_network_dialog.h b/chrome/browser/chromeos/choose_mobile_network_dialog.h
index a0a92be2e976882394a531c0b96ae925930a4432..2198249e024f5b02a6250adae63c5634815c8ff1 100644
--- a/chrome/browser/chromeos/choose_mobile_network_dialog.h
+++ b/chrome/browser/chromeos/choose_mobile_network_dialog.h
@@ -20,16 +20,18 @@ class ChooseMobileNetworkDialog : private HtmlDialogUIDelegate {
ChooseMobileNetworkDialog();
// Overridden from HtmlDialogUI::Delegate:
- virtual bool IsDialogModal() const;
- virtual std::wstring GetDialogTitle() const;
- virtual GURL GetDialogContentURL() const;
+ virtual bool IsDialogModal() const OVERRIDE;
+ virtual std::wstring GetDialogTitle() const OVERRIDE;
+ virtual GURL GetDialogContentURL() const OVERRIDE;
virtual void GetWebUIMessageHandlers(
- std::vector<WebUIMessageHandler*>* handlers) const;
- virtual void GetDialogSize(gfx::Size* size) const;
- virtual std::string GetDialogArgs() const;
- virtual void OnDialogClosed(const std::string& json_retval);
- virtual void OnCloseContents(TabContents* source, bool* out_close_dialog);
- virtual bool ShouldShowDialogTitle() const;
+ std::vector<WebUIMessageHandler*>* handlers) const OVERRIDE;
+ virtual void GetDialogSize(gfx::Size* size) const OVERRIDE;
+ virtual std::string GetDialogArgs() const OVERRIDE;
+ virtual void OnDialogClosed(const std::string& json_retval) OVERRIDE;
+ virtual void OnCloseContents(
+ TabContents* source, bool* out_close_dialog) OVERRIDE;
+ virtual bool ShouldShowDialogTitle() const OVERRIDE;
+ virtual bool HandleContextMenu(const ContextMenuParams& params) OVERRIDE;
DISALLOW_COPY_AND_ASSIGN(ChooseMobileNetworkDialog);
};
« no previous file with comments | « no previous file | chrome/browser/chromeos/choose_mobile_network_dialog.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698