Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(120)

Side by Side Diff: webkit/glue/inspector_client_impl.h

Issue 338041: Move a bunch of files into webkit/api/src... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef WEBKIT_GLUE_INSPECTOR_CLIENT_IMPL_H_
6 #define WEBKIT_GLUE_INSPECTOR_CLIENT_IMPL_H_
7
8 #include "InspectorClient.h"
9 #include "InspectorController.h"
10 #include <wtf/OwnPtr.h>
11
12 class WebNodeHighlight;
13 class WebViewImpl;
14
15 class InspectorClientImpl : public WebCore::InspectorClient {
16 public:
17 InspectorClientImpl(WebViewImpl*);
18 ~InspectorClientImpl();
19
20 // InspectorClient
21 virtual void inspectorDestroyed();
22
23 virtual WebCore::Page* createPage();
24 virtual WebCore::String localizedStringsURL();
25 virtual WebCore::String hiddenPanels();
26 virtual void showWindow();
27 virtual void closeWindow();
28 virtual bool windowVisible();
29
30 virtual void attachWindow();
31 virtual void detachWindow();
32
33 virtual void setAttachedWindowHeight(unsigned height);
34
35 virtual void highlight(WebCore::Node*);
36 virtual void hideHighlight();
37
38 virtual void inspectedURLChanged(const WebCore::String& newURL);
39
40 virtual void populateSetting(
41 const WebCore::String& key,
42 WebCore::InspectorController::Setting&);
43 virtual void storeSetting(
44 const WebCore::String& key,
45 const WebCore::InspectorController::Setting&);
46 virtual void removeSetting(const WebCore::String& key);
47
48 virtual void inspectorWindowObjectCleared();
49
50 private:
51 void LoadSettings();
52 void SaveSettings();
53
54 // The WebViewImpl of the page being inspected; gets passed to the constructor
55 WebViewImpl* inspected_web_view_;
56
57 typedef HashMap<WebCore::String, WebCore::InspectorController::Setting>
58 SettingsMap;
59 OwnPtr<SettingsMap> settings_;
60 };
61
62 #endif // WEBKIT_GLUE_INSPECTOR_CLIENT_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698