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

Side by Side Diff: ui/gfx/render_text_linux.h

Issue 7265011: RenderText API Outline. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Almost at parity with the current implementation. Created 9 years, 5 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
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef UI_GFX_RENDER_TEXT_LINUX_H_
6 #define UI_GFX_RENDER_TEXT_LINUX_H_
7 #pragma once
8
9 #include "ui/gfx/render_text.h"
10
11 namespace gfx {
12
13 // RenderTextLinux is the Linux implementation of RenderText using Pango.
14 class RenderTextLinux : RenderText {
15 public:
16 RenderTextLinux();
17 virtual ~RenderTextLinux();
18
19 // Overridden from RenderText
20 // TODO(msw): // Overridden from RenderText
21 //virtual void Draw(HDC drawing_context) const;
22 //virtual size_t FindCursorPosition(const gfx::Point& point) const;
23 //virtual std::vector<gfx::Rect> GetSubstringBounds(
24 // const ui::Range& range) const;
25 //virtual gfx::Rect GetCursorBounds(size_t position,
26 // bool insert_mode) const;
27
28 protected:
29 // TODO(msw): // Overridden from RenderText
30 //virtual size_t GetLeftCursorPosition(size_t position,
31 // bool move_by_word) const;
32 //virtual size_t GetRightCursorPosition(size_t position,
33 // bool move_by_word) const;
34
35 private:
36 DISALLOW_COPY_AND_ASSIGN(RenderTextLinux);
37 };
38
39 } // namespace gfx;
40
41 #endif // UI_GFX_RENDER_TEXT_LINUX_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698