OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2007 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007 Apple 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 | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 // Called from [Custom] implementations. | 62 // Called from [Custom] implementations. |
63 void showContextMenu(Event*, const Vector<ContextMenuItem>& items); | 63 void showContextMenu(Event*, const Vector<ContextMenuItem>& items); |
64 void showContextMenu(Page*, float x, float y, const Vector<ContextMenuItem>&
items); | 64 void showContextMenu(Page*, float x, float y, const Vector<ContextMenuItem>&
items); |
65 void sendMessageToBackend(const String& message); | 65 void sendMessageToBackend(const String& message); |
66 void sendMessageToEmbedder(const String& message); | 66 void sendMessageToEmbedder(const String& message); |
67 | 67 |
68 String getSelectionBackgroundColor(); | 68 String getSelectionBackgroundColor(); |
69 String getSelectionForegroundColor(); | 69 String getSelectionForegroundColor(); |
70 | 70 |
71 bool isUnderTest(); | 71 bool isUnderTest(); |
72 bool isStub(); | 72 bool isHostedMode(); |
73 | 73 |
74 Page* frontendPage() { return m_frontendPage; } | 74 Page* frontendPage() { return m_frontendPage; } |
75 | 75 |
76 private: | 76 private: |
77 friend class FrontendMenuProvider; | 77 friend class FrontendMenuProvider; |
78 InspectorFrontendHost(InspectorFrontendClient* client, Page* frontendPage); | 78 InspectorFrontendHost(InspectorFrontendClient* client, Page* frontendPage); |
79 | 79 |
80 InspectorFrontendClient* m_client; | 80 InspectorFrontendClient* m_client; |
81 Page* m_frontendPage; | 81 Page* m_frontendPage; |
82 FrontendMenuProvider* m_menuProvider; | 82 FrontendMenuProvider* m_menuProvider; |
83 }; | 83 }; |
84 | 84 |
85 } // namespace WebCore | 85 } // namespace WebCore |
86 | 86 |
87 #endif // !defined(InspectorFrontendHost_h) | 87 #endif // !defined(InspectorFrontendHost_h) |
OLD | NEW |