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

Side by Side Diff: content/browser/web_contents/web_contents_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_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 OverscrollMode new_mode) override; 152 OverscrollMode new_mode) override;
153 153
154 // Overridden from ui::ImplicitAnimationObserver: 154 // Overridden from ui::ImplicitAnimationObserver:
155 void OnImplicitAnimationsCompleted() override; 155 void OnImplicitAnimationsCompleted() override;
156 156
157 // Overridden from aura::WindowDelegate: 157 // Overridden from aura::WindowDelegate:
158 gfx::Size GetMinimumSize() const override; 158 gfx::Size GetMinimumSize() const override;
159 gfx::Size GetMaximumSize() const override; 159 gfx::Size GetMaximumSize() const override;
160 void OnBoundsChanged(const gfx::Rect& old_bounds, 160 void OnBoundsChanged(const gfx::Rect& old_bounds,
161 const gfx::Rect& new_bounds) override; 161 const gfx::Rect& new_bounds) override;
162 ui::TextInputClient* GetFocusedTextInputClient() override;
162 gfx::NativeCursor GetCursor(const gfx::Point& point) override; 163 gfx::NativeCursor GetCursor(const gfx::Point& point) override;
163 int GetNonClientComponent(const gfx::Point& point) const override; 164 int GetNonClientComponent(const gfx::Point& point) const override;
164 bool ShouldDescendIntoChildForEventHandling( 165 bool ShouldDescendIntoChildForEventHandling(
165 aura::Window* child, 166 aura::Window* child,
166 const gfx::Point& location) override; 167 const gfx::Point& location) override;
167 bool CanFocus() override; 168 bool CanFocus() override;
168 void OnCaptureLost() override; 169 void OnCaptureLost() override;
169 void OnPaint(gfx::Canvas* canvas) override; 170 void OnPaint(gfx::Canvas* canvas) override;
170 void OnDeviceScaleFactorChanged(float device_scale_factor) override; 171 void OnDeviceScaleFactorChanged(float device_scale_factor) override;
171 void OnWindowDestroying(aura::Window* window) override; 172 void OnWindowDestroying(aura::Window* window) override;
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 // On Windows we can run into problems if resources get released within the 237 // On Windows we can run into problems if resources get released within the
237 // initialization phase while the content (and its dimensions) are not known. 238 // initialization phase while the content (and its dimensions) are not known.
238 bool is_or_was_visible_; 239 bool is_or_was_visible_;
239 240
240 DISALLOW_COPY_AND_ASSIGN(WebContentsViewAura); 241 DISALLOW_COPY_AND_ASSIGN(WebContentsViewAura);
241 }; 242 };
242 243
243 } // namespace content 244 } // namespace content
244 245
245 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_ 246 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_VIEW_AURA_H_
OLDNEW
« no previous file with comments | « content/browser/web_contents/aura/image_window_delegate.cc ('k') | content/browser/web_contents/web_contents_view_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698