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

Side by Side Diff: chrome/renderer/extensions/extension_helper.h

Issue 63273002: Rename WebKit namespace to blink (part 4) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CHROME_RENDERER_EXTENSIONS_EXTENSION_HELPER_H_ 5 #ifndef CHROME_RENDERER_EXTENSIONS_EXTENSION_HELPER_H_
6 #define CHROME_RENDERER_EXTENSIONS_EXTENSION_HELPER_H_ 6 #define CHROME_RENDERER_EXTENSIONS_EXTENSION_HELPER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 virtual ~ExtensionHelper(); 52 virtual ~ExtensionHelper();
53 53
54 int tab_id() const { return tab_id_; } 54 int tab_id() const { return tab_id_; }
55 int browser_window_id() const { return browser_window_id_; } 55 int browser_window_id() const { return browser_window_id_; }
56 ViewType view_type() const { return view_type_; } 56 ViewType view_type() const { return view_type_; }
57 Dispatcher* dispatcher() const { return dispatcher_; } 57 Dispatcher* dispatcher() const { return dispatcher_; }
58 58
59 private: 59 private:
60 // RenderViewObserver implementation. 60 // RenderViewObserver implementation.
61 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 61 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
62 virtual void DidFinishDocumentLoad(WebKit::WebFrame* frame) OVERRIDE; 62 virtual void DidFinishDocumentLoad(blink::WebFrame* frame) OVERRIDE;
63 virtual void DidFinishLoad(WebKit::WebFrame* frame) OVERRIDE; 63 virtual void DidFinishLoad(blink::WebFrame* frame) OVERRIDE;
64 virtual void DidCreateDocumentElement(WebKit::WebFrame* frame) OVERRIDE; 64 virtual void DidCreateDocumentElement(blink::WebFrame* frame) OVERRIDE;
65 virtual void DidStartProvisionalLoad(WebKit::WebFrame* frame) OVERRIDE; 65 virtual void DidStartProvisionalLoad(blink::WebFrame* frame) OVERRIDE;
66 virtual void FrameDetached(WebKit::WebFrame* frame) OVERRIDE; 66 virtual void FrameDetached(blink::WebFrame* frame) OVERRIDE;
67 virtual void DidMatchCSS( 67 virtual void DidMatchCSS(
68 WebKit::WebFrame* frame, 68 blink::WebFrame* frame,
69 const WebKit::WebVector<WebKit::WebString>& newly_matching_selectors, 69 const blink::WebVector<blink::WebString>& newly_matching_selectors,
70 const WebKit::WebVector<WebKit::WebString>& stopped_matching_selectors) 70 const blink::WebVector<blink::WebString>& stopped_matching_selectors)
71 OVERRIDE; 71 OVERRIDE;
72 virtual void DidCreateDataSource(WebKit::WebFrame* frame, 72 virtual void DidCreateDataSource(blink::WebFrame* frame,
73 WebKit::WebDataSource* ds) OVERRIDE; 73 blink::WebDataSource* ds) OVERRIDE;
74 virtual void DraggableRegionsChanged(WebKit::WebFrame* frame) OVERRIDE; 74 virtual void DraggableRegionsChanged(blink::WebFrame* frame) OVERRIDE;
75 75
76 void OnExtensionResponse(int request_id, bool success, 76 void OnExtensionResponse(int request_id, bool success,
77 const base::ListValue& response, 77 const base::ListValue& response,
78 const std::string& error); 78 const std::string& error);
79 void OnExtensionMessageInvoke(const std::string& extension_id, 79 void OnExtensionMessageInvoke(const std::string& extension_id,
80 const std::string& module_name, 80 const std::string& module_name,
81 const std::string& function_name, 81 const std::string& function_name,
82 const base::ListValue& args, 82 const base::ListValue& args,
83 bool user_gesture); 83 bool user_gesture);
84 void OnExtensionDispatchOnConnect( 84 void OnExtensionDispatchOnConnect(
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 119
120 // Id number of browser window which RenderView is attached to. 120 // Id number of browser window which RenderView is attached to.
121 int browser_window_id_; 121 int browser_window_id_;
122 122
123 DISALLOW_COPY_AND_ASSIGN(ExtensionHelper); 123 DISALLOW_COPY_AND_ASSIGN(ExtensionHelper);
124 }; 124 };
125 125
126 } // namespace extensions 126 } // namespace extensions
127 127
128 #endif // CHROME_RENDERER_EXTENSIONS_EXTENSION_HELPER_H_ 128 #endif // CHROME_RENDERER_EXTENSIONS_EXTENSION_HELPER_H_
OLDNEW
« no previous file with comments | « chrome/renderer/extensions/extension_groups.h ('k') | chrome/renderer/extensions/extension_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698