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

Unified Diff: content/shell/renderer/test_runner/event_sender.h

Issue 264003003: test_runner: Move everything else into content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: content/shell/renderer/test_runner/event_sender.h
diff --git a/content/shell/renderer/test_runner/event_sender.h b/content/shell/renderer/test_runner/event_sender.h
index b9f2922cd971a6163e4c44cacc0527954df6b6ab..3b2c7efc3af0bdc716d3286e9e3e1f5bb37b18c4 100644
--- a/content/shell/renderer/test_runner/event_sender.h
+++ b/content/shell/renderer/test_runner/event_sender.h
@@ -30,12 +30,10 @@ namespace gin {
class Arguments;
}
-namespace WebTestRunner {
+namespace content {
+
class TestInterfaces;
class WebTestDelegate;
-}
-
-namespace content {
// Key event location code introduced in DOM Level 3.
// See also: http://www.w3.org/TR/DOM-Level-3-Events/#events-keyboardevents
@@ -48,12 +46,12 @@ enum KeyLocationCode {
class EventSender : public base::SupportsWeakPtr<EventSender> {
public:
- explicit EventSender(WebTestRunner::TestInterfaces*);
+ explicit EventSender(TestInterfaces*);
virtual ~EventSender();
void Reset();
void Install(blink::WebFrame*);
- void SetDelegate(WebTestRunner::WebTestDelegate*);
+ void SetDelegate(WebTestDelegate*);
void SetWebView(blink::WebView*);
void SetContextMenuData(const blink::WebContextMenuData&);
@@ -66,7 +64,7 @@ class EventSender : public base::SupportsWeakPtr<EventSender> {
int modifiers,
KeyLocationCode location);
- WebTestRunner::WebTaskList* taskList() { return &task_list_; }
+ WebTaskList* taskList() { return &task_list_; }
private:
friend class EventSenderBindings;
@@ -221,10 +219,10 @@ class EventSender : public base::SupportsWeakPtr<EventSender> {
int wm_sys_dead_char_;
#endif
- WebTestRunner::WebTaskList task_list_;
+ WebTaskList task_list_;
- WebTestRunner::TestInterfaces* interfaces_;
- WebTestRunner::WebTestDelegate* delegate_;
+ TestInterfaces* interfaces_;
+ WebTestDelegate* delegate_;
blink::WebView* view_;
bool force_layout_on_events_;
« no previous file with comments | « content/shell/renderer/test_runner/accessibility_controller.cc ('k') | content/shell/renderer/test_runner/event_sender.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698