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

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

Issue 2747723004: Revert of Correctly update the popup window position (patchset #6 id:160001 of https://codereview.c… (Closed)
Patch Set: Created 3 years, 9 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
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_view_aura.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 310 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 protected: 321 protected:
322 ~RenderWidgetHostViewAura() override; 322 ~RenderWidgetHostViewAura() override;
323 323
324 // Exposed for tests. 324 // Exposed for tests.
325 aura::Window* window() { return window_; } 325 aura::Window* window() { return window_; }
326 326
327 DelegatedFrameHost* GetDelegatedFrameHost() const { 327 DelegatedFrameHost* GetDelegatedFrameHost() const {
328 return delegated_frame_host_.get(); 328 return delegated_frame_host_.get();
329 } 329 }
330 330
331 // Returns the top level window that is hosting the renderwidget.
332 virtual aura::Window* GetToplevelWindow();
333
334 private: 331 private:
335 friend class DelegatedFrameHostClientAura; 332 friend class DelegatedFrameHostClientAura;
336 friend class InputMethodAuraTestBase; 333 friend class InputMethodAuraTestBase;
337 friend class RenderWidgetHostViewAuraTest; 334 friend class RenderWidgetHostViewAuraTest;
338 friend class RenderWidgetHostViewAuraCopyRequestTest; 335 friend class RenderWidgetHostViewAuraCopyRequestTest;
339 friend class TestInputMethodObserver; 336 friend class TestInputMethodObserver;
340 FRIEND_TEST_ALL_PREFIXES(InputMethodResultAuraTest, 337 FRIEND_TEST_ALL_PREFIXES(InputMethodResultAuraTest,
341 FinishImeCompositionSession); 338 FinishImeCompositionSession);
342 FRIEND_TEST_ALL_PREFIXES(RenderWidgetHostViewAuraTest, 339 FRIEND_TEST_ALL_PREFIXES(RenderWidgetHostViewAuraTest,
343 PopupRetainsCaptureAfterMouseRelease); 340 PopupRetainsCaptureAfterMouseRelease);
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
585 std::unique_ptr<RenderWidgetHostViewEventHandler> event_handler_; 582 std::unique_ptr<RenderWidgetHostViewEventHandler> event_handler_;
586 583
587 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; 584 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_;
588 585
589 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); 586 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura);
590 }; 587 };
591 588
592 } // namespace content 589 } // namespace content
593 590
594 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 591 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
OLDNEW
« no previous file with comments | « no previous file | 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