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

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

Issue 1844053002: Add detached mode plumbing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: And target Created 4 years, 8 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_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after
358 358
359 // Called by the WebContentsImpl when a user tries to navigate a new page on 359 // Called by the WebContentsImpl when a user tries to navigate a new page on
360 // main frame. 360 // main frame.
361 virtual void OnDidNavigateMainFrameToNewPage(); 361 virtual void OnDidNavigateMainFrameToNewPage();
362 362
363 // Instructs the view to not drop the surface even when the view is hidden. 363 // Instructs the view to not drop the surface even when the view is hidden.
364 virtual void LockCompositingSurface() = 0; 364 virtual void LockCompositingSurface() = 0;
365 virtual void UnlockCompositingSurface() = 0; 365 virtual void UnlockCompositingSurface() = 0;
366 366
367 #if defined(OS_MACOSX) 367 #if defined(OS_MACOSX)
368 gfx::NativeWindow CreateDetachedModeWindow() override;
369
368 // Does any event handling necessary for plugin IME; should be called after 370 // Does any event handling necessary for plugin IME; should be called after
369 // the plugin has already had a chance to process the event. If plugin IME is 371 // the plugin has already had a chance to process the event. If plugin IME is
370 // not enabled, this is a no-op, so it is always safe to call. 372 // not enabled, this is a no-op, so it is always safe to call.
371 // Returns true if the event was handled by IME. 373 // Returns true if the event was handled by IME.
372 virtual bool PostProcessEventForPluginIme( 374 virtual bool PostProcessEventForPluginIme(
373 const NativeWebKeyboardEvent& event) = 0; 375 const NativeWebKeyboardEvent& event) = 0;
374 #endif 376 #endif
375 377
376 // Updates the range of the marked text in an IME composition. 378 // Updates the range of the marked text in an IME composition.
377 virtual void ImeCompositionRangeChanged( 379 virtual void ImeCompositionRangeChanged(
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
444 base::ObserverList<RenderWidgetHostViewBaseObserver> observers_; 446 base::ObserverList<RenderWidgetHostViewBaseObserver> observers_;
445 447
446 base::WeakPtrFactory<RenderWidgetHostViewBase> weak_factory_; 448 base::WeakPtrFactory<RenderWidgetHostViewBase> weak_factory_;
447 449
448 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase); 450 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewBase);
449 }; 451 };
450 452
451 } // namespace content 453 } // namespace content
452 454
453 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_ 455 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_BASE_H_
OLDNEW
« no previous file with comments | « content/browser/gpu/gpu_process_host_ui_shim.cc ('k') | content/browser/renderer_host/render_widget_host_view_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698