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

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

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
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 #include "content/browser/renderer_host/render_widget_host_view_aura.h" 5 #include "content/browser/renderer_host/render_widget_host_view_aura.h"
6 6
7 #include "base/auto_reset.h" 7 #include "base/auto_reset.h"
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/callback_helpers.h" 10 #include "base/callback_helpers.h"
(...skipping 1571 matching lines...) Expand 10 before | Expand all | Expand 10 after
1582 } 1582 }
1583 1583
1584 void RenderWidgetHostViewAura::OnCandidateWindowUpdated() { 1584 void RenderWidgetHostViewAura::OnCandidateWindowUpdated() {
1585 host_->CandidateWindowUpdated(); 1585 host_->CandidateWindowUpdated();
1586 } 1586 }
1587 1587
1588 void RenderWidgetHostViewAura::OnCandidateWindowHidden() { 1588 void RenderWidgetHostViewAura::OnCandidateWindowHidden() {
1589 host_->CandidateWindowHidden(); 1589 host_->CandidateWindowHidden();
1590 } 1590 }
1591 1591
1592 bool RenderWidgetHostViewAura::IsEditingCommandEnabled(int command_id) {
1593 return false;
1594 }
1595
1596 void RenderWidgetHostViewAura::ExecuteEditingCommand(int command_id) {
1597 }
1598
1592 //////////////////////////////////////////////////////////////////////////////// 1599 ////////////////////////////////////////////////////////////////////////////////
1593 // RenderWidgetHostViewAura, gfx::DisplayObserver implementation: 1600 // RenderWidgetHostViewAura, gfx::DisplayObserver implementation:
1594 1601
1595 void RenderWidgetHostViewAura::OnDisplayAdded( 1602 void RenderWidgetHostViewAura::OnDisplayAdded(
1596 const gfx::Display& new_display) { 1603 const gfx::Display& new_display) {
1597 } 1604 }
1598 1605
1599 void RenderWidgetHostViewAura::OnDisplayRemoved( 1606 void RenderWidgetHostViewAura::OnDisplayRemoved(
1600 const gfx::Display& old_display) { 1607 const gfx::Display& old_display) {
1601 } 1608 }
(...skipping 853 matching lines...) Expand 10 before | Expand all | Expand 10 after
2455 2462
2456 //////////////////////////////////////////////////////////////////////////////// 2463 ////////////////////////////////////////////////////////////////////////////////
2457 // RenderWidgetHostViewBase, public: 2464 // RenderWidgetHostViewBase, public:
2458 2465
2459 // static 2466 // static
2460 void RenderWidgetHostViewBase::GetDefaultScreenInfo(WebScreenInfo* results) { 2467 void RenderWidgetHostViewBase::GetDefaultScreenInfo(WebScreenInfo* results) {
2461 GetScreenInfoForWindow(results, NULL); 2468 GetScreenInfoForWindow(results, NULL);
2462 } 2469 }
2463 2470
2464 } // namespace content 2471 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_aura.h ('k') | ui/base/ime/dummy_text_input_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698