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

Side by Side Diff: content/renderer/render_view_impl.h

Issue 2177333002: Move setWindowRect and windowRect calls from WebViewClient to WebWidgetClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: switch to refs Created 4 years, 4 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/renderer/render_view_impl.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_RENDERER_RENDER_VIEW_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 const blink::WebFloatSize& accumulatedOverscroll, 305 const blink::WebFloatSize& accumulatedOverscroll,
306 const blink::WebFloatPoint& positionInViewport, 306 const blink::WebFloatPoint& positionInViewport,
307 const blink::WebFloatSize& velocityInViewport) override; 307 const blink::WebFloatSize& velocityInViewport) override;
308 void didUpdateTextOfFocusedElementByNonUserInput() override; 308 void didUpdateTextOfFocusedElementByNonUserInput() override;
309 void hasTouchEventHandlers(bool has_handlers) override; 309 void hasTouchEventHandlers(bool has_handlers) override;
310 void resetInputMethod() override; 310 void resetInputMethod() override;
311 blink::WebScreenInfo screenInfo() override; 311 blink::WebScreenInfo screenInfo() override;
312 void setToolTipText(const blink::WebString&, 312 void setToolTipText(const blink::WebString&,
313 blink::WebTextDirection hint) override; 313 blink::WebTextDirection hint) override;
314 void setTouchAction(blink::WebTouchAction touchAction) override; 314 void setTouchAction(blink::WebTouchAction touchAction) override;
315 void setWindowRect(const blink::WebRect& rect) override;
316 void showImeIfNeeded() override; 315 void showImeIfNeeded() override;
317 void showUnhandledTapUIIfNeeded(const blink::WebPoint& tappedPosition, 316 void showUnhandledTapUIIfNeeded(const blink::WebPoint& tappedPosition,
318 const blink::WebNode& tappedNode, 317 const blink::WebNode& tappedNode,
319 bool pageChanged) override; 318 bool pageChanged) override;
320 blink::WebRect windowRect() override;
321 blink::WebRect windowResizerRect() override; 319 blink::WebRect windowResizerRect() override;
322 blink::WebWidgetClient* widgetClient() override; 320 blink::WebWidgetClient* widgetClient() override;
323 321
324 // blink::WebViewClient implementation -------------------------------------- 322 // blink::WebViewClient implementation --------------------------------------
325 323
326 blink::WebView* createView(blink::WebLocalFrame* creator, 324 blink::WebView* createView(blink::WebLocalFrame* creator,
327 const blink::WebURLRequest& request, 325 const blink::WebURLRequest& request,
328 const blink::WebWindowFeatures& features, 326 const blink::WebWindowFeatures& features,
329 const blink::WebString& frame_name, 327 const blink::WebString& frame_name,
330 blink::WebNavigationPolicy policy, 328 blink::WebNavigationPolicy policy,
(...skipping 591 matching lines...) Expand 10 before | Expand all | Expand 10 after
922 // use the Observer interface to filter IPC messages and receive frame change 920 // use the Observer interface to filter IPC messages and receive frame change
923 // notifications. 921 // notifications.
924 // --------------------------------------------------------------------------- 922 // ---------------------------------------------------------------------------
925 923
926 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 924 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
927 }; 925 };
928 926
929 } // namespace content 927 } // namespace content
930 928
931 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 929 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698