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

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: Rebase, fixes for ben 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
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_view_aura.cc » ('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) 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 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 virtual bool GetTextFromRange(const gfx::Range& range, 256 virtual bool GetTextFromRange(const gfx::Range& range,
257 base::string16* text) const OVERRIDE; 257 base::string16* text) const OVERRIDE;
258 virtual void OnInputMethodChanged() OVERRIDE; 258 virtual void OnInputMethodChanged() OVERRIDE;
259 virtual bool ChangeTextDirectionAndLayoutAlignment( 259 virtual bool ChangeTextDirectionAndLayoutAlignment(
260 base::i18n::TextDirection direction) OVERRIDE; 260 base::i18n::TextDirection direction) OVERRIDE;
261 virtual void ExtendSelectionAndDelete(size_t before, size_t after) OVERRIDE; 261 virtual void ExtendSelectionAndDelete(size_t before, size_t after) OVERRIDE;
262 virtual void EnsureCaretInRect(const gfx::Rect& rect) OVERRIDE; 262 virtual void EnsureCaretInRect(const gfx::Rect& rect) OVERRIDE;
263 virtual void OnCandidateWindowShown() OVERRIDE; 263 virtual void OnCandidateWindowShown() OVERRIDE;
264 virtual void OnCandidateWindowUpdated() OVERRIDE; 264 virtual void OnCandidateWindowUpdated() OVERRIDE;
265 virtual void OnCandidateWindowHidden() OVERRIDE; 265 virtual void OnCandidateWindowHidden() OVERRIDE;
266 virtual bool IsEditingCommandEnabled(int command_id) OVERRIDE;
267 virtual void ExecuteEditingCommand(int command_id) OVERRIDE;
266 268
267 // Overridden from gfx::DisplayObserver: 269 // Overridden from gfx::DisplayObserver:
268 virtual void OnDisplayAdded(const gfx::Display& new_display) OVERRIDE; 270 virtual void OnDisplayAdded(const gfx::Display& new_display) OVERRIDE;
269 virtual void OnDisplayRemoved(const gfx::Display& old_display) OVERRIDE; 271 virtual void OnDisplayRemoved(const gfx::Display& old_display) OVERRIDE;
270 virtual void OnDisplayMetricsChanged(const gfx::Display& display, 272 virtual void OnDisplayMetricsChanged(const gfx::Display& display,
271 uint32_t metrics) OVERRIDE; 273 uint32_t metrics) OVERRIDE;
272 274
273 // Overridden from aura::WindowDelegate: 275 // Overridden from aura::WindowDelegate:
274 virtual gfx::Size GetMinimumSize() const OVERRIDE; 276 virtual gfx::Size GetMinimumSize() const OVERRIDE;
275 virtual gfx::Size GetMaximumSize() const OVERRIDE; 277 virtual gfx::Size GetMaximumSize() const OVERRIDE;
(...skipping 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
582 // etc. 584 // etc.
583 scoped_ptr<content::LegacyRenderWidgetHostHWND> 585 scoped_ptr<content::LegacyRenderWidgetHostHWND>
584 legacy_render_widget_host_HWND_; 586 legacy_render_widget_host_HWND_;
585 #endif 587 #endif
586 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); 588 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura);
587 }; 589 };
588 590
589 } // namespace content 591 } // namespace content
590 592
591 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 593 #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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698