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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_aura.h

Issue 302293003: MacViews: Extend TextInputClient protocol with support for editing commands. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 virtual bool GetTextFromRange(const gfx::Range& range, 251 virtual bool GetTextFromRange(const gfx::Range& range,
252 base::string16* text) const OVERRIDE; 252 base::string16* text) const OVERRIDE;
253 virtual void OnInputMethodChanged() OVERRIDE; 253 virtual void OnInputMethodChanged() OVERRIDE;
254 virtual bool ChangeTextDirectionAndLayoutAlignment( 254 virtual bool ChangeTextDirectionAndLayoutAlignment(
255 base::i18n::TextDirection direction) OVERRIDE; 255 base::i18n::TextDirection direction) OVERRIDE;
256 virtual void ExtendSelectionAndDelete(size_t before, size_t after) OVERRIDE; 256 virtual void ExtendSelectionAndDelete(size_t before, size_t after) OVERRIDE;
257 virtual void EnsureCaretInRect(const gfx::Rect& rect) OVERRIDE; 257 virtual void EnsureCaretInRect(const gfx::Rect& rect) OVERRIDE;
258 virtual void OnCandidateWindowShown() OVERRIDE; 258 virtual void OnCandidateWindowShown() OVERRIDE;
259 virtual void OnCandidateWindowUpdated() OVERRIDE; 259 virtual void OnCandidateWindowUpdated() OVERRIDE;
260 virtual void OnCandidateWindowHidden() OVERRIDE; 260 virtual void OnCandidateWindowHidden() OVERRIDE;
261 virtual bool IsEditingCommandEnabled(int command_id) OVERRIDE;
262 virtual void ExecuteEditingCommand(int command_id) OVERRIDE;
261 263
262 // Overridden from gfx::DisplayObserver: 264 // Overridden from gfx::DisplayObserver:
263 virtual void OnDisplayAdded(const gfx::Display& new_display) OVERRIDE; 265 virtual void OnDisplayAdded(const gfx::Display& new_display) OVERRIDE;
264 virtual void OnDisplayRemoved(const gfx::Display& old_display) OVERRIDE; 266 virtual void OnDisplayRemoved(const gfx::Display& old_display) OVERRIDE;
265 virtual void OnDisplayMetricsChanged(const gfx::Display& display, 267 virtual void OnDisplayMetricsChanged(const gfx::Display& display,
266 uint32_t metrics) OVERRIDE; 268 uint32_t metrics) OVERRIDE;
267 269
268 // Overridden from aura::WindowDelegate: 270 // Overridden from aura::WindowDelegate:
269 virtual gfx::Size GetMinimumSize() const OVERRIDE; 271 virtual gfx::Size GetMinimumSize() const OVERRIDE;
270 virtual gfx::Size GetMaximumSize() const OVERRIDE; 272 virtual gfx::Size GetMaximumSize() const OVERRIDE;
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after
564 // etc. 566 // etc.
565 scoped_ptr<content::LegacyRenderWidgetHostHWND> 567 scoped_ptr<content::LegacyRenderWidgetHostHWND>
566 legacy_render_widget_host_HWND_; 568 legacy_render_widget_host_HWND_;
567 #endif 569 #endif
568 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); 570 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura);
569 }; 571 };
570 572
571 } // namespace content 573 } // namespace content
572 574
573 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 575 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_view_aura.cc » ('j') | ui/base/ime/text_input_client.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698