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

Side by Side Diff: Source/core/page/ChromeClient.h

Issue 1232333002: Fix virtual/override/final usage in the rest of Source/core/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple, Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple, Inc. All rights reserved.
3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). 3 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
4 * Copyright (C) 2012 Samsung Electronics. All rights reserved. 4 * Copyright (C) 2012 Samsung Electronics. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 virtual void showUnhandledTapUIIfNeeded(IntPoint, Node*, bool) { } 241 virtual void showUnhandledTapUIIfNeeded(IntPoint, Node*, bool) { }
242 242
243 virtual void onMouseDown(Node*) { } 243 virtual void onMouseDown(Node*) { }
244 244
245 virtual void didUpdateTopControls() const { } 245 virtual void didUpdateTopControls() const { }
246 246
247 virtual void registerPopupOpeningObserver(PopupOpeningObserver*) = 0; 247 virtual void registerPopupOpeningObserver(PopupOpeningObserver*) = 0;
248 virtual void unregisterPopupOpeningObserver(PopupOpeningObserver*) = 0; 248 virtual void unregisterPopupOpeningObserver(PopupOpeningObserver*) = 0;
249 249
250 protected: 250 protected:
251 virtual ~ChromeClient() { } 251 ~ChromeClient() override { }
252 252
253 virtual void showMouseOverURL(const HitTestResult&) = 0; 253 virtual void showMouseOverURL(const HitTestResult&) = 0;
254 virtual void setWindowRect(const IntRect&) = 0; 254 virtual void setWindowRect(const IntRect&) = 0;
255 virtual bool openBeforeUnloadConfirmPanelDelegate(LocalFrame*, const String& message) = 0; 255 virtual bool openBeforeUnloadConfirmPanelDelegate(LocalFrame*, const String& message) = 0;
256 virtual bool openJavaScriptAlertDelegate(LocalFrame*, const String&) = 0; 256 virtual bool openJavaScriptAlertDelegate(LocalFrame*, const String&) = 0;
257 virtual bool openJavaScriptConfirmDelegate(LocalFrame*, const String&) = 0; 257 virtual bool openJavaScriptConfirmDelegate(LocalFrame*, const String&) = 0;
258 virtual bool openJavaScriptPromptDelegate(LocalFrame*, const String& message , const String& defaultValue, String& result) = 0; 258 virtual bool openJavaScriptPromptDelegate(LocalFrame*, const String& message , const String& defaultValue, String& result) = 0;
259 virtual void printDelegate(LocalFrame*) = 0; 259 virtual void printDelegate(LocalFrame*) = 0;
260 260
261 private: 261 private:
262 bool canOpenModalIfDuringPageDismissal(Frame* mainFrame, DialogType, const S tring& message); 262 bool canOpenModalIfDuringPageDismissal(Frame* mainFrame, DialogType, const S tring& message);
263 void setToolTip(const HitTestResult&); 263 void setToolTip(const HitTestResult&);
264 }; 264 };
265 265
266 } // namespace blink 266 } // namespace blink
267 267
268 #endif // ChromeClient_h 268 #endif // ChromeClient_h
OLDNEW
« no previous file with comments | « Source/core/inspector/WorkerRuntimeAgent.h ('k') | Source/core/page/CustomContextMenuProvider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698