OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009 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 30 matching lines...) Expand all Loading... |
41 class Frame; | 41 class Frame; |
42 class Geolocation; | 42 class Geolocation; |
43 class HitTestResult; | 43 class HitTestResult; |
44 class IntRect; | 44 class IntRect; |
45 class Node; | 45 class Node; |
46 class Page; | 46 class Page; |
47 class PopupMenu; | 47 class PopupMenu; |
48 class PopupMenuClient; | 48 class PopupMenuClient; |
49 class PopupOpeningObserver; | 49 class PopupOpeningObserver; |
50 class SearchPopupMenu; | 50 class SearchPopupMenu; |
| 51 class ScriptCallStack; |
51 | 52 |
52 struct DateTimeChooserParameters; | 53 struct DateTimeChooserParameters; |
53 struct ViewportArguments; | 54 struct ViewportArguments; |
54 | 55 |
55 class Chrome : public HostWindow { | 56 class Chrome : public HostWindow { |
56 public: | 57 public: |
57 ~Chrome(); | 58 ~Chrome(); |
58 | 59 |
59 static PassOwnPtr<Chrome> create(Page*, ChromeClient*); | 60 static PassOwnPtr<Chrome> create(Page*, ChromeClient*); |
60 | 61 |
61 ChromeClient* client() { return m_client; } | 62 ChromeClient* client() { return m_client; } |
62 | 63 |
63 // HostWindow methods. | 64 // HostWindow methods. |
64 virtual void invalidateContentsAndRootView(const IntRect&) OVERRIDE; | 65 virtual void invalidateContentsAndRootView(const IntRect&) OVERRIDE; |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 void enumerateChosenDirectory(FileChooser*); | 134 void enumerateChosenDirectory(FileChooser*); |
134 | 135 |
135 void dispatchViewportPropertiesDidChange(const ViewportArguments&) const; | 136 void dispatchViewportPropertiesDidChange(const ViewportArguments&) const; |
136 | 137 |
137 bool hasOpenedPopup() const; | 138 bool hasOpenedPopup() const; |
138 PassRefPtr<PopupMenu> createPopupMenu(Frame&, PopupMenuClient*) const; | 139 PassRefPtr<PopupMenu> createPopupMenu(Frame&, PopupMenuClient*) const; |
139 | 140 |
140 void registerPopupOpeningObserver(PopupOpeningObserver*); | 141 void registerPopupOpeningObserver(PopupOpeningObserver*); |
141 void unregisterPopupOpeningObserver(PopupOpeningObserver*); | 142 void unregisterPopupOpeningObserver(PopupOpeningObserver*); |
142 | 143 |
| 144 String generateConsoleMessageDetails(size_t lineNumber, size_t columnNumber,
const String& sourceURL, const String& functionName, const String& executionCon
textURL); |
| 145 String generateConsoleMessageDetails(PassRefPtr<ScriptCallStack>, const Stri
ng& executionContextURL); |
| 146 |
143 private: | 147 private: |
144 Chrome(Page*, ChromeClient*); | 148 Chrome(Page*, ChromeClient*); |
145 void notifyPopupOpeningObservers() const; | 149 void notifyPopupOpeningObservers() const; |
146 | 150 |
147 Page* m_page; | 151 Page* m_page; |
148 ChromeClient* m_client; | 152 ChromeClient* m_client; |
149 Vector<PopupOpeningObserver*> m_popupOpeningObservers; | 153 Vector<PopupOpeningObserver*> m_popupOpeningObservers; |
150 }; | 154 }; |
151 | 155 |
152 } | 156 } |
153 | 157 |
154 #endif // Chrome_h | 158 #endif // Chrome_h |
OLD | NEW |