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

Side by Side Diff: Source/web/ValidationMessageClientImpl.h

Issue 135753002: Update web classes to use OVERRIDE / FINAL when needed (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase Created 6 years, 11 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
« no previous file with comments | « Source/web/UserMediaClientImpl.h ('k') | Source/web/WebDataSourceImpl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 21 matching lines...) Expand all
32 #include "wtf/text/WTFString.h" 32 #include "wtf/text/WTFString.h"
33 33
34 namespace WebCore { 34 namespace WebCore {
35 class FrameView; 35 class FrameView;
36 } 36 }
37 37
38 namespace blink { 38 namespace blink {
39 39
40 class WebViewImpl; 40 class WebViewImpl;
41 41
42 class ValidationMessageClientImpl : public WebCore::ValidationMessageClient { 42 class ValidationMessageClientImpl FINAL : public WebCore::ValidationMessageClien t {
43 public: 43 public:
44 static PassOwnPtr<ValidationMessageClientImpl> create(WebViewImpl&); 44 static PassOwnPtr<ValidationMessageClientImpl> create(WebViewImpl&);
45 virtual ~ValidationMessageClientImpl(); 45 virtual ~ValidationMessageClientImpl();
46 46
47 private: 47 private:
48 ValidationMessageClientImpl(WebViewImpl&); 48 ValidationMessageClientImpl(WebViewImpl&);
49 void checkAnchorStatus(WebCore::Timer<ValidationMessageClientImpl>*); 49 void checkAnchorStatus(WebCore::Timer<ValidationMessageClientImpl>*);
50 WebCore::FrameView* currentView(); 50 WebCore::FrameView* currentView();
51 51
52 virtual void showValidationMessage(const WebCore::Element& anchor, const Str ing& message) OVERRIDE; 52 virtual void showValidationMessage(const WebCore::Element& anchor, const Str ing& message) OVERRIDE;
53 virtual void hideValidationMessage(const WebCore::Element& anchor) OVERRIDE; 53 virtual void hideValidationMessage(const WebCore::Element& anchor) OVERRIDE;
54 virtual bool isValidationMessageVisible(const WebCore::Element& anchor) OVER RIDE; 54 virtual bool isValidationMessageVisible(const WebCore::Element& anchor) OVER RIDE;
55 virtual void documentDetached(const WebCore::Document&) OVERRIDE; 55 virtual void documentDetached(const WebCore::Document&) OVERRIDE;
56 56
57 WebViewImpl& m_webView; 57 WebViewImpl& m_webView;
58 const WebCore::Element* m_currentAnchor; 58 const WebCore::Element* m_currentAnchor;
59 String m_message; 59 String m_message;
60 WebCore::IntRect m_lastAnchorRectInScreen; 60 WebCore::IntRect m_lastAnchorRectInScreen;
61 float m_lastPageScaleFactor; 61 float m_lastPageScaleFactor;
62 double m_finishTime; 62 double m_finishTime;
63 WebCore::Timer<ValidationMessageClientImpl> m_timer; 63 WebCore::Timer<ValidationMessageClientImpl> m_timer;
64 }; 64 };
65 65
66 } 66 }
67 67
68 #endif 68 #endif
OLDNEW
« no previous file with comments | « Source/web/UserMediaClientImpl.h ('k') | Source/web/WebDataSourceImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698