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

Side by Side Diff: views/controls/textfield/native_textfield_win.h

Issue 7265011: RenderText API Outline. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix permissions, export RenderText and StyleRange via UI_API. 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
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 VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_WIN_H_ 5 #ifndef VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_WIN_H_
6 #define VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_WIN_H_ 6 #define VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_WIN_H_
7 #pragma once 7 #pragma once
8 8
9 #include <atlbase.h> 9 #include <atlbase.h>
10 #include <atlapp.h> 10 #include <atlapp.h>
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 virtual gfx::NativeView GetTestingHandle() const OVERRIDE; 79 virtual gfx::NativeView GetTestingHandle() const OVERRIDE;
80 virtual bool IsIMEComposing() const OVERRIDE; 80 virtual bool IsIMEComposing() const OVERRIDE;
81 virtual void GetSelectedRange(ui::Range* range) const OVERRIDE; 81 virtual void GetSelectedRange(ui::Range* range) const OVERRIDE;
82 virtual void SelectRange(const ui::Range& range) OVERRIDE; 82 virtual void SelectRange(const ui::Range& range) OVERRIDE;
83 virtual size_t GetCursorPosition() const OVERRIDE; 83 virtual size_t GetCursorPosition() const OVERRIDE;
84 virtual bool HandleKeyPressed(const views::KeyEvent& event) OVERRIDE; 84 virtual bool HandleKeyPressed(const views::KeyEvent& event) OVERRIDE;
85 virtual bool HandleKeyReleased(const views::KeyEvent& event) OVERRIDE; 85 virtual bool HandleKeyReleased(const views::KeyEvent& event) OVERRIDE;
86 virtual void HandleFocus() OVERRIDE; 86 virtual void HandleFocus() OVERRIDE;
87 virtual void HandleBlur() OVERRIDE; 87 virtual void HandleBlur() OVERRIDE;
88 virtual TextInputClient* GetTextInputClient() OVERRIDE; 88 virtual TextInputClient* GetTextInputClient() OVERRIDE;
89 virtual TextStyle* CreateTextStyle() OVERRIDE; 89 virtual void ApplyStyleRange(const gfx::StyleRange& style) OVERRIDE;
90 virtual void ApplyTextStyle(const TextStyle* style, 90 virtual void ApplyDefaultStyle() OVERRIDE;
91 const ui::Range& range) OVERRIDE;
92 virtual void ClearAllTextStyles() OVERRIDE;
93 virtual void ClearEditHistory() OVERRIDE; 91 virtual void ClearEditHistory() OVERRIDE;
94 92
95 // Overridden from ui::SimpleMenuModel::Delegate: 93 // Overridden from ui::SimpleMenuModel::Delegate:
96 virtual bool IsCommandIdChecked(int command_id) const OVERRIDE; 94 virtual bool IsCommandIdChecked(int command_id) const OVERRIDE;
97 virtual bool IsCommandIdEnabled(int command_id) const OVERRIDE; 95 virtual bool IsCommandIdEnabled(int command_id) const OVERRIDE;
98 virtual bool GetAcceleratorForCommandId( 96 virtual bool GetAcceleratorForCommandId(
99 int command_id, 97 int command_id,
100 ui::Accelerator* accelerator) OVERRIDE; 98 ui::Accelerator* accelerator) OVERRIDE;
101 virtual void ExecuteCommand(int command_id) OVERRIDE; 99 virtual void ExecuteCommand(int command_id) OVERRIDE;
102 100
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 278
281 // The accessibility state of this object. 279 // The accessibility state of this object.
282 int accessibility_state_; 280 int accessibility_state_;
283 281
284 DISALLOW_COPY_AND_ASSIGN(NativeTextfieldWin); 282 DISALLOW_COPY_AND_ASSIGN(NativeTextfieldWin);
285 }; 283 };
286 284
287 } // namespace views 285 } // namespace views
288 286
289 #endif // VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_WIN_H_ 287 #endif // VIEWS_CONTROLS_TEXTFIELD_NATIVE_TEXTFIELD_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698