|
Lines 107-118
void InspectorClientEfl::bringFrontendToFront()
a/Source/WebKit/efl/WebCoreSupport/InspectorClientEfl.cpp_sec1
|
| 107 |
|
107 |
|
| 108 |
void InspectorClientEfl::highlight() |
108 |
void InspectorClientEfl::highlight() |
| 109 |
{ |
109 |
{ |
| 110 |
notImplemented(); |
110 |
invalidateView(m_inspectedView); |
| 111 |
} |
111 |
} |
| 112 |
|
112 |
|
| 113 |
void InspectorClientEfl::hideHighlight() |
113 |
void InspectorClientEfl::hideHighlight() |
| 114 |
{ |
114 |
{ |
| 115 |
notImplemented(); |
115 |
invalidateView(m_inspectedView); |
| 116 |
} |
116 |
} |
| 117 |
|
117 |
|
| 118 |
bool InspectorClientEfl::sendMessageToFrontend(const String& message) |
118 |
bool InspectorClientEfl::sendMessageToFrontend(const String& message) |
|
Lines 136-141
String InspectorClientEfl::inspectorFilesPath()
a/Source/WebKit/efl/WebCoreSupport/InspectorClientEfl.cpp_sec2
|
| 136 |
return inspectorFilesPath; |
136 |
return inspectorFilesPath; |
| 137 |
} |
137 |
} |
| 138 |
|
138 |
|
|
|
139 |
void InspectorClientEfl::invalidateView(Evas_Object* webView) |
| 140 |
{ |
| 141 |
Evas_Coord width, height; |
| 142 |
Evas_Object* mainFrame = ewk_view_frame_main_get(webView); |
| 143 |
if (mainFrame && ewk_frame_contents_size_get(mainFrame, &width, &height)) { |
| 144 |
WebCore::Page* page = EWKPrivate::corePage(webView); |
| 145 |
if (page) |
| 146 |
page->mainFrame()->view()->invalidateRect(WebCore::IntRect(0, 0, width, height)); |
| 147 |
} |
| 148 |
} |
| 149 |
|
| 139 |
InspectorFrontendClientEfl::InspectorFrontendClientEfl(Evas_Object* inspectedView, Evas_Object* inspectorView, InspectorClientEfl* inspectorClient) |
150 |
InspectorFrontendClientEfl::InspectorFrontendClientEfl(Evas_Object* inspectedView, Evas_Object* inspectorView, InspectorClientEfl* inspectorClient) |
| 140 |
: InspectorFrontendClientLocal(EWKPrivate::corePage(inspectedView)->inspectorController(), EWKPrivate::corePage(inspectorView), adoptPtr(new InspectorFrontendSettingsEfl())) |
151 |
: InspectorFrontendClientLocal(EWKPrivate::corePage(inspectedView)->inspectorController(), EWKPrivate::corePage(inspectorView), adoptPtr(new InspectorFrontendSettingsEfl())) |
| 141 |
, m_inspectedView(inspectedView) |
152 |
, m_inspectedView(inspectedView) |