| OLD | NEW |
| 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 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 26 matching lines...) Expand all Loading... |
| 37 #include "wtf/PassRefPtr.h" | 37 #include "wtf/PassRefPtr.h" |
| 38 | 38 |
| 39 namespace WebCore { | 39 namespace WebCore { |
| 40 class Prerender; | 40 class Prerender; |
| 41 } | 41 } |
| 42 | 42 |
| 43 namespace blink { | 43 namespace blink { |
| 44 | 44 |
| 45 class WebPrerendererClient; | 45 class WebPrerendererClient; |
| 46 | 46 |
| 47 class PrerendererClientImpl : public WebCore::PrerendererClient { | 47 class PrerendererClientImpl FINAL : public WebCore::PrerendererClient { |
| 48 WTF_MAKE_NONCOPYABLE(PrerendererClientImpl); | 48 WTF_MAKE_NONCOPYABLE(PrerendererClientImpl); |
| 49 public: | 49 public: |
| 50 explicit PrerendererClientImpl(WebPrerendererClient*); | 50 explicit PrerendererClientImpl(WebPrerendererClient*); |
| 51 | 51 |
| 52 void willAddPrerender(WebCore::Prerender*) OVERRIDE; | 52 void willAddPrerender(WebCore::Prerender*) OVERRIDE; |
| 53 | 53 |
| 54 private: | 54 private: |
| 55 WebPrerendererClient* m_client; | 55 WebPrerendererClient* m_client; |
| 56 }; | 56 }; |
| 57 | 57 |
| 58 } | 58 } |
| 59 | 59 |
| 60 #endif // PrerendererClientImpl_h | 60 #endif // PrerendererClientImpl_h |
| OLD | NEW |