| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006 Eric Seidel (eric@webkit.org) | 2 * Copyright (C) 2006 Eric Seidel (eric@webkit.org) |
| 3 * Copyright (C) 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved. | 3 * Copyright (C) 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights reserved. |
| 4 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). | 4 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
| 5 * Copyright (C) 2012 Samsung Electronics. All rights reserved. | 5 * Copyright (C) 2012 Samsung Electronics. All rights reserved. |
| 6 * | 6 * |
| 7 * Redistribution and use in source and binary forms, with or without | 7 * Redistribution and use in source and binary forms, with or without |
| 8 * modification, are permitted provided that the following conditions | 8 * modification, are permitted provided that the following conditions |
| 9 * are met: | 9 * are met: |
| 10 * 1. Redistributions of source code must retain the above copyright | 10 * 1. Redistributions of source code must retain the above copyright |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 virtual bool shouldReportDetailedMessageForSource(const String&) override {
return false; } | 82 virtual bool shouldReportDetailedMessageForSource(const String&) override {
return false; } |
| 83 virtual void addMessageToConsole(LocalFrame*, MessageSource, MessageLevel, c
onst String&, unsigned, const String&, const String&) override { } | 83 virtual void addMessageToConsole(LocalFrame*, MessageSource, MessageLevel, c
onst String&, unsigned, const String&, const String&) override { } |
| 84 | 84 |
| 85 virtual void scheduleAnimation() override { } | 85 virtual void scheduleAnimation() override { } |
| 86 | 86 |
| 87 virtual IntRect rootViewToScreen(const IntRect& r) const override { return r
; } | 87 virtual IntRect rootViewToScreen(const IntRect& r) const override { return r
; } |
| 88 virtual blink::WebScreenInfo screenInfo() const override { return blink::Web
ScreenInfo(); } | 88 virtual blink::WebScreenInfo screenInfo() const override { return blink::Web
ScreenInfo(); } |
| 89 | 89 |
| 90 virtual void setCursor(const Cursor&) override { } | 90 virtual void setCursor(const Cursor&) override { } |
| 91 | 91 |
| 92 virtual void setTouchAction(TouchAction touchAction) override { }; | |
| 93 | |
| 94 virtual String acceptLanguages() override; | 92 virtual String acceptLanguages() override; |
| 95 }; | 93 }; |
| 96 | 94 |
| 97 class EmptyFrameLoaderClient : public FrameLoaderClient { | 95 class EmptyFrameLoaderClient : public FrameLoaderClient { |
| 98 WTF_MAKE_NONCOPYABLE(EmptyFrameLoaderClient); WTF_MAKE_FAST_ALLOCATED; | 96 WTF_MAKE_NONCOPYABLE(EmptyFrameLoaderClient); WTF_MAKE_FAST_ALLOCATED; |
| 99 public: | 97 public: |
| 100 EmptyFrameLoaderClient() { } | 98 EmptyFrameLoaderClient() { } |
| 101 virtual ~EmptyFrameLoaderClient() { } | 99 virtual ~EmptyFrameLoaderClient() { } |
| 102 | 100 |
| 103 virtual void detachedFromParent() override { } | 101 virtual void detachedFromParent() override { } |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 virtual bool canPaste(LocalFrame*, bool defaultValue) const override { retur
n defaultValue; } | 173 virtual bool canPaste(LocalFrame*, bool defaultValue) const override { retur
n defaultValue; } |
| 176 | 174 |
| 177 virtual bool handleKeyboardEvent() override { return false; } | 175 virtual bool handleKeyboardEvent() override { return false; } |
| 178 }; | 176 }; |
| 179 | 177 |
| 180 void fillWithEmptyClients(Page::PageClients&); | 178 void fillWithEmptyClients(Page::PageClients&); |
| 181 | 179 |
| 182 } | 180 } |
| 183 | 181 |
| 184 #endif // SKY_ENGINE_CORE_LOADER_EMPTYCLIENTS_H_ | 182 #endif // SKY_ENGINE_CORE_LOADER_EMPTYCLIENTS_H_ |
| OLD | NEW |