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

Side by Side Diff: content/public/browser/render_view_host_delegate.h

Issue 9203001: Implement input type=color UI (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: added content::ColorChooser Created 8 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
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_PUBLIC_BROWSER_RENDER_VIEW_HOST_DELEGATE_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_DELEGATE_H_
6 #define CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_DELEGATE_H_ 6 #define CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_DELEGATE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 356 matching lines...) Expand 10 before | Expand all | Expand 10 after
367 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) {} 367 virtual void HandleKeyboardEvent(const NativeWebKeyboardEvent& event) {}
368 368
369 // Notifications about mouse events in this view. This is useful for 369 // Notifications about mouse events in this view. This is useful for
370 // implementing global 'on hover' features external to the view. 370 // implementing global 'on hover' features external to the view.
371 virtual void HandleMouseMove() {} 371 virtual void HandleMouseMove() {}
372 virtual void HandleMouseDown() {} 372 virtual void HandleMouseDown() {}
373 virtual void HandleMouseLeave() {} 373 virtual void HandleMouseLeave() {}
374 virtual void HandleMouseUp() {} 374 virtual void HandleMouseUp() {}
375 virtual void HandleMouseActivate() {} 375 virtual void HandleMouseActivate() {}
376 376
377 // Called when color chooser has ended.
378 virtual void DidEndColorChooser() {}
379
377 // Called when a file selection is to be done. 380 // Called when a file selection is to be done.
378 virtual void RunFileChooser( 381 virtual void RunFileChooser(
379 RenderViewHost* render_view_host, 382 RenderViewHost* render_view_host,
380 const content::FileChooserParams& params) {} 383 const content::FileChooserParams& params) {}
381 384
382 // Notification that the page wants to go into or out of fullscreen mode. 385 // Notification that the page wants to go into or out of fullscreen mode.
383 virtual void ToggleFullscreenMode(bool enter_fullscreen) {} 386 virtual void ToggleFullscreenMode(bool enter_fullscreen) {}
384 virtual bool IsFullscreenForCurrentTab() const; 387 virtual bool IsFullscreenForCurrentTab() const;
385 388
386 // The contents' preferred size changed. 389 // The contents' preferred size changed.
(...skipping 12 matching lines...) Expand all
399 // Notification that the view has lost the mouse lock. 402 // Notification that the view has lost the mouse lock.
400 virtual void LostMouseLock() {} 403 virtual void LostMouseLock() {}
401 404
402 protected: 405 protected:
403 virtual ~RenderViewHostDelegate() {} 406 virtual ~RenderViewHostDelegate() {}
404 }; 407 };
405 408
406 } // namespace content 409 } // namespace content
407 410
408 #endif // CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_DELEGATE_H_ 411 #endif // CONTENT_PUBLIC_BROWSER_RENDER_VIEW_HOST_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698