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

Side by Side Diff: ash/root_window_controller.cc

Issue 351683002: Adds link disambiguation popup support to Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: first patch ready for review Created 6 years, 5 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 238 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 virtual void OnWindowDestroying(aura::Window* window) OVERRIDE {} 249 virtual void OnWindowDestroying(aura::Window* window) OVERRIDE {}
250 virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE { 250 virtual void OnWindowDestroyed(aura::Window* window) OVERRIDE {
251 delete this; 251 delete this;
252 } 252 }
253 virtual void OnWindowTargetVisibilityChanged(bool visible) OVERRIDE { 253 virtual void OnWindowTargetVisibilityChanged(bool visible) OVERRIDE {
254 } 254 }
255 virtual bool HasHitTestMask() const OVERRIDE { 255 virtual bool HasHitTestMask() const OVERRIDE {
256 return false; 256 return false;
257 } 257 }
258 virtual void GetHitTestMask(gfx::Path* mask) const OVERRIDE {} 258 virtual void GetHitTestMask(gfx::Path* mask) const OVERRIDE {}
259 virtual void OnLinkDisambiguationPopupRequested(
260 const gfx::Rect& target_rect, const SkBitmap& zoomed_bitmap) OVERRIDE {}
259 261
260 private: 262 private:
261 DISALLOW_COPY_AND_ASSIGN(EmptyWindowDelegate); 263 DISALLOW_COPY_AND_ASSIGN(EmptyWindowDelegate);
262 }; 264 };
263 265
264 #if defined(OS_CHROMEOS) 266 #if defined(OS_CHROMEOS)
265 // Responsible for initializing TouchExplorationController when spoken 267 // Responsible for initializing TouchExplorationController when spoken
266 // feedback is on. 268 // feedback is on.
267 class CrosAccessibilityObserver : public AccessibilityObserver { 269 class CrosAccessibilityObserver : public AccessibilityObserver {
268 public: 270 public:
(...skipping 862 matching lines...) Expand 10 before | Expand all | Expand 10 after
1131 else 1133 else
1132 DisableTouchHudProjection(); 1134 DisableTouchHudProjection();
1133 } 1135 }
1134 1136
1135 RootWindowController* GetRootWindowController( 1137 RootWindowController* GetRootWindowController(
1136 const aura::Window* root_window) { 1138 const aura::Window* root_window) {
1137 return root_window ? GetRootWindowSettings(root_window)->controller : NULL; 1139 return root_window ? GetRootWindowSettings(root_window)->controller : NULL;
1138 } 1140 }
1139 1141
1140 } // namespace ash 1142 } // namespace ash
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698