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

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

Issue 860983004: text input focus: Supports Window::GetFocusedTextInputClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 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
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 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
269 void OnDisplayAdded(const gfx::Display& new_display) override; 269 void OnDisplayAdded(const gfx::Display& new_display) override;
270 void OnDisplayRemoved(const gfx::Display& old_display) override; 270 void OnDisplayRemoved(const gfx::Display& old_display) override;
271 void OnDisplayMetricsChanged(const gfx::Display& display, 271 void OnDisplayMetricsChanged(const gfx::Display& display,
272 uint32_t metrics) override; 272 uint32_t metrics) override;
273 273
274 // Overridden from aura::WindowDelegate: 274 // Overridden from aura::WindowDelegate:
275 gfx::Size GetMinimumSize() const override; 275 gfx::Size GetMinimumSize() const override;
276 gfx::Size GetMaximumSize() const override; 276 gfx::Size GetMaximumSize() const override;
277 void OnBoundsChanged(const gfx::Rect& old_bounds, 277 void OnBoundsChanged(const gfx::Rect& old_bounds,
278 const gfx::Rect& new_bounds) override; 278 const gfx::Rect& new_bounds) override;
279 ui::TextInputClient* GetFocusedTextInputClient() override;
279 gfx::NativeCursor GetCursor(const gfx::Point& point) override; 280 gfx::NativeCursor GetCursor(const gfx::Point& point) override;
280 int GetNonClientComponent(const gfx::Point& point) const override; 281 int GetNonClientComponent(const gfx::Point& point) const override;
281 bool ShouldDescendIntoChildForEventHandling( 282 bool ShouldDescendIntoChildForEventHandling(
282 aura::Window* child, 283 aura::Window* child,
283 const gfx::Point& location) override; 284 const gfx::Point& location) override;
284 bool CanFocus() override; 285 bool CanFocus() override;
285 void OnCaptureLost() override; 286 void OnCaptureLost() override;
286 void OnPaint(gfx::Canvas* canvas) override; 287 void OnPaint(gfx::Canvas* canvas) override;
287 void OnDeviceScaleFactorChanged(float device_scale_factor) override; 288 void OnDeviceScaleFactorChanged(float device_scale_factor) override;
288 void OnWindowDestroying(aura::Window* window) override; 289 void OnWindowDestroying(aura::Window* window) override;
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after
636 // compositing surface and showing the disambiguation popup. 637 // compositing surface and showing the disambiguation popup.
637 gfx::Vector2dF disambiguation_scroll_offset_; 638 gfx::Vector2dF disambiguation_scroll_offset_;
638 639
639 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; 640 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_;
640 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); 641 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura);
641 }; 642 };
642 643
643 } // namespace content 644 } // namespace content
644 645
645 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 646 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
OLDNEW
« no previous file with comments | « ash/root_window_controller.cc ('k') | 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