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

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: 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 1504 matching lines...) Expand 10 before | Expand all | Expand 10 after
1515 } 1515 }
1516 1516
1517 void RenderWidgetHostViewAura::OnCandidateWindowUpdated() { 1517 void RenderWidgetHostViewAura::OnCandidateWindowUpdated() {
1518 host_->CandidateWindowUpdated(); 1518 host_->CandidateWindowUpdated();
1519 } 1519 }
1520 1520
1521 void RenderWidgetHostViewAura::OnCandidateWindowHidden() { 1521 void RenderWidgetHostViewAura::OnCandidateWindowHidden() {
1522 host_->CandidateWindowHidden(); 1522 host_->CandidateWindowHidden();
1523 } 1523 }
1524 1524
1525 bool RenderWidgetHostViewAura::IsEditingCommandEnabled(int command_id) {
1526 return false;
1527 }
1528
1529 void RenderWidgetHostViewAura::ExecuteEditingCommand(int command_id) {
1530 }
1531
1525 //////////////////////////////////////////////////////////////////////////////// 1532 ////////////////////////////////////////////////////////////////////////////////
1526 // RenderWidgetHostViewAura, gfx::DisplayObserver implementation: 1533 // RenderWidgetHostViewAura, gfx::DisplayObserver implementation:
1527 1534
1528 void RenderWidgetHostViewAura::OnDisplayAdded( 1535 void RenderWidgetHostViewAura::OnDisplayAdded(
1529 const gfx::Display& new_display) { 1536 const gfx::Display& new_display) {
1530 } 1537 }
1531 1538
1532 void RenderWidgetHostViewAura::OnDisplayRemoved( 1539 void RenderWidgetHostViewAura::OnDisplayRemoved(
1533 const gfx::Display& old_display) { 1540 const gfx::Display& old_display) {
1534 } 1541 }
(...skipping 840 matching lines...) Expand 10 before | Expand all | Expand 10 after
2375 2382
2376 //////////////////////////////////////////////////////////////////////////////// 2383 ////////////////////////////////////////////////////////////////////////////////
2377 // RenderWidgetHostViewBase, public: 2384 // RenderWidgetHostViewBase, public:
2378 2385
2379 // static 2386 // static
2380 void RenderWidgetHostViewBase::GetDefaultScreenInfo(WebScreenInfo* results) { 2387 void RenderWidgetHostViewBase::GetDefaultScreenInfo(WebScreenInfo* results) {
2381 GetScreenInfoForWindow(results, NULL); 2388 GetScreenInfoForWindow(results, NULL);
2382 } 2389 }
2383 2390
2384 } // namespace content 2391 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698