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

Side by Side Diff: Source/testing/runner/TextInputController.h

Issue 61773005: Rename WebKit namespace to blink (Closed) Base URL: svn://svn.chromium.org/blink/trunk
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
« no previous file with comments | « Source/testing/runner/TestRunner.cpp ('k') | Source/testing/runner/TextInputController.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 19 matching lines...) Expand all
30 30
31 // TextInputController is bound to window.textInputController in Javascript 31 // TextInputController is bound to window.textInputController in Javascript
32 // when DRT is running. Layout tests use it to exercise various corners of 32 // when DRT is running. Layout tests use it to exercise various corners of
33 // text input. 33 // text input.
34 34
35 #ifndef TextInputController_h 35 #ifndef TextInputController_h
36 #define TextInputController_h 36 #define TextInputController_h
37 37
38 #include "CppBoundClass.h" 38 #include "CppBoundClass.h"
39 39
40 namespace WebKit { 40 namespace blink {
41 class WebView; 41 class WebView;
42 } 42 }
43 43
44 namespace WebTestRunner { 44 namespace WebTestRunner {
45 45
46 class TextInputController : public CppBoundClass { 46 class TextInputController : public CppBoundClass {
47 public: 47 public:
48 TextInputController(); 48 TextInputController();
49 49
50 void setWebView(WebKit::WebView* webView) { m_webView = webView; } 50 void setWebView(blink::WebView* webView) { m_webView = webView; }
51 51
52 void insertText(const CppArgumentList&, CppVariant*); 52 void insertText(const CppArgumentList&, CppVariant*);
53 void doCommand(const CppArgumentList&, CppVariant*); 53 void doCommand(const CppArgumentList&, CppVariant*);
54 void setMarkedText(const CppArgumentList&, CppVariant*); 54 void setMarkedText(const CppArgumentList&, CppVariant*);
55 void unmarkText(const CppArgumentList&, CppVariant*); 55 void unmarkText(const CppArgumentList&, CppVariant*);
56 void hasMarkedText(const CppArgumentList&, CppVariant*); 56 void hasMarkedText(const CppArgumentList&, CppVariant*);
57 void markedRange(const CppArgumentList&, CppVariant*); 57 void markedRange(const CppArgumentList&, CppVariant*);
58 void selectedRange(const CppArgumentList&, CppVariant*); 58 void selectedRange(const CppArgumentList&, CppVariant*);
59 void firstRectForCharacterRange(const CppArgumentList&, CppVariant*); 59 void firstRectForCharacterRange(const CppArgumentList&, CppVariant*);
60 void setComposition(const CppArgumentList&, CppVariant*); 60 void setComposition(const CppArgumentList&, CppVariant*);
61 61
62 private: 62 private:
63 WebKit::WebView* m_webView; 63 blink::WebView* m_webView;
64 }; 64 };
65 65
66 } 66 }
67 67
68 #endif // TextInputController_h 68 #endif // TextInputController_h
OLDNEW
« no previous file with comments | « Source/testing/runner/TestRunner.cpp ('k') | Source/testing/runner/TextInputController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698