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

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

Issue 287009: Move WebDevToolsAgent{Delegate} into the WebKit API.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 months 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
« no previous file with comments | « webkit/glue/webdevtoolsagent_impl.cc ('k') | webkit/glue/webview_delegate.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WEBKIT_GLUE_WEBVIEW_H_ 5 #ifndef WEBKIT_GLUE_WEBVIEW_H_
6 #define WEBKIT_GLUE_WEBVIEW_H_ 6 #define WEBKIT_GLUE_WEBVIEW_H_
7 7
8 #include <string>
9 #include <vector>
10
11 #include "base/basictypes.h" 8 #include "base/basictypes.h"
12 #include "webkit/api/public/WebDragOperation.h"
13 #include "webkit/api/public/WebView.h" 9 #include "webkit/api/public/WebView.h"
14 10
15 namespace WebKit {
16 class WebDragData;
17 class WebFrameClient;
18 class WebFrame;
19 class WebSettings;
20 struct WebPoint;
21 }
22
23 class GURL;
24 class WebDevToolsAgent;
25 class WebViewDelegate; 11 class WebViewDelegate;
26 12
27 // 13 //
28 // @class WebView 14 // @class WebView
29 // WebView manages the interaction between WebFrameViews and WebDataSources. 15 // WebView manages the interaction between WebFrameViews and WebDataSources.
30 // Modification of the policies and behavior of the WebKit is largely managed 16 // Modification of the policies and behavior of the WebKit is largely managed
31 // by WebViews and their delegates. 17 // by WebViews and their delegates.
32 // 18 //
33 // Typical usage: 19 // Typical usage:
34 // 20 //
(...skipping 21 matching lines...) Expand all
56 static WebView* Create(WebViewDelegate* delegate); 42 static WebView* Create(WebViewDelegate* delegate);
57 43
58 // Tells all Page instances of this view to update the visited link state for 44 // Tells all Page instances of this view to update the visited link state for
59 // the specified hash. 45 // the specified hash.
60 static void UpdateVisitedLinkState(uint64 link_hash); 46 static void UpdateVisitedLinkState(uint64 link_hash);
61 47
62 // Tells all Page instances of this view to update visited state for all their 48 // Tells all Page instances of this view to update visited state for all their
63 // links. 49 // links.
64 static void ResetVisitedLinkState(); 50 static void ResetVisitedLinkState();
65 51
66 // Returns development tools agent instance belonging to this view.
67 virtual WebDevToolsAgent* GetWebDevToolsAgent() = 0;
68
69 private: 52 private:
70 DISALLOW_COPY_AND_ASSIGN(WebView); 53 DISALLOW_COPY_AND_ASSIGN(WebView);
71 }; 54 };
72 55
73 #endif // WEBKIT_GLUE_WEBVIEW_H_ 56 #endif // WEBKIT_GLUE_WEBVIEW_H_
OLDNEW
« no previous file with comments | « webkit/glue/webdevtoolsagent_impl.cc ('k') | webkit/glue/webview_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698