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

Side by Side Diff: content/renderer/text_input_client_observer.h

Issue 8587009: Add OVERRIDE to content/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 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 | « content/renderer/speech_input_dispatcher.h ('k') | content/renderer/webplugin_delegate_proxy.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 CONTENT_RENDERER_TEXT_INPUT_CLIENT_OBSERVER_H_ 5 #ifndef CONTENT_RENDERER_TEXT_INPUT_CLIENT_OBSERVER_H_
6 #define CONTENT_RENDERER_TEXT_INPUT_CLIENT_OBSERVER_H_ 6 #define CONTENT_RENDERER_TEXT_INPUT_CLIENT_OBSERVER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "content/public/renderer/render_view_observer.h" 10 #include "content/public/renderer/render_view_observer.h"
11 #include "ui/base/range/range.h" 11 #include "ui/base/range/range.h"
12 #include "ui/gfx/point.h" 12 #include "ui/gfx/point.h"
13 13
14 class RenderViewImpl; 14 class RenderViewImpl;
15 15
16 namespace WebKit { 16 namespace WebKit {
17 class WebView; 17 class WebView;
18 } 18 }
19 19
20 // This is the renderer-side message filter that generates the replies for the 20 // This is the renderer-side message filter that generates the replies for the
21 // messages sent by the TextInputClientMac. See 21 // messages sent by the TextInputClientMac. See
22 // content/browser/renderer_host/text_input_client_mac.h for more information. 22 // content/browser/renderer_host/text_input_client_mac.h for more information.
23 class TextInputClientObserver : public content::RenderViewObserver { 23 class TextInputClientObserver : public content::RenderViewObserver {
24 public: 24 public:
25 explicit TextInputClientObserver(RenderViewImpl* render_view); 25 explicit TextInputClientObserver(RenderViewImpl* render_view);
26 virtual ~TextInputClientObserver(); 26 virtual ~TextInputClientObserver();
27 27
28 // RenderViewObserver overrides: 28 // RenderViewObserver overrides:
29 virtual bool OnMessageReceived(const IPC::Message& message); 29 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
30 30
31 private: 31 private:
32 // Returns the WebView of the RenderView. 32 // Returns the WebView of the RenderView.
33 WebKit::WebView* webview(); 33 WebKit::WebView* webview();
34 34
35 // IPC Message handlers: 35 // IPC Message handlers:
36 void OnCharacterIndexForPoint(gfx::Point point); 36 void OnCharacterIndexForPoint(gfx::Point point);
37 void OnFirstRectForCharacterRange(ui::Range range); 37 void OnFirstRectForCharacterRange(ui::Range range);
38 void OnStringForRange(ui::Range range); 38 void OnStringForRange(ui::Range range);
39 39
40 DISALLOW_COPY_AND_ASSIGN(TextInputClientObserver); 40 DISALLOW_COPY_AND_ASSIGN(TextInputClientObserver);
41 }; 41 };
42 42
43 #endif // CONTENT_RENDERER_TEXT_INPUT_CLIENT_OBSERVER_H_ 43 #endif // CONTENT_RENDERER_TEXT_INPUT_CLIENT_OBSERVER_H_
OLDNEW
« no previous file with comments | « content/renderer/speech_input_dispatcher.h ('k') | content/renderer/webplugin_delegate_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698