| OLD | NEW |
| 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 * |
| 11 * This library is distributed in the hope that it will be useful, | 11 * This library is distributed in the hope that it will be useful, |
| 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 14 * Library General Public License for more details. | 14 * Library General Public License for more details. |
| 15 * | 15 * |
| 16 * You should have received a copy of the GNU Library General Public License | 16 * You should have received a copy of the GNU Library General Public License |
| 17 * along with this library; see the file COPYING.LIB. If not, write to | 17 * along with this library; see the file COPYING.LIB. If not, write to |
| 18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 18 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
| 19 * Boston, MA 02110-1301, USA. | 19 * Boston, MA 02110-1301, USA. |
| 20 */ | 20 */ |
| 21 | 21 |
| 22 #ifndef SKY_ENGINE_CORE_PAGE_CHROMECLIENT_H_ | 22 #ifndef SKY_ENGINE_CORE_PAGE_CHROMECLIENT_H_ |
| 23 #define SKY_ENGINE_CORE_PAGE_CHROMECLIENT_H_ | 23 #define SKY_ENGINE_CORE_PAGE_CHROMECLIENT_H_ |
| 24 | 24 |
| 25 #include "sky/engine/core/frame/ConsoleTypes.h" | 25 #include "sky/engine/core/frame/ConsoleTypes.h" |
| 26 #include "sky/engine/core/inspector/ConsoleAPITypes.h" | 26 #include "sky/engine/core/inspector/ConsoleAPITypes.h" |
| 27 #include "sky/engine/core/page/FocusType.h" | 27 #include "sky/engine/core/page/FocusType.h" |
| 28 #include "sky/engine/platform/Cursor.h" | |
| 29 #include "sky/engine/public/platform/WebScreenInfo.h" | 28 #include "sky/engine/public/platform/WebScreenInfo.h" |
| 30 #include "sky/engine/wtf/Forward.h" | 29 #include "sky/engine/wtf/Forward.h" |
| 31 | 30 |
| 32 namespace blink { | 31 namespace blink { |
| 33 | 32 |
| 34 class Element; | 33 class Element; |
| 35 class FloatRect; | 34 class FloatRect; |
| 36 class IntRect; | 35 class IntRect; |
| 37 class LocalFrame; | 36 class LocalFrame; |
| 38 class Node; | 37 class Node; |
| (...skipping 16 matching lines...) Expand all Loading... |
| 55 virtual void addMessageToConsole(LocalFrame*, MessageSource, MessageLevel, c
onst String& message, unsigned lineNumber, const String& sourceID, const String&
stackTrace) = 0; | 54 virtual void addMessageToConsole(LocalFrame*, MessageSource, MessageLevel, c
onst String& message, unsigned lineNumber, const String& sourceID, const String&
stackTrace) = 0; |
| 56 | 55 |
| 57 virtual void* webView() const = 0; | 56 virtual void* webView() const = 0; |
| 58 | 57 |
| 59 // Methods used by HostWindow. | 58 // Methods used by HostWindow. |
| 60 virtual IntRect rootViewToScreen(const IntRect&) const = 0; | 59 virtual IntRect rootViewToScreen(const IntRect&) const = 0; |
| 61 virtual blink::WebScreenInfo screenInfo() const = 0; | 60 virtual blink::WebScreenInfo screenInfo() const = 0; |
| 62 virtual void scheduleVisualUpdate() = 0; | 61 virtual void scheduleVisualUpdate() = 0; |
| 63 // End methods used by HostWindow. | 62 // End methods used by HostWindow. |
| 64 | 63 |
| 65 virtual void setCursor(const Cursor&) = 0; | |
| 66 | |
| 67 virtual String acceptLanguages() = 0; | 64 virtual String acceptLanguages() = 0; |
| 68 | 65 |
| 69 protected: | 66 protected: |
| 70 virtual ~ChromeClient() { } | 67 virtual ~ChromeClient() { } |
| 71 }; | 68 }; |
| 72 | 69 |
| 73 } | 70 } |
| 74 #endif // SKY_ENGINE_CORE_PAGE_CHROMECLIENT_H_ | 71 #endif // SKY_ENGINE_CORE_PAGE_CHROMECLIENT_H_ |
| OLD | NEW |