| 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 * |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 | 21 |
| 22 #ifndef ChromeClient_h | 22 #ifndef ChromeClient_h |
| 23 #define ChromeClient_h | 23 #define ChromeClient_h |
| 24 | 24 |
| 25 #include "core/dom/AXObjectCache.h" | 25 #include "core/dom/AXObjectCache.h" |
| 26 #include "core/inspector/ConsoleAPITypes.h" | 26 #include "core/inspector/ConsoleAPITypes.h" |
| 27 #include "core/loader/FrameLoader.h" | 27 #include "core/loader/FrameLoader.h" |
| 28 #include "core/loader/NavigationPolicy.h" | 28 #include "core/loader/NavigationPolicy.h" |
| 29 #include "core/frame/ConsoleTypes.h" | 29 #include "core/frame/ConsoleTypes.h" |
| 30 #include "core/html/forms/PopupMenuClient.h" | 30 #include "core/html/forms/PopupMenuClient.h" |
| 31 #include "core/page/FocusType.h" | |
| 32 #include "core/rendering/style/RenderStyleConstants.h" | 31 #include "core/rendering/style/RenderStyleConstants.h" |
| 33 #include "platform/Cursor.h" | 32 #include "platform/Cursor.h" |
| 34 #include "platform/HostWindow.h" | 33 #include "platform/HostWindow.h" |
| 35 #include "platform/PopupMenu.h" | 34 #include "platform/PopupMenu.h" |
| 36 #include "platform/heap/Handle.h" | 35 #include "platform/heap/Handle.h" |
| 37 #include "platform/scroll/ScrollTypes.h" | 36 #include "platform/scroll/ScrollTypes.h" |
| 37 #include "public/platform/WebFocusType.h" |
| 38 #include "wtf/Forward.h" | 38 #include "wtf/Forward.h" |
| 39 #include "wtf/PassOwnPtr.h" | 39 #include "wtf/PassOwnPtr.h" |
| 40 #include "wtf/Vector.h" | 40 #include "wtf/Vector.h" |
| 41 | 41 |
| 42 namespace blink { | 42 namespace blink { |
| 43 | 43 |
| 44 class AXObject; | 44 class AXObject; |
| 45 class ColorChooser; | 45 class ColorChooser; |
| 46 class ColorChooserClient; | 46 class ColorChooserClient; |
| 47 class DateTimeChooser; | 47 class DateTimeChooser; |
| (...skipping 26 matching lines...) Expand all Loading... |
| 74 public: | 74 public: |
| 75 virtual void chromeDestroyed() = 0; | 75 virtual void chromeDestroyed() = 0; |
| 76 | 76 |
| 77 virtual void setWindowRect(const FloatRect&) = 0; | 77 virtual void setWindowRect(const FloatRect&) = 0; |
| 78 virtual FloatRect windowRect() = 0; | 78 virtual FloatRect windowRect() = 0; |
| 79 | 79 |
| 80 virtual FloatRect pageRect() = 0; | 80 virtual FloatRect pageRect() = 0; |
| 81 | 81 |
| 82 virtual void focus() = 0; | 82 virtual void focus() = 0; |
| 83 | 83 |
| 84 virtual bool canTakeFocus(FocusType) = 0; | 84 virtual bool canTakeFocus(WebFocusType) = 0; |
| 85 virtual void takeFocus(FocusType) = 0; | 85 virtual void takeFocus(WebFocusType) = 0; |
| 86 | 86 |
| 87 virtual void focusedNodeChanged(Node*) = 0; | 87 virtual void focusedNodeChanged(Node*) = 0; |
| 88 | 88 |
| 89 virtual void focusedFrameChanged(LocalFrame*) = 0; | 89 virtual void focusedFrameChanged(LocalFrame*) = 0; |
| 90 | 90 |
| 91 // The LocalFrame pointer provides the ChromeClient with context about which | 91 // The LocalFrame pointer provides the ChromeClient with context about which |
| 92 // LocalFrame wants to create the new Page. Also, the newly created window | 92 // LocalFrame wants to create the new Page. Also, the newly created window |
| 93 // should not be shown to the user until the ChromeClient of the newly | 93 // should not be shown to the user until the ChromeClient of the newly |
| 94 // created Page has its show method called. | 94 // created Page has its show method called. |
| 95 // The FrameLoadRequest parameter is only for ChromeClient to check if the | 95 // The FrameLoadRequest parameter is only for ChromeClient to check if the |
| (...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 237 | 237 |
| 238 virtual void registerViewportLayers() const { } | 238 virtual void registerViewportLayers() const { } |
| 239 | 239 |
| 240 protected: | 240 protected: |
| 241 virtual ~ChromeClient() { } | 241 virtual ~ChromeClient() { } |
| 242 }; | 242 }; |
| 243 | 243 |
| 244 } // namespace blink | 244 } // namespace blink |
| 245 | 245 |
| 246 #endif // ChromeClient_h | 246 #endif // ChromeClient_h |
| OLD | NEW |