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

Side by Side Diff: ash/root_window_controller.cc

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 #include "ash/root_window_controller.h" 5 #include "ash/root_window_controller.h"
6 6
7 #include <queue> 7 #include <queue>
8 #include <vector> 8 #include <vector>
9 9
10 #include "ash/ash_constants.h" 10 #include "ash/ash_constants.h"
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 class EmptyWindowDelegate : public aura::WindowDelegate { 214 class EmptyWindowDelegate : public aura::WindowDelegate {
215 public: 215 public:
216 EmptyWindowDelegate() {} 216 EmptyWindowDelegate() {}
217 ~EmptyWindowDelegate() override {} 217 ~EmptyWindowDelegate() override {}
218 218
219 // aura::WindowDelegate overrides: 219 // aura::WindowDelegate overrides:
220 gfx::Size GetMinimumSize() const override { return gfx::Size(); } 220 gfx::Size GetMinimumSize() const override { return gfx::Size(); }
221 gfx::Size GetMaximumSize() const override { return gfx::Size(); } 221 gfx::Size GetMaximumSize() const override { return gfx::Size(); }
222 void OnBoundsChanged(const gfx::Rect& old_bounds, 222 void OnBoundsChanged(const gfx::Rect& old_bounds,
223 const gfx::Rect& new_bounds) override {} 223 const gfx::Rect& new_bounds) override {}
224 ui::TextInputClient* GetFocusedTextInputClient() override { return nullptr; }
224 gfx::NativeCursor GetCursor(const gfx::Point& point) override { 225 gfx::NativeCursor GetCursor(const gfx::Point& point) override {
225 return gfx::kNullCursor; 226 return gfx::kNullCursor;
226 } 227 }
227 int GetNonClientComponent(const gfx::Point& point) const override { 228 int GetNonClientComponent(const gfx::Point& point) const override {
228 return HTNOWHERE; 229 return HTNOWHERE;
229 } 230 }
230 bool ShouldDescendIntoChildForEventHandling( 231 bool ShouldDescendIntoChildForEventHandling(
231 aura::Window* child, 232 aura::Window* child,
232 const gfx::Point& location) override { 233 const gfx::Point& location) override {
233 return false; 234 return false;
(...skipping 820 matching lines...) Expand 10 before | Expand all | Expand 10 after
1054 else 1055 else
1055 DisableTouchHudProjection(); 1056 DisableTouchHudProjection();
1056 } 1057 }
1057 1058
1058 RootWindowController* GetRootWindowController( 1059 RootWindowController* GetRootWindowController(
1059 const aura::Window* root_window) { 1060 const aura::Window* root_window) {
1060 return root_window ? GetRootWindowSettings(root_window)->controller : NULL; 1061 return root_window ? GetRootWindowSettings(root_window)->controller : NULL;
1061 } 1062 }
1062 1063
1063 } // namespace ash 1064 } // namespace ash
OLDNEW
« no previous file with comments | « ash/drag_drop/drag_drop_controller.cc ('k') | content/browser/renderer_host/render_widget_host_view_aura.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698