OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Google Inc. All rights reserved. | 2 * Copyright (C) 2009 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 are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 * | 7 * |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 18 matching lines...) Expand all Loading... |
29 */ | 29 */ |
30 | 30 |
31 #ifndef BackForwardClientImpl_h | 31 #ifndef BackForwardClientImpl_h |
32 #define BackForwardClientImpl_h | 32 #define BackForwardClientImpl_h |
33 | 33 |
34 #include "core/page/BackForwardClient.h" | 34 #include "core/page/BackForwardClient.h" |
35 | 35 |
36 namespace blink { | 36 namespace blink { |
37 class WebViewImpl; | 37 class WebViewImpl; |
38 | 38 |
39 class BackForwardClientImpl : public WebCore::BackForwardClient { | 39 class BackForwardClientImpl FINAL : public WebCore::BackForwardClient { |
40 public: | 40 public: |
41 explicit BackForwardClientImpl(WebViewImpl*); | 41 explicit BackForwardClientImpl(WebViewImpl*); |
42 virtual ~BackForwardClientImpl(); | 42 virtual ~BackForwardClientImpl(); |
43 | 43 |
44 private: | 44 private: |
45 // WebCore::BackForwardList methods: | 45 // WebCore::BackForwardList methods: |
46 virtual int backListCount(); | 46 virtual int backListCount() OVERRIDE; |
47 virtual int forwardListCount(); | 47 virtual int forwardListCount() OVERRIDE; |
48 virtual int backForwardListCount(); | 48 virtual int backForwardListCount() OVERRIDE; |
49 | 49 |
50 WebViewImpl* m_webView; | 50 WebViewImpl* m_webView; |
51 }; | 51 }; |
52 | 52 |
53 } // namespace blink | 53 } // namespace blink |
54 | 54 |
55 #endif | 55 #endif |
OLD | NEW |